- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- an easy routing question
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
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
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
тАО08-31-2001 06:15 AM
тАО08-31-2001 06:15 AM
172.17.0.0
172.18.0.0
172.19.0.0
172.20.0.0
The default gateway is all set up, 172.16.0.1.
The question is, how do I automatically set these routes at reboot? I manually add them each time the server is rebooted.
I know it's an easy one, but any answers will be greatly appreciated/rewarded
thanx
ron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:24 AM
тАО08-31-2001 06:24 AM
Re: an easy routing question
But you can by adding route statements to /etc/rc.config.d/netconf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:26 AM
тАО08-31-2001 06:26 AM
Re: an easy routing question
edit the fie /etc/rc.config.d/netconf such as:
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="172.16.0.1"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:27 AM
тАО08-31-2001 06:27 AM
Re: an easy routing question
The problem started when our T1 went down earlier this week, and when it came back up, only some of our users across the WAN could access the app. We added the static routes to aleviate this. So far, it seems to have worked.
Thanx again
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:30 AM
тАО08-31-2001 06:30 AM
Re: an easy routing question
Have you tried Sam--> Networking and Communication --> Hosts --> Local Hosts File . This will open you /etc/hosts. Select Tab, select Action from the Menu bar, Selcet Configure Default Gateway. Give the ip of the gateway, and exit from sam.
Next reboor onwards, it should work. If you do this you won't have to manually add entries or modify them in /etc/rc.config.d/netconf, else you can do them as advised by jonh.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:30 AM
тАО08-31-2001 06:30 AM
Re: an easy routing question
Thanx again
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:33 AM
тАО08-31-2001 06:33 AM
Re: an easy routing question
ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:38 AM
тАО08-31-2001 06:38 AM
Re: an easy routing question
You have to put that in /etc/rc file in UX 10.20, if i remember correctly.
if you vi and read that file, you'll find the location where you should put net add statement.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:42 AM
тАО08-31-2001 06:42 AM
Solutionroute add net 172.17.0.0 netmask 255.255.0.0 172.16.0.1 has to be added in netconf as:
ROUTE_DESTINATION[#]="net 172.17.0.0"
ROUTE_MASK[#]="255.255.0.0"
ROUTE_GATEWAY[#]="172.16.0.1"
ROUTE_COUNT[#]="1"
ROUTE_ARGS[#]=""
Replace the # with an uniq number.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:45 AM
тАО08-31-2001 06:45 AM
Re: an easy routing question
Are you trying to add a default route plus routes to other networks,
you could do something like this in your /etc/rc.config.d/netconf
ROUTE_DESTINATION[0]="default"
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]="172.16.0.254"
ROUTE_COUNT[0]="1"
ROUTE_ARGS[0]=""
ROUTE_DESTINATION[1]="net 172.17.0"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]="172.16.0.1"
ROUTE_COUNT[1]="1"
ROUTE_ARGS[1]=""
If you want to use the same gateway for all the networks then you only need the entry for default pointing to your default gateway. but if you want to add additional routes then you can add as many routes as you want in your netconf file.
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2001 06:50 AM
тАО08-31-2001 06:50 AM
Re: an easy routing question
ron