01-31-2023 11:49 PM
Hello..
i have simple topology as attached picture. My existing configuration is all default route to the internet 0.0.0.0/0 will be forward to R1 10.0.0.2 and R2 10.20.0.2 by OSPF, so OSPF will decide to which interface the traffic will be forward. Also we have some VLAN with PRB to re-route the traffic to the internet via R3 by set ip next-hop to 10.30.0.2
Now i want to change the configuration to make default route to the internet via R3 10.30.0.2 and re-route the traffic to the internet via R1 or R2. If i set ip next-hop to 10.10.0.2 on the PBR i believe when the internet goes down the traffic will be dropped, and same thing wiull be happened if i set ip next-hop to 10.20.0.2.
So i just want to know how to make set ip next-hop to make redundant if internet on R1 goes down the traffic will be forward to R2, and if internet on R2 goes down the traffic will be forward to R1 automatically?
02-01-2023 12:23 AM
Did you try working with IP SLA and Track Objects? I think that is what you are looking for
02-01-2023 12:39 AM
Now i want to change the configuration to make default route to the internet via R3 10.30.0.2 and re-route the traffic to the internet via R1 or R2. If i set ip next-hop to 10.10.0.2 on the PBR i believe when the internet goes down the traffic will be dropped, and same thing wiull be happened if i set ip next-hop to 10.20.0.2.
This not clear for us
Right now you have default route point to R1 and R2 (not sure you have any metric added to that routes) - we would like to see what current config.
Now you looking to remove default route and point to R3 (does this mean you looking to remove R1 and R2 default route ?)
All Router have Internet ISP connection ?
how is your OSPF config right now, post the config wil be helpfull ?
what is C1 in the network ? - what Role it play ?
where is the NAT take Place in your network - i do not beleive this is complete topology of your network.
Once we know this information we can suggest best we can do to achieve your goals :
1. You can also play with OSPF TE (based on the information and confi you have)
2. you can also do IP SLA / PBR / EEM script to clear any NAT other stuff
3. what is the Lan IP address Range you have and looking to do Traffic Engineering and failover ?
02-01-2023 02:33 AM
Yes it not clear for me also
02-01-2023 01:08 AM
Hello,
--> My existing configuration is all default route to the internet 0.0.0.0/0 will be forward to R1 10.0.0.2 and R2 10.20.0.2 by OSPF, so OSPF will decide to which interface the traffic will be forward
It is unlikely that you are exchanging OSPF with your provider, so we need to see what your current routing actually looks like. Are R1, R2, and R3 routers that you control ? Post the full running configs (sh run) of all routers that are in the topology drawing...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide