HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Configuring LAN intfcs. fails at startup w/ massiv...
Operating System - HP-UX
1834048
Members
2289
Online
110063
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
10-31-2005 05:25 AM
10-31-2005 05:25 AM
Configuring LAN intfcs. fails at startup w/ massive static routes
I have a number of systems (rp3440 and rp4440s running 11.11 some running in serviceguard clusters) in a DMZ environment, and due to the semi-exposed nature of the systems, they do not have default routes as expected. Instead, everything is handled by static routes. Depending on the role of the server, I have anywhere between 20 to 30 static routes on every each of these servers.
Last saturday night, benefiting from the time change, we got approval to reboot all of them to clear out some lingering problems. At the time of reboot, the configuring of LAN interfaces step in the boot sequence has failed on every each of them. And in rc.log file, I have multiples of these error messages:
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
as many as the number of static routes. In short, none of my static routes got initialized.
I had to login from the console and run
/sbin/init.d/net stop
/sbin/init.d/net start
command sequence to restart the networking and after that servers became responsive to network connections.
All of these interfaces are gbit lan interfaces and with the exception of built-in lan0, they all are HP A9784 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter cards and they are all nailed down to 100FD speeds by the hpigelanconf files.
My question is, why don't my static routes get initialized ? Why doesn't the /sbin/init.d/net script is not waiting for interfaces to stabilize before attempting to initialize the routes ? Is this is a known problem ? I do not want to edit the net script to add a random delay somewhere between interface setups and route adds.
Thanks for all the answers in advance.
Last saturday night, benefiting from the time change, we got approval to reboot all of them to clear out some lingering problems. At the time of reboot, the configuring of LAN interfaces step in the boot sequence has failed on every each of them. And in rc.log file, I have multiples of these error messages:
ERROR: Failed to add route entry because its interface is not
yet initialized. May need to add this route entry with
a route commad after the interface is up :
as many as the number of static routes. In short, none of my static routes got initialized.
I had to login from the console and run
/sbin/init.d/net stop
/sbin/init.d/net start
command sequence to restart the networking and after that servers became responsive to network connections.
All of these interfaces are gbit lan interfaces and with the exception of built-in lan0, they all are HP A9784 PCI/PCI-X 1000Base-T FC/GigE Combo Adapter cards and they are all nailed down to 100FD speeds by the hpigelanconf files.
My question is, why don't my static routes get initialized ? Why doesn't the /sbin/init.d/net script is not waiting for interfaces to stabilize before attempting to initialize the routes ? Is this is a known problem ? I do not want to edit the net script to add a random delay somewhere between interface setups and route adds.
Thanks for all the answers in advance.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2005 05:44 AM
10-31-2005 05:44 AM
Re: Configuring LAN intfcs. fails at startup w/ massive static routes
I do not understand why a default route is a security hazard.
That being the case, your routes being added prior to the network card coming up may be due to misconfiguration in /etc/rc.config.d/netconf
Know that I work with a whole bunch of servers, I understand the need for speed.
1) Please post netconf, if need be with changed ip addresses. Someone might spot something.
2) Run a script after network startup, perhaps run level 3 that just uses the route add command to create the static routes. Surely by this time the network is intialized.
3) 1000BaseT cards will not function properly on any lan setting other than autonegotiate. The fact that you are doing someting elsse in hpieglanconf files is probably the cause of the entire issue.
SEP
That being the case, your routes being added prior to the network card coming up may be due to misconfiguration in /etc/rc.config.d/netconf
Know that I work with a whole bunch of servers, I understand the need for speed.
1) Please post netconf, if need be with changed ip addresses. Someone might spot something.
2) Run a script after network startup, perhaps run level 3 that just uses the route add command to create the static routes. Surely by this time the network is intialized.
3) 1000BaseT cards will not function properly on any lan setting other than autonegotiate. The fact that you are doing someting elsse in hpieglanconf files is probably the cause of the entire issue.
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
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
10-31-2005 06:13 AM
10-31-2005 06:13 AM
Re: Configuring LAN intfcs. fails at startup w/ massive static routes
1.
netconf file, as it is extremely long and I do not feel like making a series of sensible ip address changes (many of them are publicly accesible addreses) but in the sense of interface addresses and their default gateways, everything is sane. Interface configurations preceed the route configurations. And there really is nothing unusual about the netconf files other than each of them conatining 20+ routes and no default.
2.
my remedial solution is something like what is at step 2, i.e., running a secondary script. I just did not incorporate it into my startup sequence as I am convinced that, setting up static routes is what the ROUTE statements in netconf file is for. And I am really after not reinventing the wheel but making the netconf file and net script to do what they are supposed to do.
3.
all my rp34xx and 44xx servers have been nailed down to 100FD as we do not have gbit lan infrastructure yet and we found out that if we let them float, they end up in 100HD setting which is not good. But my other servers, which do not have any static routes, only a default route, which are on the intranet only part of the network, are working and booting fine without any problems.
netconf file, as it is extremely long and I do not feel like making a series of sensible ip address changes (many of them are publicly accesible addreses) but in the sense of interface addresses and their default gateways, everything is sane. Interface configurations preceed the route configurations. And there really is nothing unusual about the netconf files other than each of them conatining 20+ routes and no default.
2.
my remedial solution is something like what is at step 2, i.e., running a secondary script. I just did not incorporate it into my startup sequence as I am convinced that, setting up static routes is what the ROUTE statements in netconf file is for. And I am really after not reinventing the wheel but making the netconf file and net script to do what they are supposed to do.
3.
all my rp34xx and 44xx servers have been nailed down to 100FD as we do not have gbit lan infrastructure yet and we found out that if we let them float, they end up in 100HD setting which is not good. But my other servers, which do not have any static routes, only a default route, which are on the intranet only part of the network, are working and booting fine without any problems.
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2006 02:42 AM
09-12-2006 02:42 AM
Re: Configuring LAN intfcs. fails at startup w/ massive static routes
ROUTE_COUNT[0]="0" in /etc/rc.config.d/netconf will do this. The value needs to be 1 or more.
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