- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding entries to the routing table
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-07-2000 07:46 AM
09-07-2000 07:46 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 07:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 07:52 AM
09-07-2000 07:52 AM
Re: Adding entries to the routing table
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=ip.of.gate.way
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
there is an example in the /etc/rc.config.d/netconf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 07:54 AM
09-07-2000 07:54 AM
Re: Adding entries to the routing table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 07:54 AM
09-07-2000 07:54 AM
Re: Adding entries to the routing table
you have to edit the file /etc/rc.config.d/netconf
Example:
route add net 191.3.0.0 netmask 255.255.0.0 191.2.4.8 1
ROUTE_DESTINATION[#]="net 191.3.0.0"
ROUTE_MASK[#]="255.255.0.0"
ROUTE_GATEWAY[#]=191.2.4.8
ROUTE_COUNT[#]=1
ROUTE_ARGS[#]=""
You have to choose the right index # within the [] (just increment uniq)
Regards
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 08:36 AM
09-07-2000 08:36 AM
Re: Adding entries to the routing table
You did not really lose your routes. As a test, when the system comes back up, run a netstat -rn. You won't see the route as you have described. Now ping a device and use a gateway which you expected to see the routing table. Now run netstat -rn again and see how the routing tables dynamically learned the route.
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 10:36 AM
09-07-2000 10:36 AM
Re: Adding entries to the routing table
If you check the routing entries with this command netstat -rn, any missing destinations can be added with:
route add X.Y.W.Z(network address) X.Y.W.Z(gateway address)
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2000 11:25 AM
09-07-2000 11:25 AM
Re: Adding entries to the routing table
ROUTE_DESTINATION[I]="ip of destination host"
ROUTE_MASK[I]=""
ROUTE_GATEWAY[I]={ip of gate way}
ROUTE_COUNT[I]=1
ROUTE_ARGS[I]=""
You may add route permenantly.
regards.
Punjabhai V Patel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2000 12:54 AM
09-11-2000 12:54 AM
Re: Adding entries to the routing table
Note - if you use 'sam' to add the IP address, you may not be able to select this entry until you have completed the creation - then use the above to go back into 'Modify' (this is how it works on our 10.20 systems).