ifconfig命令

[root@localhost ~]# ifconfig eth0 192.168.120.56 
[root@localhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0 
[root@localhost ~]# ifconfig eth0 192.168.120.56 netmask 255.255.255.0 broadcast 192.168.120.255

 

http://www.cnblogs.com/peida/archive/2013/02/27/2934525.html

posted @ 2013-02-27 09:36  Timecode-Shi  阅读(177)  评论(0编辑  收藏  举报