AIX 网卡添加别名IP,IP别名问题

ifconfig en0 1.1.1.1 netmask 255.255.255.0 alias   

这样给网卡添加别名IP后,如何让设置永久生效, 或者如何添加永久别名IP

参与11

3 同行回答

flm20080704 flm20080704 系统工程师 XXXX
smitty ->   Communications Applications and Services ->  TCP/IP ->   Further Configuration->   Network Interfaces ->  Network Interface Selection ->  Configure Aliases 或者楼上的chdev -l en*...显示全部

smitty ->   Communications Applications and Services ->  TCP/IP ->   Further Configuration->   Network Interfaces ->  Network Interface Selection ->  Configure Aliases

或者楼上的chdev -l en* -a alias4=ipaddress,netmask。都可以满足需求。

不建议添加/etc/inittab文件来完成。

收起
IT其它 · 2016-07-26
浏览2966

提问者

canierye
canierye 0 1 5
系统运维工程师 beijinggongsi
擅长领域: 存储服务器数据安全
评论131

问题状态

  • 发布时间:2016-07-22
  • 关注会员:2 人
  • 问题浏览:5451
  • 最近回答:2016-07-26
  • X社区推广