菜鸟有很多,偶是最大的那个

Phoenix

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

Linux:
ifconfig interface:n ip up|down
n从0开始
ex:
ifconfig eth0:0 192.168.1.10 up
ifconfig eth0:0 192.168.1.10 down

freeBSD:
ifconfig interface:n ip alias|-alias
n从1开始
ex:
ifconfig fxp0:1 192.168.1.10 alias
ifconfig fxp0:1 192.168.1.10 -alias

SunOS:
ifconfig interface:n plumb|unplumb
ifconfig interface:n ip
n从1开始
ex:
ifconfig hme0:1 plumb
ifconfig hme0:1 192.168.1.10
ifconfig hme0:1 unplumb

posted on 2004-09-18 22:17  不死鸟  阅读(1649)  评论(0编辑  收藏  举报