border1985 发表于 2005-5-7 18:39:09

怪了,这样都不能上网! DNS不通

怪了,这样都不能上网!

今天装上了debian,认了网卡,PING本机IP,和网关都通,唯独DNS不通!上不了网,什么原因啊???,在WINDOWS下正常使用

redflowflag 发表于 2005-5-7 20:26:41

将nds地址填上你网关地址试试.我在slackware 10.1下这样配置后就OK了.

border1985 发表于 2005-5-8 07:30:15

我试了还是不行呀

border1985 发表于 2005-5-8 07:37:59

DNS和路由设置都要设呀
不会路由设置你能说 说吗

谢谢

redflowflag 发表于 2005-5-9 09:17:30

route add default gw
eg.route add default gw 192.168.1.1 eth0

then run: route
# route
Kernel IP routing table
Destination   Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0   *               255.255.255.0   U   0      0      0 eth0
169.254.0.0   *               255.255.0.0   U   0      0      0 eth0
default         192.168.1.1   0.0.0.0         UG    0      0      0 eth0

Like this ^-^
页: [1]
查看完整版本: 怪了,这样都不能上网! DNS不通