ā04-22-2024 09:29 AM - edited ā04-22-2024 09:31 AM
Hi Guys, Can somebody help to identify what might be the problem here? I'm trying to redistribute NAT DIA into BGP but it's not working.
Please see screenshot below.
It only worked as expected after I put network 0.0.0.0 statement on bgp.
Solved! Go to Solution.
ā04-22-2024 12:46 PM - edited ā04-22-2024 12:46 PM
Hi,
BGP does not redistribute 0.0.0.0/0 with simple "redistribute" command (this happens with other routing protocols and static route as well).
You need either network 0.0.0.0 (as you did) or default-information originate under process which sends default route if there is default in routing table.
Note: you may also use standard "neighbor a.b.c.d default-originate" command which sends default in any case without checking routing table
ā04-22-2024 10:02 AM
You meaning you DIA in HQ' and need other branchs to use it to access internet?
MHM
ā04-23-2024 12:43 AM - edited ā04-23-2024 12:47 AM
DIA in local site.
ā04-22-2024 12:46 PM - edited ā04-22-2024 12:46 PM
Hi,
BGP does not redistribute 0.0.0.0/0 with simple "redistribute" command (this happens with other routing protocols and static route as well).
You need either network 0.0.0.0 (as you did) or default-information originate under process which sends default route if there is default in routing table.
Note: you may also use standard "neighbor a.b.c.d default-originate" command which sends default in any case without checking routing table
ā04-23-2024 12:56 AM
@Kanan Huseynli I was under the impression that redistribute "nat" will do the trick but never worked.
Anyway, Thank you so much for taking time to explain.
ā04-23-2024 01:05 AM
if DIA is local why you want to advertise 0.0.0.0?
ā04-23-2024 01:16 AM - edited ā04-23-2024 01:18 AM
In my lab, I have layer 3 switch behind my sdwan routers. My plan is to advertise 2 bgp default routes from 2 sdwan routers to my layer 3 switch for local internet break out and progress from there.
ā04-23-2024 01:32 AM
If that so' try use
Neighbor x.x.x.x defualt-information
This x.x.x.x is your l3 device behind sdwan
This prevents you from unpredictable behave of advertise defualt to all other spokes vpn.
MHM
ā04-23-2024 02:32 AM
Redistributed BGP default route will not be advertised to other spokes via OMP, because for this you need to redistribute nat-dia route to OMP. Redistribution happens through routing table, not protocol table (e.g BGP).
ā04-23-2024 01:07 AM
The default-information originate is not present on the bgp feature template. You can add this command using cli addon feature template. Below is the sample I did.
ā04-23-2024 01:15 AM
Friend I was clear in my first comment, we advertise 0.0.0.0 (DIA) if we have HQ and branches use HQ to access internet, no need to advertise this 0.0.0.0 Unless there is other L3 device behind cedge ?
MHM
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