Tun1: flags=209 & lt; UP, POINTOPOINT, RUNNING, NOARP> Mtu 1480
Inet 10.10.30.10 netmask 255.255.255.255 destination 121.46.234.115
Inet6 fe80: : 200:5 efe: 79 c9:606 f prefixlen 64 scopeid 0 x20 & lt; Link>
Tunnel txqueuelen 1000 (IPIP tunnel)
RX 35664 packets of 149 bytes (35.6 KB)
RX errors 0 dropped overruns frame 0 0 0
TX 188548 packets of 1358 bytes (188.5 KB)
TX errors dropped 28 overruns carrier collisions 0 0 0 0
Server 2 tunnel IP
Tun1: flags=209 & lt; UP, POINTOPOINT, RUNNING, NOARP> Mtu 1480
Inet 10.10.30.9 netmask 255.255.255.255 destination 121.201.96.111
Inet6 fe80: : 200:5 efe: 792 e: ea73 prefixlen 64 scopeid 0 x20 & lt; Link>
Tunnel txqueuelen 1000 (IPIP tunnel)
RX 188548 packets of 1358 bytes (188.5 KB)
RX errors 0 dropped overruns frame 0 0 0
TX 35664 packets of 149 bytes (35.6 KB)
TX errors dropped 28 overruns carrier collisions 0 0 0 0
Can ping each other
Root @ ubuntu: ~ # ping 10.10.30.9
PING 10.10.30.9 (10.10.30.9) 56 (84) bytes of data.
64 bytes from 10.10.30.9: icmp_seq=1 TTL=64 time=33.1 ms
64 bytes from 10.10.30.9: icmp_seq=2 TTL=64 time=33.1 ms
64 bytes from 10.10.30.9: icmp_seq=3 TTL=64 time=33.0 ms
64 bytes from 10.10.30.9: icmp_seq=4 TTL=64 time=33.0 ms
64 bytes from 10.10.30.9: icmp_seq=5 TTL=64 time=33.1 ms
64 bytes from 10.10.30.9: icmp_seq=6 TTL=64 time=33.0 ms
Server on and routing problem
Root @ ubuntu: ~ #/sbin/route add -.net 193.57.218.0/24 gw 10.10.30.9
Root @ ubuntu: ~ #
Server 2 add routing error
/sbin/route add -.net 193.57.218.0/24 gw 10.10.30.10
SIOCADDRT: Network is unreachable
Which master to solve it,,,,,,,,,
CodePudding user response:
The same network segment, two different gateway? A split personality?CodePudding user response:
I'm sorry, just didn't see clear, first check the routing condition of itself, remove duplicate segment of routing, reoccupy IP route setupCodePudding user response:
And add the same segment address it doesn't matter, I now is routing, network inaccessible, 10.10.30.9 and 10.10.30.10 now is exchanged,Root @ ubuntu: ~ # tracepath 10.10.30.9
1? : [LOCALHOST] pmtu 1480
1:10.10.30.9 ms reached 33.241
1:10.10.30.9 ms reached 33.470
Resume: pmtu 1480 hops back 1
Why don't add the routing, more strange!!!!!!!!!!