[转载]在AIX中为一块网卡配多个IP地址

ifconfig network_interface second_ip_address netmask your_netmask alias

    在ODM中未记录此定义,所以关机后该定义会丢失,若需要的话,可将该命令加在启动文件(/etc/rc.net)中.


如第二个IP地址是 9.185.43.135 可用

    # ifconfig en0 9.185.43.135 netmask 255.255.255.0 alias


    当该IP地址不再需要时,可从系统中删除.

    #ifconfig en0 9.185.43.135 netmask 255.255.255.0 delete 


    或从/etc/rc.net文件中删除。

猜你喜欢

转载自xmeteor.iteye.com/blog/939073
今日推荐