- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change the lan-name
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
09-13-2002 11:23 AM
09-13-2002 11:23 AM
OS: HP-UX 11.0
I have to change the lan2 in lan1. I think I have to change the ppa-ID. Know someone how I do this?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 11:23 AM
09-13-2002 11:23 AM
Re: Change the lan-name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 11:29 AM
09-13-2002 11:29 AM
Re: Change the lan-name
No, we installed a Hp-UX system with our lab-machines. We want change know the disk by the costumer with the lab disks. And the costumer system don't have the same lan-name as our lab-system.
We realized this to late. ;-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 11:41 AM
09-13-2002 11:41 AM
Re: Change the lan-name
# lanscan
and you should see which "Network-Interface Name" is available. Let say you want to use lan1. What you do is edit /etc/rc.config.d/netconf and at the line that starts with "INTERFACE_NAME.." put lan1 in it, like so..
INTERFACE_NAME[0]=lan1
Reboot your machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 11:42 AM
09-13-2002 11:42 AM
SolutionYou need to change the hardware instance number to do this:
Create a file called /tmp/lanswap with the hardware path, the word "lan", and the *new* instance number:
10/4/4 lan 1
10/12/6 lan 2
Now, do:
# ioinit -f /tmp/lanswap
# reboot
Verify the new names with:
# lanscan
# cd /dev
# insf -e
# lssf /dev/lan* #...verify devices and instances
# modify '/etc/rc.config.d/netconf' appropriately
# reboot #...once more...
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 11:48 AM
09-13-2002 11:48 AM
Re: Change the lan-name
edit the /etc/rc.config.d/netconf file (carefully)
find the entry for your lan2... look something like:
IP_ADDRESS[1]=192.168.33.5
SUBNET_MASK[1]=255.255.255.0
INTERFACE_NAME[1]=lan2
BROADCAST_ADDRESS[1]=192.168.33.255
INTERFACE_STATE[1]=up
change the lan2 to lan1 and reboot... should come back up with a lan1 and not lan2... this is the file read during the boot process that configures the NICs...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 01:09 PM
09-13-2002 01:09 PM
Re: Change the lan-name
we tried your solution with the ioinit, but it failed because we still have somehow the entry for the lan1 somewhere in the system... we've removed the entries in netconf and the device files and rebooted, but we still have this problem... somehow we have to "delete" the entry for lan1 so that we can reconfigure it...
any ideas?
jerome (working with konrad)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 06:03 PM
09-13-2002 06:03 PM
Re: Change the lan-name
live free or die
harry