- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- After a reboot I have to manually do "route add de...
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
01-17-2005 12:27 AM
01-17-2005 12:27 AM
All I have to do to correct is
route add default ipaddress 1
and all is fine.
What do I need to do so this problem can be resolved and all will be ok after a reboot?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:32 AM
01-17-2005 12:32 AM
Solutionexample:
ROUTE_GATEWAY[0]="10.12.20.1"
ROUTE_COUNT[0]="1"
ROUTE_DESTINATION[0]="default"
this is for defauklt gateway 10.12.20.1
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:38 AM
01-17-2005 12:38 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
In /etc/rc.config.d/netconf do you have:
ROUTE_GATEWAY[0]=xx.yy.zz.ww
ROUTE_DESTINATION[0]=default
ROUTE_COUNT[0]=1
? If not set these params or use SAM to change them.
__ Johan.
_JB_
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:44 AM
01-17-2005 12:44 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
after adding ROUTE... section to netconf file
run command:
/sbin/init.d/net start
to add this entry to routing table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 12:49 AM
01-17-2005 12:49 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
#set_parms addtl_netwrk
It basically looks like the networking section when you first create a server.
I would recommend editing the netconf file like suggested above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 01:47 AM
01-17-2005 01:47 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
I have those entries in the netconf file.
This problem happenned after we had to replace the hard drive about a year ago and restore all the data back. After that we have had to do the command by hand after a reboot.
Any other ideas I can try?
Thanks,
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 01:50 AM
01-17-2005 01:50 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
can you attach /etc/rc.log file ?
Maby there are some error during setting routes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 01:57 AM
01-17-2005 01:57 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
set_parms addl_netwrk
How did you restore? Was it by installing HP-UX, then extracting files from say a tar archive?
Maybe your netconf file is corrupt...
You can generate a new one by copying /usr/newconfig/etc/rc.config.d/netconf to /etc/rc.config.d/netconf then run the above command.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 02:22 AM
01-17-2005 02:22 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
All data for this box is on vg00. We loaded from the make_recovery tape. When it first came up the name wasn't there and HP had me generate a new netconf file as you suggested. Then all worked ok except for the piece of having to do the route add by hand.
Any other things to try. Going to look at the rc.log now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 02:26 AM
01-17-2005 02:26 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
one more question when you run command:
/sbin/init.d/net start
is your routing added ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 03:26 AM
01-17-2005 03:26 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 03:31 AM
01-17-2005 03:31 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
the route_count=1 was not there.
I added that.
Think that may have been the issue?
Thanks to everyone
mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2005 03:40 AM
01-17-2005 03:40 AM
Re: After a reboot I have to manually do "route add default xxxx 1", how can I fix this problem
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="192.168.2.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
You need the ROUTE_COUNT
Rgds...Geoff