Operating System - HP-UX
1834475 Members
3061 Online
110067 Solutions
New Discussion

ifconfig question: virtual interfaces/subinterfaces?

 
SOLVED
Go to solution
Edwin R. Rivera_1
Occasional Advisor

ifconfig question: virtual interfaces/subinterfaces?

hello all,

My company is planning to move to a new subnet over the weekend. I have a few HP-UX boxes that i'm responsible for here.

what i'd like to ask is if there is a way to `ifconfig` some virtual interfaces so that my boxes can be on both LANs at the same time?

i know with linux it's simply:
ifconfig ethx:x xxx.xxx.xxx netmask xxx.xxx.xx.xxx up

however, i have one hp-ux10.20 and two hp-uxv11.0 boxes here and i'm not too familiar with this o/s.

thanks for any help you can offer

regards,

edwin
2 REPLIES 2
Helen French
Honored Contributor
Solution

Re: ifconfig question: virtual interfaces/subinterfaces?

Hi,

Multiple ip_address for a single card is supported in HP-UX also. You can logically assign multiple ip_address for cards using 'logical instances'.

For eg: lan0:0 - where the last 0 stands for logical instance. lan0:0 is same as lan0. The next logical instance will be lan0:1.

But I don't think this function is supported in HP-UX 10.20. It is supported from version 10.30 onwards. You can try and test it.

For more useful information regarding configuration, check this out:

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B3782-90716/B3782-90716_top.html&con=/hpux/onlinedocs/B3782-90716/00/01/135-con.html&toc=/hpux/onlinedocs/B3782-90716/00/01/135-toc.html&searchterms=multiple%7cIP&queryid=20020208-131514

HTH,
Shiju
Life is a promise, fulfill it!
Edwin R. Rivera_1
Occasional Advisor

Re: ifconfig question: virtual interfaces/subinterfaces?

thanks,

that cleared it up 100%.

much appreciated!,

edwin