如何给kernel增加路由??

由 jin.liu 在 05-27-2003 00:21 发表:

如何给kernel增加路由??

我的系统该了MAC后,不知道为什么kernel就不知道我的网关了,请问该怎么办??

route命令显视不了我的网关了啊!!

谢谢!


Sometimes I feel we are the most familiar strangers in the world.

忘记一个人为什么会像爱上一个人那样困难??


由 北南南北 在 05-27-2003 10:23 发表:


[root@linuxsir001 root]# netstat -r

Kernel IP routing table

Destination Gateway Genmask Flags MSS Window irtt Iface

218.61.5.1 * 255.255.255.255 UH 0 0 0 ppp0

192.168.0.0 * 255.255.255.0 U 0 0 0 eth1

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 218.61.5.1 0.0.0.0 UG 0 0 0 ppp0

[root@linuxsir001 root]#

我感觉应该重新设置网卡,有没有看过改网卡MAC的,加载网卡的办法?


===========================

请弟兄们发帖时要写个好标题,多谢!

===========================

每天以1000KM/H的速度在跑,感觉还是时间不够:(

“西学东渐,洋为中用” + 创造 = ?

linux ppc


由 jin.liu 在 05-27-2003 11:46 发表:


北南兄 谢谢了!

说实话,我对如何设置网卡加载网卡不知道改怎么办。

本来吗,我出现这样的问题后我是运行setup然后重新设置IP地址和gateway,

我在/etc/sysconfig/network的文件中也看到了GATEWAY=172.16.13.254

可是route就是找不到它,我同学的电脑现在无法上网了,现在只可以ping 172.16.13.254(网关)倒是可以通!就是上不了外网了!

还是希望大

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus