同一内网不能网段ping 不通

[root@NB sysconfig]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 * 255.255.255.0 U virbr0
link-local * 255.255.0.0 U br0
10.0.0.0 * 255.0.0.0 U br0
default 10.100.2.1 0.0.0.0 UG br0

本机的IP是10.100.2.15 目标机的IP是10.100.0.98

增加一条路由:(这里我做了网桥如果不做网桥的话,可以直接在eth0上面)

sh-4.1# route add -net 10.100.2.0/ br0
sh-4.1# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 * 255.255.255.0 U virbr0
10.100.2.0 * 255.255.255.0 U br0
link-local * 255.255.0.0 U br0
10.0.0.0 * 255.0.0.0 U br0
default 10.100.2.1 0.0.0.0 UG br0

还是不行,但删除下面这条路由后,成功了,但还不知是为什么

[root@NB ~]# route del del -net 10.0.0.0/ br0
[root@NB ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 * 255.255.255.0 U virbr0
10.100.2.0 * 255.255.255.0 U br0
link-local * 255.255.0.0 U br0
default 10.100.2.1 0.0.0.0 UG br0
上一篇:SQL注入漏洞和SQL调优SQL注入漏洞和SQL调优


下一篇:codeforces 427E