- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Static routes when swaping NIC
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
05-15-2008 03:01 AM
05-15-2008 03:01 AM
Static routes when swaping NIC
I am planning to add a Giga bit NIC to my HPUX 11.11 system. The system is currently running with 100Mbps card and 100s of static routes associated with it. My plan is to install new card and driver, then
ifconfig lan0 unplumb
ifconfig
/sbin/init.d/net stop and start from console.
My question is, will all static routes now change to new interface? or do I need to do anything manually to flip over these?
TIA
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 03:32 AM
05-15-2008 03:32 AM
Re: Static routes when swaping NIC
It is a near 100% probability if you replace the NIC card that it will be the same lan as its predecessor, thereby having no need for reconfiguration of your static route.
You plan however is flawed.
The system must be shut down for LAN card replacement. That is not a hot swap part.
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
05-15-2008 03:34 AM
05-15-2008 03:34 AM
Re: Static routes when swaping NIC
Adding a New GB NIC card will create a new lan.
If you intend this to be primary, then your plan will probably work.
I usually have more success after such work with a reboot.
Don't forget to update /etc/rc.config.d/netconf so next reboot you don't have to do your plan again.
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
05-15-2008 04:42 AM
05-15-2008 04:42 AM
Re: Static routes when swaping NIC
Yes, it is my primary lan, but the lan number will be different as the card is plugged in to a new slot. Yes, I will be rebooting the server as I need to install NIC driver and patches for it. I will be changing netconf file. I am not planning to do a second reboot. Rather I will do a /sbin/init.d/net start and stop. I was unsure about the static routes, what hapens to them.
TIA Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 04:44 AM
05-15-2008 04:44 AM
Re: Static routes when swaping NIC
You should modify the /etc/rc.config.d/netconf and put in the new lan device (lan1 in place of lan0).
The /sbin/init.d/net stop does nothing, you only need to do /sbin/init.d/net start (or if you run the ifconfig command, you probably don't need to run the /sbin/init.d/net start command)
The static routes are all IP based so they should not get impacted.
Better to do this during off hours and prepare for reboot in case something goes wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 04:56 AM
05-15-2008 04:56 AM
Re: Static routes when swaping NIC
Thanks
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2008 05:46 AM
05-15-2008 05:46 AM
Re: Static routes when swaping NIC
You will need to re-execute your routing config in order for them to be bound to the new card.
The simplest way is a reboot.
or
remove all manually then /sbin/init.d/net start