I am trying to load balance on two unequal cost paths advertised within the OSPF, I know that the EIGRP can do that but I want to acheive the same result on an OSPF cloud.
The Scenario I have is 2 redundant routers (primary & secondary) with HSRP on LAN, each gets OSPF updates from the peer router in the main site, the primary router gets the route with cost 48 over an E1 link and the same route is advertised from the Secondary router with cost 49, I want to force the cost of the route advertised by secondary router to 48 to be installed in the routing table and acheive load balancing.
You know that OSPF uses the BW command under the interface to calculate the cost, try manipulating the BW command under your interfaces or using the "ip ospf cost" command in order for OSPF to calculate equal cost on both links and accordingly load balances over them.
P.S: I recommend using the "ip ospf cost" rather than the BW, as if you changed the BW, this might affect other Cisco IOS features like QoS.
I did try using the ospf cost command for the secondry interface and it did acheive load balancing over the two paths for ouging traffic, but by doing this on the Secondary interfaces of all the sites it caused an unpredictable routing behaviour over the OSPF cloud, for example, any flow going over the secondary link (due to load balance) and is directed to a destination site other than the hub site it prefers to go along the secondry path all through the network, as the reduction of cost accumulates making the secondry path more preferred, i.e: load balancing was acheived for outgoing traffic only.
This is logical, as you need to manipulated the cost on both sides to control both the incoming and the outgoing traffic, you can never have it done only from one side, manipulating the OSPF cost needs a good visualization of the network and caution when doing the changes in order not to introduce any instability to the OSPF cloud.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.