I've got two hosts in one local network: 192.168.31.10 and 192.168.31.11, their gateway both are 192.168.31.1.
The route table on 192.168.31.10 is as below:
0.0.0.0 0.0.0.0 192.168.31.1 192.168.31.10 192.168.31.0 255.255.255.0 On-Link 192.168.31.10
I can understand the route table.
What I can't understand is that if I delete the second route rule, host 10 can't ping host 11. In my guess, the first route rule should take effect then the router forward IP packets to host 11, but it didn't. Can anyone tell me why?