- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: default route precedence
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
06-24-2005 01:01 AM
06-24-2005 01:01 AM
default route precedence
How does routing precedence take place, is the default route used first, and then statics?
Or are the static routes looked at first, and if they are not found then the default is used?
thanks...Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 01:20 AM
06-24-2005 01:20 AM
Re: default route precedence
As I understand it, it all depends on how you construct the routes.
IF you set up the static routes as 0 hop & indicate the local I/F as the gateway then any traffic destined to that route will go out the specified I/F. All other traffic will go out to the default gateway.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2005 01:26 AM
06-24-2005 01:26 AM
Re: default route precedence
Okay with the 0 hops, unfortunately I have to set up my routes with a hop count of 1. How does this change the use of the route table ?
Jay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2005 09:00 PM
06-26-2005 09:00 PM
Re: default route precedence
Only where there are more routes to the target (like multiple default routes) then all routes will be used in some order. Some routers count hops, some use metrics, check the manual for your route software for details. As far as I read `man route` on hpux, there is not much to define.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2005 05:12 AM
06-27-2005 05:12 AM
Re: default route precedence
1) matching host routes
2) matching (sub)network routes
3) default route
IE the default route is used last. As someone else pointed-out, when there are two otherwise identical routes, the metric will be used to pick. If the metric is the same, then it should assumed to be chance as to which is used first. Never assume that first or last set will be the order when the routes are otherwise identical.
If ip_strong_es_model is set, then source IP address as well as destination IP address is included in the route lookup, and routes with matching source IP's are used first. I do not know however, if a networking route with a matching source IP would "trump" a specific host route without matching source IP. That much has not come-up before :)