Scene:
192.168. 4.1 Route:SIOCADDRT:Network is unreachable
Explain:
1, Ping the gateway first, but the pass of the ping does not mean that the next hop must be able to do the route.
2. The unreachable indicated here should refer to the broadcast unreachable, not routing unreachable. Because routing the next hop is to give the IP packet the next step how to go, if you tell it a can not be directly broadcast to the address, he will go through the corresponding route to find this address, it is equal to you to find the "next hop" (quoted because it is not really the next jump, Because you are through the corresponding route [this corresponds to the next hop instead of a real next jump] to find it), and then ask him to go to the original purpose of the next hop how to go ... This is obviously unreasonable and difficult to do, because there are two destination address to locate, one is to find the "next hop", a packet to find the destination address, but under normal circumstances, the IP message only one destination address.
Reference:
http://blog.csdn.net/lidonghat/article/details/53520098 (the above content is transferred from this article)
http://blog.csdn.net/panlei361/article/details/48373359
http://blog.csdn.net/u013304231/article/details/53319375
http://blog.csdn.net/trochiluses/article/details/9788247
Http://www.360doc.com/content/12/0430/16/9318309_207703488.shtml
Http://www.codes51.com/itwd/4369946.html
Add static routing table under Linux set Gateway Siocaddrt:network is unreachable problem analysis