- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to reassign lan0, lan1, and lan2?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:20 AM
12-07-2004 08:20 AM
I am trying to configure two (almost) identical HP9000 K380 servers under HP-UX 11.0. On the first (production) server lanscan looks like this:
Path Card In# Net-Interface
10/8/2/0 1 lan1
10/8/1/0 0 lan0
10/12/6 2 lan2
On the lab server it looks like this:
Path Card In# Net-Interface
10/8/2/0 2 lan2
10/8/1/0 1 lan1
10/12/6 0 lan0
The cards are identical and are located in the same locations but have different lan assignments. The NIC at 10/12/6 is the built-in 10-Base-T port. The NIC at 10/8/1/0 and 10/8/2/0 is a 2-port 10/100 card. The problem is that I added the 10/100 card to the lab server after I loaded HP-UX. Does anybody know of a way to reassign the lan numbers so that both machines match? I really don't want to reload the operating system and all the software and patches.
Thanks,
David
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:23 AM
12-07-2004 08:23 AM
Re: How to reassign lan0, lan1, and lan2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:24 AM
12-07-2004 08:24 AM
Re: How to reassign lan0, lan1, and lan2?
It works with disk instance numbers.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&admit=-1335382922+1098717421883+28353475&docId=200000067424466
I admit to a bit that I'm mystified as to how the install decides to hand out these lan numbers.
I've never had these differences cause me real operational issues.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:29 AM
12-07-2004 08:29 AM
Re: How to reassign lan0, lan1, and lan2?
Try these docs,
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000067424466
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063208567
the iotc doc ids are KBAN00000795 & NETUXKBRC00001643.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:41 AM
12-07-2004 08:41 AM
SolutionI. cd /
ioscan -f | grep -e "DEVICE" -e "INTERFACE" | grep -v "target" | awk '{printf("%-20.20s %-12.12s %3d\n",$3,$1,($2 + 0))}' > devlist # all of this is one line
This creates a file listing HW Path, Class, and Instance Numbers for the devices. It's the Instance Numbers that you want to change.
B. Vi devlist and assign instance numbers 0, 1,2 to lan0, lan1, and lan2 respectively. Leave the disk assignments as they are. Save the file.
III. Now blow away the ioconfig file and reboot:
cd /stand
mv ioconfig ioconfig.old
cd /etc
mv ioconfig ioconfig.old
shutdown -r 0
4) The system bootup will stop at ioinitrc message:
/sbin/ioinit -c # this will recreate the missing ioconfig files
/sbin/ioinit -f /devlist -r # this will read in your edited file and reboot. You may see error messages like "Input is identical". Pay no attention.
After the box has rebooted, do a lanscan and make sure your assignments are as you expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 08:54 AM
12-07-2004 08:54 AM
Re: How to reassign lan0, lan1, and lan2?
Here are the Plan A Golden image docs:
Create a Golden Image:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90153/B2355-90153_top.html&con=/hpux/onlinedocs/B2355-90153/00/00/61-con.html&toc=/hpux/onlinedocs/B2355-90153/00/00/61-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20041207-133457
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90849/B2355-90849_top.html&con=/hpux/onlinedocs/B2355-90849/00/00/34-con.html&toc=/hpux/onlinedocs/B2355-90849/00/00/34-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20041207-133457
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90849/B2355-90849_top.html&con=/hpux/onlinedocs/B2355-90849/00/00/11-con.html&toc=/hpux/onlinedocs/B2355-90849/00/00/11-toc.html&searchterms=Golden%7cImage%7cIgnite&queryid=20041207-133457
OT: You have a rare opportunity here. You can make Sanjay an Olympian by assigning his answer 9 or more points.
http://forums1.itrc.hp.com/service/forums/publicProfile.do?userId=CA632734&forumId=1
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 09:02 AM
12-07-2004 09:02 AM
Re: How to reassign lan0, lan1, and lan2?
This place rocks!!!
Regards,
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 09:05 AM
12-07-2004 09:05 AM