关闭(这个命令会把eth0:0直接干掉)

 

 
  1. [root@localhost ~]# ifconfig eth0:0 down 

 

开启

 

 
  1. [root@localhost ~]# ifconfig eth0:0 up