LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1079|回复: 6

为什么我的linux7.3增加了一条默认路由之后显得非常慢

[复制链接]
发表于 2004-4-30 13:35:48 | 显示全部楼层 |阅读模式
原来好好的,不知道为什么,增加了一条默认路由之后登陆就很慢慢了,telnet上了之后等待5分钟之后才会显示叫我logi!!

各位大虾这到底是怎么回事?
发表于 2004-4-30 13:58:55 | 显示全部楼层
netstat -nr
贴出来
 楼主| 发表于 2004-4-30 14:37:23 | 显示全部楼层
[root@linux root]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
[root@linux root]#

这是改前的
 楼主| 发表于 2004-4-30 14:53:00 | 显示全部楼层
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         192.168.0.100   0.0.0.0         UG       40 0          0 eth0
[root@linux root]#

这是增加了一条默认路由之后的路由表
发表于 2004-4-30 17:14:23 | 显示全部楼层
是反向DNS解析得问题,在/etc/resolv.conf 的内容中,正确的设置搜索域 search xxx.com ,并正确的配置DNS。
 楼主| 发表于 2004-4-30 18:19:14 | 显示全部楼层
[root@linux root]# netstat -nr
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         192.168.0.100   0.0.0.0         UG       40 0          0 eth0
[root@linux root]#

我现在把它设置为DHCP自动获得,既然没问题了。
但是路由表好像和有问题的时候一样哦
发表于 2004-5-1 09:02:25 | 显示全部楼层
那我估计是你以前对网卡的设置里大概有点问题,因为你这个路由表没有什么问题呀。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表