服务器 一 隧道iptun1: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480
inet 10.10.30.10 netmask 255.255.255.255 destination 121.46.234.115
inet6 fe80::200:5efe:79c9:606f prefixlen 64 scopeid 0x20<link>
tunnel txqueuelen 1000 (IPIP Tunnel)
RX packets 149 bytes 35664 (35.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1358 bytes 188548 (188.5 KB)
TX errors 28 dropped 0 overruns 0 carrier 0 collisions 0服务器二 隧道ip
tun1: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480
inet 10.10.30.9 netmask 255.255.255.255 destination 121.201.96.111
inet6 fe80::200:5efe:792e:ea73 prefixlen 64 scopeid 0x20<link>
tunnel txqueuelen 1000 (IPIP Tunnel)
RX packets 1358 bytes 188548 (188.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 149 bytes 35664 (35.6 KB)
TX errors 28 dropped 0 overruns 0 carrier 0 collisions 0互相能ping通
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服务器一上加路由没问题root@ubuntu:~# /sbin/route add -net 193.57.218.0/24 gw 10.10.30.9
root@ubuntu:~#
服务器二上加路由报错
/sbin/route add -net 193.57.218.0/24 gw 10.10.30.10
SIOCADDRT: Network is unreachable哪位大侠给解决一下。
inet 10.10.30.10 netmask 255.255.255.255 destination 121.46.234.115
inet6 fe80::200:5efe:79c9:606f prefixlen 64 scopeid 0x20<link>
tunnel txqueuelen 1000 (IPIP Tunnel)
RX packets 149 bytes 35664 (35.6 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1358 bytes 188548 (188.5 KB)
TX errors 28 dropped 0 overruns 0 carrier 0 collisions 0服务器二 隧道ip
tun1: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1480
inet 10.10.30.9 netmask 255.255.255.255 destination 121.201.96.111
inet6 fe80::200:5efe:792e:ea73 prefixlen 64 scopeid 0x20<link>
tunnel txqueuelen 1000 (IPIP Tunnel)
RX packets 1358 bytes 188548 (188.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 149 bytes 35664 (35.6 KB)
TX errors 28 dropped 0 overruns 0 carrier 0 collisions 0互相能ping通
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服务器一上加路由没问题root@ubuntu:~# /sbin/route add -net 193.57.218.0/24 gw 10.10.30.9
root@ubuntu:~#
服务器二上加路由报错
/sbin/route add -net 193.57.218.0/24 gw 10.10.30.10
SIOCADDRT: Network is unreachable哪位大侠给解决一下。
解决方案 »
- Centos7安装bcm43228时make出错
- weblogic启动时报了磁盘空间不足
- linux下find命令查找文件诡异事件
- linux 多线程通讯及同步问题
- 程序什么时候会收到SIGTERM信号?
- arm-linux-gcc4.3.2编译linux4.18.7出错
- VMware桥接模式下设置完静态IP无法ping通网关
- faster-rcnn出错:confidence = np.array([float could not convert stringto loat:
- superset集成echarts
- CentOS 7at的命令无法正确使用
- 求助:Ubuntu16.04双系统的,下载软件仓库信息失败
- 一个iso镜像可以装两个centos系统吗
1?: [LOCALHOST] pmtu 1480
1: 10.10.30.9 33.241ms reached
1: 10.10.30.9 33.470ms reached
Resume: pmtu 1480 hops 1 back 1 为什么添加不了路由,比较奇怪!!!!