- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- Prefering an OSPF route over a direct route
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
01-25-2019 04:03 AM
01-25-2019 04:03 AM
Prefering an OSPF route over a direct route
Hello, i'm having some trouble here that seems to me kinda difficult to solve, so hope there is anyone here with an nice idea...
A have a network based on OSPF with a ring topology, so there ir multiple paths to get from anywhere to anywhere, this works very good and just fine. Lately im having some problems with people cutting my fiberoptic cables what eventually gets some buildings out of the network. so there is this specific building that i need to be always on, so i decide to install a "backup link" with a radio, since is a radio the connection is away worst than my 10gbs fiber, and i want the router to use this path only as a last option, when all the fiber ones are gone... the problem is:
Since the radio conection goes between the datacenter and this another building, both switches learn this route as a direct route, witch has preference over the OSPF path tru the other buildings, so whenever i enable this interface both buildings decide to use the radio connection over the OSPF witch is not what i want.
i've set an ospf cost for the interface but this solves the problem only for the other building that learn the route tru OSPF, the 2 buldings directly connected insist in using the direct route.
My question: Is there a way to manually set a specific cost for that direct route so the router will prefer the OSPF?
Is there anyway that i can tell the router to not use that direct route until is the last option availble?
Thanks everyone!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2019 05:41 PM
01-31-2019 05:41 PM
Re: Prefering an OSPF route over a direct route
Hi,
You can change the preference values, refer the default preference values (URL given below has the procedure)
Route preference
Routing protocols, including static and direct routing, each by default have a preference. If they find multiple routes to the same destination, the router selects the route with the highest preference as the optimal route.
The preference of a direct route is always 0 and cannot be changed. You can configure a preference for each static route and each dynamic routing protocol. The following table lists the route types and default preferences. The smaller the value, the higher the preference.
Table : Route types and default route preferences
Route type
Preference
Direct route
0
Multicast static route
1
OSPF
10
IS-IS
15
Unicast static route
60
RIP
100
OSPF ASE
150
OSPF NSSA
150
IBGP
255
EBGP
255
Unknown (route from an untrusted source)
256
I am an HPE Employee