|
|
发表于 2008-1-15 20:14:30
|
显示全部楼层
路由不正确就显示这个.用route -n 看看路由是不是不对。
添加路由器是:
route add -net 192.168.0.0/24 dev eth0
route add default gw 192.168.0.1 dev eth0
PS:
1.试了很久才发现原来route是这么用的。
在其它系统上用的是:
route add defalut gw 192.168.0.1 dev eth0
是我对route的理解有问题,还是Gentoo太有个性?
2.为什么 /etc/init.d/net.eth0 restart会把别的服务也重启了。 |
|