- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: trouble adding route at boot
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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
03-21-2001 03:24 PM
03-21-2001 03:24 PM
Trying to add a route into the routing table at boot time. Have made the requisite entry into the /etc/rc.config.d/netconf file as follows:
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="172.20.66.254"
ROUTE_COUNT[0]=""
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="host 10.1.0.54"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="172.20.65.12"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
When I issue the net stop/net start commands or watch from boot, I get the following:
"Failed to add route entry because its interface is not yet initialized. May need to add this route manually with a route command after the interface is up : add host 10.1.0.54 gateway 172.20.65.12 Network is unreachable"
I am able to add the route manually. Whats the difference?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2001 05:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 01:56 AM
03-22-2001 01:56 AM
Re: trouble adding route at boot
1st one is: try moving your network startup script in /sbin/rc2.d/S340net into rc1.d/ to bring the interface(s) up earlier which might do it.....
or
Add your own S???routes to your init.d using the normal route add procedure.
ie.Create S???routes (linked to init.d)
Create routes (/sbin/init.d)
route add default gw 192.168.1.1 etc.....
I have done both of these in the past (AIX) for Tivoli problems and it worked okay!
Hope this helps!
-ChaZ-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 01:58 AM
03-22-2001 01:58 AM
Re: trouble adding route at boot
-ChaZ-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 03:54 AM
03-22-2001 03:54 AM
Re: trouble adding route at boot
Hope this is no typo ;-)
If everything for the 172.20.65 network is routed throug the defaultgateway it may also be that the routing table isn't jet build. Then you could add the second route in a seperate startscript some time after the net startup.
Regards Stefan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 05:35 AM
03-22-2001 05:35 AM
Re: trouble adding route at boot
This is after the interfaces are enabled.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2001 12:23 PM
03-22-2001 12:23 PM
Re: trouble adding route at boot
INTERFACE_STATE[1]=up
...jcd...