- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- static routes: in netconf or in gated.conf?
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-24-2007 12:36 AM
09-24-2007 12:36 AM
My understanding is:
- first there ist /etc/rc.ocnfig.d/netconf
Here you add static routes, configure your lancards etc.
- if you need OSPF: you activate it by setting GATED=1 in /etc/rc.ocnfig.d/netconf (and configure /etc/gated.conf correctly)
Now there are static routes in netconf and in gated.conf - which one wins?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 04:44 AM
09-24-2007 04:44 AM
Re: static routes: in netconf or in gated.conf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 06:05 AM
09-24-2007 06:05 AM
Re: static routes: in netconf or in gated.conf?
James
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 01:30 PM
09-24-2007 01:30 PM
Re: static routes: in netconf or in gated.conf?
look at the assighning prefrence for the routes. Those sounds like netconf is preferred over ospf
direct connected networks interface 0
OSPF routes ospf 10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 09:23 PM
09-24-2007 09:23 PM
Re: static routes: in netconf or in gated.conf?
it is in /etc/rc.config.d/netconf
Example:
ROUTE_DESTINATION [0]
ROUTE_GATEWAY [0]
ROUTE_MASK [0]
ROUTE_ARGS [0]
ROUTE_COUNT [0]
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 09:25 PM
09-24-2007 09:25 PM
SolutionIn the netconf file, two sets of route variables need to be defined.
ROUTE_DESTINATION[0]=default
ROUTE_GATEWAY[0]=15.1.1.1
ROUTE_ARGS[0]=
ROUTE_MASK[0]=
ROUTE_COUNT[0]=1
ROUTE_DESTINATION[1]="net 192.1.1"
ROUTE_GATEWAY[1]=15.1.1.2
ROUTE_ARGS[1]=
ROUTE_MASK[1]=255.255.255.0
ROUTE_COUNT[1]=1
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 09:35 PM
09-24-2007 09:35 PM
Re: static routes: in netconf or in gated.conf?
About the format:
If I have to add a route to a single host: is there a difference between
ROUTE_DESTINATION[1]="net 192.1.1"
...
ROUTE_MASK[1]=255.255.255.255
and
ROUTE_DESTINATION[1]="host 192.1.1"
...
ROUTE_MASK[1]=255.255.255.255
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2007 09:47 PM
09-24-2007 09:47 PM
Re: static routes: in netconf or in gated.conf?
are the quotas needed in every line or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2007 03:21 AM
09-25-2007 03:21 AM
Re: static routes: in netconf or in gated.conf?
Quotes not required for each line.
if you have route
only this entry will require
ROUTE_DESTINATION[1]="net 192.1.1"
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2007 07:33 PM
09-25-2007 07:33 PM
Re: static routes: in netconf or in gated.conf?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2007 07:57 PM
09-25-2007 07:57 PM
Re: static routes: in netconf or in gated.conf?
Not required, you may want to send us the netconf file once you edited the netconf to confirm ;-)
WK