xmeteor 发表于 2013-2-7 12:56:37

[转载]在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文件中删除。
页: [1]
查看完整版本: [转载]在AIX中为一块网卡配多个IP地址