- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Making a static route permanent
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-30-2005 04:40 AM
09-30-2005 04:40 AM
I uccessfully created a static route for an interface card on a server using :
# route add -host 10.141.90.7 10.221.54.5 0
but it disappeared at some point... maybe after a reboot.
Is there a startup file where this information can be entered so it is there permanently ?
Many thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 04:45 AM
09-30-2005 04:45 AM
Re: Making a static route permanent
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 04:46 AM
09-30-2005 04:46 AM
Re: Making a static route permanent
Following the same syntax/config setup as the config for the LAN with subscript [0] but increment the subscript.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 04:47 AM
09-30-2005 04:47 AM
Re: Making a static route permanent
There will almost certainly be a section that looks something like this for the default route.
ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=10.1.0.1
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""
duplicate these lines and create
ROUTE_DESTINATION[N],ROUTE_MASK[N],...ROUTE_ARGS[N] entries where N is the next available value.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 04:49 AM
09-30-2005 04:49 AM
SolutionAfter adding the route at the command line, edit the /etc/rc.config.d/netconf file to make them permanent. vi /etc/rc.config.d/netconf and modify the following variables:
ROUTE_DESTINATION
ROUTE_MASK
ROUTE_GATEWAY
ROUTE_COUNT
ROUTE_ARGS
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 06:37 AM
09-30-2005 06:37 AM
Re: Making a static route permanent
Check /etc/rc.config.d/netconf for the permanenet route entries..like this
ROUTE_DESTINATION[1]="net 109.15.228.64"
ROUTE_MASK[1]=255.255.255.192
ROUTE_GATEWAY[1]=229.31.39.3
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2005 08:51 PM
10-02-2005 08:51 PM