|
|

楼主 |
发表于 2007-2-14 18:07:52
|
显示全部楼层
我刚把机器重启了,一重启就生效!
不过我注意到一个现象:重启前在更改gateway、dns之后,我用route命令看到结果如下:
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
现在重启后看到的结果是:
Destination Gateway Genmask Flags Metric Ref Use Iface
localnet * 255.255.255.0 U 0 0 0 eth0
default 192.168.2.249 0.0.0.0 UG 0 0 0 eth0
看到了网关。是我之前的网关修改没成功吗?我用了/etc/networking restart的。 |
|