Sprite Fox 写道:
> 谢谢您的回复。
>
> /etc/network/interfaces 如下:
>
> auto lo
> iface lo inet loopback
>
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
>         address 192.168.0.177
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
>         gateway 192.168.0.2
> # dns-* options are implemented by the resolvconf package, if installed
>         dns-nameservers 202.106.0.20
>
> 但是route信息我不知道怎么看,……请问用什么命令可以看到?
>   
另外,网络配置错了,我不知道你怎么上的网,不过你给出的配置是IP177,网关
2,而描述是IP2,网关1。
还有,network和broadcast最好不写,让系统自行计算。这样修改的时候方便,不
容易出错。


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

回复