HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LAN card instance number
Operating System - HP-UX
1837879
Members
3776
Online
110122
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
01-06-2000 07:02 PM
01-06-2000 07:02 PM
LAN card instance number
I have a K360 Server with three lan cards
I need to switch the card instance number (as displayed by lanscan) for two of
the cards:
Hardware Station Crd Hardware Net-Interface
10/4/12.1 0x0060B06E9B9D 2 UP lan2
10/4/16 0x080009DC81C7 0 UP lan0
10/12/6 0x0060B0589A85 1 UP lan1
Can anybody give me a hint how to change
lan2 --> lan1
lan1 --> lan2
I need to switch the card instance number (as displayed by lanscan) for two of
the cards:
Hardware Station Crd Hardware Net-Interface
10/4/12.1 0x0060B06E9B9D 2 UP lan2
10/4/16 0x080009DC81C7 0 UP lan0
10/12/6 0x0060B0589A85 1 UP lan1
Can anybody give me a hint how to change
lan2 --> lan1
lan1 --> lan2
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2000 11:55 PM
01-06-2000 11:55 PM
Re: LAN card instance number
RCEN DOC A5622970 seems useful ?
Problem Description
I am running HP-UX 10.20 on a series 827 server.
How do I change the instance numbers for my LAN cards?
Configuration Info
Operating System - HP-UX
Version - 10.20
Hardware System - HP9000
Series - 827
Subsystem - Networking
Solution
Perform the following steps to change your instance numbers:
1. Create the '/usr/sbin/infile' file to contain the following
information:
path type_of_device name_reference
10/12/6 lan 2
10/4/16 lan 0
Note: This information changes the name of lan0 to lan2 and
lan2 to lan0.
2. Execute the following command:
/usr/sbin/ioinit -f /usr/sbin/infile -r
Note: At this point, your system automatically reboots. When
the system boots, it is possible that your LAN card
configuration will fail.
To resolve a LAN card failure:
Modify the '/etc/rc.config.d/netconf' file by changing
the INTERFACE_NAME[x] to reflect the new LAN interface
name. For example:
INTERFACE_NAME[2]=lan0 and INTERFACE_NAME[0]=lan2
If 'ionit' returns an error, continue with Step 3.
3. Rename the '/etc/ioconfig' and '/stand/ioconfig' files:
mv /etc/ioconfig /etc/ioconfig.old
mv /stand/ioconfig /stand/ioconfig.old
Renaming these files allows you to boot into single-user mode
and recover from your original files.
4. Reboot the system.
Your system will come up to 'ioinitrc' and prompt you with the
following message:
/etc/ioconfig is missing.
Restore it from backup or invoke '/sbin/ioinit -c' to re-create
it from the kernel.
Issue a Ctrl-D to continue your boot sequence.
5. Restore or re-create the '/etc/ioconfig' file per the
instructions in Step 4.
Execute the 'ioscan' command to view the contents of the new
'ioconfig' file.
6. Execute the following sequence of commands:
(in ioinitrc)# /sbin/ioinit -c
(in ioinitrc)# ^d
7. Use the 'infile' to make the desired changes:
(in ioinitrc)# /sbin/ioinit -f infile -r
You will receive several messages, all of which you can ignore.
Ensure that you have tested your infile before executing the
'ioinit' command.
If necessary, you can perform the following steps:
- Restore the original ioconfig.old files.
- Reboot your system.
- Re-start this process.
Problem Description
I am running HP-UX 10.20 on a series 827 server.
How do I change the instance numbers for my LAN cards?
Configuration Info
Operating System - HP-UX
Version - 10.20
Hardware System - HP9000
Series - 827
Subsystem - Networking
Solution
Perform the following steps to change your instance numbers:
1. Create the '/usr/sbin/infile' file to contain the following
information:
path type_of_device name_reference
10/12/6 lan 2
10/4/16 lan 0
Note: This information changes the name of lan0 to lan2 and
lan2 to lan0.
2. Execute the following command:
/usr/sbin/ioinit -f /usr/sbin/infile -r
Note: At this point, your system automatically reboots. When
the system boots, it is possible that your LAN card
configuration will fail.
To resolve a LAN card failure:
Modify the '/etc/rc.config.d/netconf' file by changing
the INTERFACE_NAME[x] to reflect the new LAN interface
name. For example:
INTERFACE_NAME[2]=lan0 and INTERFACE_NAME[0]=lan2
If 'ionit' returns an error, continue with Step 3.
3. Rename the '/etc/ioconfig' and '/stand/ioconfig' files:
mv /etc/ioconfig /etc/ioconfig.old
mv /stand/ioconfig /stand/ioconfig.old
Renaming these files allows you to boot into single-user mode
and recover from your original files.
4. Reboot the system.
Your system will come up to 'ioinitrc' and prompt you with the
following message:
/etc/ioconfig is missing.
Restore it from backup or invoke '/sbin/ioinit -c' to re-create
it from the kernel.
Issue a Ctrl-D to continue your boot sequence.
5. Restore or re-create the '/etc/ioconfig' file per the
instructions in Step 4.
Execute the 'ioscan' command to view the contents of the new
'ioconfig' file.
6. Execute the following sequence of commands:
(in ioinitrc)# /sbin/ioinit -c
(in ioinitrc)# ^d
7. Use the 'infile' to make the desired changes:
(in ioinitrc)# /sbin/ioinit -f infile -r
You will receive several messages, all of which you can ignore.
Ensure that you have tested your infile before executing the
'ioinit' command.
If necessary, you can perform the following steps:
- Restore the original ioconfig.old files.
- Reboot your system.
- Re-start this process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2000 12:00 AM
01-07-2000 12:00 AM
Re: LAN card instance number
Use ioinit to reassign instance numbers. Be aware, if the reassignment is
successful you will need to reboot your system to access the cards on their new
instance numbers. I have sometimes found it necessary to do the reassignment
twice, since it will fail if you try to assign an instance that is already in
use.
ioinit -f /tmp/iofile
where /tmp/iofile contains:
10/12/6 lan 3
10/4/12.1 lan 1
then run it again where /tmp/iofile contains:
10/12/6 lan 2
man ioinit has good information and warnings about using this command. I have
generally dropped to single user mode before attempting any reassignment of
disk or I/O instances, but that's just me.
successful you will need to reboot your system to access the cards on their new
instance numbers. I have sometimes found it necessary to do the reassignment
twice, since it will fail if you try to assign an instance that is already in
use.
ioinit -f /tmp/iofile
where /tmp/iofile contains:
10/12/6 lan 3
10/4/12.1 lan 1
then run it again where /tmp/iofile contains:
10/12/6 lan 2
man ioinit has good information and warnings about using this command. I have
generally dropped to single user mode before attempting any reassignment of
disk or I/O instances, but that's just me.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP