04-29-2025 09:43 AM
Hello
Please refer below diagram
We are using the default-information originate on cedges
but when DIA 1 is unreachable or i apply an acl with deny all on the isp interface still it advertises the default route in ospf
Is there a way to use an ip sla and deny the advertisement
04-29-2025 10:30 AM
Are you using the always option, and if not, is a default route still in the route table?
04-29-2025 10:36 AM
Hello,
You could use IP SLA with a static route on both cEdges. So, when your connection is gone, the IP SLA removes the static default route from the cEdge and wont be advertised by OSPF.
-David
04-29-2025 11:05 AM - edited 04-29-2025 11:08 AM
On core switch
I am not using always in ospf
when DIA one is offline the default route is still in the routing tabke
04-29-2025 01:05 PM
I think what is happening is that edge 01 still has a default route in its routing table from edge 02 (while DIA 1 is offline), because it has that default route, it will continue to advertise its own default route.
04-29-2025 12:00 PM
Interface Gi0/0/0------ISP Interface
nfeesmadpr02#sh ip access-lists
Standard IP access list DIA_TEST
10 deny any (31042 matches)
Access list applied on ISP to deny everything
IP SLA statistics
nfeesmadpr02#sh ip sla statistics
IPSLAs Latest Operation Statistics
IPSLA operation id: 1
Latest RTT: NoConnection/Busy/Timeout
Latest operation start time: 18:53:03 UTC Tue Apr 29 2025
Latest operation return code: Timeout
Number of successes: 158
Number of failures: 152
Operation time to live: Forever
Ip routes Track
nfeesmadpr02#sh ip route track-table
ip route 0.0.0.0 0.0.0.0 212.221.28.113 track 1 state is [down]
ip route vrf 10 0.0.0.0 0.0.0.0 Tunnel1 track 1 state is [down]
ip route vrf 10 0.0.0.0 0.0.0.0 Tunnel2 track 1 state is [down]
But in the routing table i still see routes present
Gateway of last resort is 212.221.28.113 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 212.221.28.113
S* 0.0.0.0/0 is directly connected, Tunnel2
is directly connected, Tunnel1
How we can delete the default routes, any script required
04-29-2025 01:23 PM
If you only tell us the symptoms without providing your config, then all we can do is nothing but guesswork.
04-29-2025 08:00 PM
I absolutely agree with Jens that if you give us only very general description of the issue and no details of the configuration then it is difficult for us to give good advice. I am especially interested in the details of how you implement default-information originate.
Generally speaking default-information originate instructs the device to originate and advertise a default route. And I am not sure how to change that if DIA is not reachable. Do those devices run any routing protocol with their upstream neighbors? If so perhaps you could use that to generate a default to the downstream devices?
Or perhaps you could write some script that would check for loss of connectivity ti DIA and react by changing the configuration to remove default-information originate?
04-29-2025 11:03 PM
There is NAT sure, NAT make cedge redistribute default from VPN0 into VPNx.
You need to change way you config NAT.
This sdwan not normal network.
MHM
05-01-2025 12:46 AM - edited 05-01-2025 12:47 AM
Hello
You need to make the default-originate to be advertised conditional and NOT use the Always keyword.
For a condition to occur you could use ipsla/object tracking based on a dummy route or a current static default however the below example is based on a dummy route applied to both DIA rtrs.
Example:
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