root@asrs # ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 10.86.0.142 netmask fffffc00 broadcast 10.86.3.255
ether 0:3:ba:4e:6:58
ce1: flags=1000843 mtu 1500 index 3
inet 10.86.0.180 netmask fffffc00 broadcast 10.86.3.255
ether 0:3:ba:4e:6:59
root@asrs # ifconfig ce1 down
root@asrs # ifconfig ce0:1 plumb
root@asrs # ifconfig ce0:1 10.86.0.180 netmask 255.255.252.0 broadcast 10.86.3.255 up
root@asrs # ifconfig -a
lo0: flags=1000849 mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
inet 10.86.0.142 netmask fffffc00 broadcast 10.86.3.255
ether 0:3:ba:4e:6:58
ce0:1: flags=1000843 mtu 1500 index 2
inet 10.86.0.180 netmask fffffc00 broadcast 10.86.3.255
ce1: flags=1000842 mtu 1500 index 3
inet 10.86.0.180 netmask fffffc00 broadcast 10.86.3.255
ether 0:3:ba:4e:6:59
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8203880/viewspace-343086/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8203880/viewspace-343086/