编辑配置:
vi /etc/network/interfaces
auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 gateway 192.168.1.1
网络重启:
/etc/init.d/networking restart
请登录后回答。没有帐号?注册一个。
admin