1844327 Members
5689 Online
110230 Solutions
New Discussion

lan interface naming

 
Anish Nayyar
Advisor

lan interface naming

hi,

In my original system I had a combined card (2 SCSI + 2 LAN)
The interface names were lan2 and lan3 respectively on them.


This card is now replaced with a 4 port lan card.
However, the interface names for these ports are lan4, 5, 6 and 7



Is there a way to get the names back in the right order
ie Lan2, 3, 4 and 5
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: lan interface naming

Shalom,

There is probably nothing that you want to do about this that you can do.

A new clean OS install might yield you a different outcome. These names are assigned in the order of discovery, which might be different on clean OS install and might not. They are as all thinks in Unix treated as files.

Take a look here for a possible procedure, but you also won't like the risk versus the possible outcome.

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1155293

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
TTr
Honored Contributor

Re: lan interface naming

You can fix the lan names but requires a reboot and a text file that lists all the lan devices and their hardware paths. Take a look at the very bottom of this posting
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1014733
rick jones
Honored Contributor

Re: lan interface naming

What I suspect is a pointer to ioconfig or somesuch aside, the interface names _are_ in the right order, if not necessarily the order you want :)

In HP-UX, interfaces get named in order of installation and then buswalk. So, on the initial install, interfaces get named based on bus-walk. If you then add a card, it will have names "after" those in the initial install, added in bus-walk order when you add more than one interface.

It might be argued, that if you put the new four-port card into the same slot as your old combo card somthing "right" would need to be done, but the combo card, having a bridge chip on it, likely had different HW paths that would have precluded that from happening.
there is no rest for the wicked yet the virtuous have no pillows