由 TommyQW 在 10-06-2004 14:02 发表:
再请教局域网设置问题(看了很多但还是不懂)
route iptables都试了还是不行
主机上对外ip 211。80。91。43 网关211。80。91。254
对内 192。168。0。1 掩码255。255。255。0
现在的情况是主机可以上网,内网可以ping到192。168。0。1 211。80。91。43其他的就都ping不到了。
route 查到的信息
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
211.80.91.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 211.80.91.254 0.0.0.0 UG 0 0 0 eth0
service network status查到的信息
Configured devices:
lo eth0 eth1
Currently active devices:
lo eth0 eth1
,
请大家指点,谢谢
由 li-jiahuan0 在 10-06-2004 20:35 发表:
网关的问题
为什么不把网关设成你的外网IP?
面包会有的,女人也会有的
由 TommyQW 在 10-06-2004 21:21 发表:
那个254的网关是出去时的必经之路.不存在设置谁的问题
我想问就这几个地址,