AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

Can I setup 2 ip address on one ethernet card.

  • 1.  Can I setup 2 ip address on one ethernet card.

    Posted Thu November 16, 2006 11:18 AM

    Originally posted by: kahn


    Hi,

    I have question for the network. Is it possible to setup 2 ip address with different subnet for each ip address on one ethernet card?
    #AIX-Forum


  • 2.  Re: Can I setup 2 ip address on one ethernet card.

    Posted Thu November 16, 2006 01:46 PM

    Originally posted by: cd3lgado


    Hi

    Yes, you can use the ifconfig command with the alias option in order to add up to eight ip address to a single interface.

    ifconfig enXX alias <Ip-Address> netmask <Network-Mask>

    ifconfig -a

    then you should see 2 ip address and you should ping to the alias as well as the network alloes it.

    Hope this helps
    #AIX-Forum