看了网上的教程,添加路由,也没搞定,因此后者脸皮来请教各位大佬:
设备1的ip信息与路由信息
eth0 Link encap:Ethernet HWaddr fe:fc:fe:3c:8d:db inet addr:172.16.200.10 Bcast:172.16.203.255 Mask:255.255.252.0 inet6 addr: fe80::fcfc:feff:fe3c:8ddb/64 Scope:Link Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface172.16.200.0 * 255.255.252.0 U 0 0 0 eth0 loopback localhost 255.0.0.0 UG 0 0 0 lo
设备2的ip信息和路由信息
eth0 Link encap:Ethernet HWaddr FE:FC:FE:97:0C:DC inet addr:200.200.123.7 Bcast:200.200.123.255 Mask:255.255.252.0Destination Gateway Genmask Flags Metric Ref Use Iface200.200.120.0 * 255.255.252.0 U 0 0 0 eth0169.254.0.0 * 255.255.0.0 U 0 0 0 eth0default 200.200.123.254 0.0.0.0 UG 0 0 0 eth0
比如我想让双方能够ping通,应该如何操作?