|
|
发表于 2005-6-25 09:28:04
|
显示全部楼层
Post by ckhitler
我是看了这篇贴子配的。
http://www.linuxsir.cn/bbs/showt ... t=%B9%B2%CF%ED+adsl
我的系统是FC3
我的主机有两块网卡。
eth0外网 192.168.0.1
eth1内网 192.168.0.2
笔记本接内网上。192.168.0.55,网关192.168.0.1
用adsl拔号上网,结果连网关都不通,关闭eth0后,内网通了。注:但我还要改笔记本的网关为192.168.0.2才能PING通。
我怀疑是路由有问题。
[root@ckhitler ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.8.24.254 * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.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
default 218.8.24.254 0.0.0.0 UG 0 0 0 ppp0
大家谁这解决办法,提供一下思路好不?
eth0外网 192.168.0.1
eth1内网 192.168.0.2
网关192.168.0.1 错拉
网关应该是:192.168.0.2
用adsl拔号上网,结果连网关都不通,关闭eth0后,内网通了。注:但我还要改笔记本的网关为192.168.0.2才能PING通。
这样你的一定不能通拉 |
|