|
|

楼主 |
发表于 2004-11-26 17:44:46
|
显示全部楼层
最初由 6692975 发表
运行host/nslookup/dig www.163.com 如果可以得到www.163.com的IP的话,说明DNS运作正常
ifconfig
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 看看这里是不是UP
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.70.54.0 * 255.255.255.0 U 0 0 0 eth0
default 10.70.54.254 0.0.0.0 UG 0 0 0 eth0
看看你的default 那行对不对,如果没有的话,那就必须添加网关
route add default gw 10.70.54.254 改成你的网关
ifconfig
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 是UP
然后route add default gw 10.0.0.1后还是不能上网
然后route add default gw 10.0.0.1 netmask 255.255.255.0也不行
哭了~~~ |
|