转载链接:http://bbs.myir-tech.com/forum.php?mod=viewthread&tid=23&highlight=%BE%B2%CC%AC
vi
/etc/network/interfaces
iface eth0 inet static
address 192.168.1.100
netmask 255.255.255.0
network 192.168.1.0
gateway 192.168.1.1
重启网络
/etc/init
.d
/networking
restart