Add static routing table under Linux set Gateway Siocaddrt:network is unreachable problem analysis

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.