How to assign an additional IP to an Ethernet adapter in AIX


Pretty simple stuff, sort of like in Linux where you can run ‘ifconfig eth0:1 x.x.x.x’ and so on. In AIX, you can assign multiple IPs to an interface by using the following command syntax:

mktcpip -h $hostname -a $virtual_ip -m 255.255.255.0 -i $interface

where
$hostname = Your system hostanme, example: testhost
$virtual_ip = IP to assign to interface, example: 10.10.10.3
$interface = Interface you wish to assign the IP to, example: ent0

Leave a Reply

You must be logged in to post a comment.