Linux gateway does not work-Linux general technology-Linux technology and application information. The following is a detailed description. [I = s] This post was last edited by liachun at, January 12 ,.
A linux machine and dual NIC are installed with IP addresses:
The route table is as follows:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.2.2.0 10.233.40.9 255.255.255.255.240 UG 0 0 eth0
10.233.40.0 0.0.0.0 255.255.255.255.240 U 0 0 eth0
10.233.36.192 0.0.0.0 255.255.255.192 U 0 0 eth1
10.2.2.0 10.233.40.9 255.255.255.0 UG 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 10.233.40.9 0.0.0.0 UG 0 0 0 eth0
When tracert is Enabled:
[Root @ db1 network-scripts] # tracert 10.2.2.3
Traceroute to 10.2.2.3 (10.2.2.3), 30 hops max, 40 byte packets
1 ***
2 ***
3 ***
4 ***
5 ***
6 *
[Root @ db1 network-scripts] #
However, ping 10.233.40.9 can be pinged. Why not skip the hop!
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