linux ip绑定

上一篇 / 下一篇  2010-06-28 16:01:57 / 个人分类:linux命令

绑定ip

ifconfig eth1:1 152.1.2.152 netmask 255.255.255.0 up

ifconfig eth2:1 133.1.2.152 netmask 255.255.255.0 up

 

 

解绑定ip

ifconfig eth1:1 152.1.2.152 netmask 255.255.255.0 down

ifconfig eth2:1 133.1.2.152 netmask 255.255.255.0 down


TAG:

 

评分:0

我来说两句

Open Toolbar