Combination of NAT and BGP

Consider the following figure:
In this setup, how when the GW3 learns route from GW1 and GW2 and does translation via NAT, what is the impact on the updates to next hop routers (GW4 and GW5) ?
Please provide some sample configurations also.

Hi Abhishek,

What neighbor adjacencies do you want to use between your routers? BGP between GW1-GW3, GW2-GW3, GW3-GW4, and GW3-GW5?


Hi Rene
The BGP is used between GW1-GW3, GW2-GW3, GW3-GW4, and GW3-GW5. The requirement is, GW3 is a CGNAT box. Please suggest your opinion on this query.

Hello Abhishek

Hi Laz
I was looking for the CGN (Carrier Grade NAT) configuration for BGP based router, but was unable to locate it. Idea is, we have a CGN box that is connected with different VRFs [In this figure A, B, D and E are routers in their respective AS. They are connected with CGN via the VRFs] .
Now, how the configuration should be to make the CGN work ?


Thanks and regards

We currently don’t have an example of such a configuration on the site, however, you can find some useful information at the following Cisco links:

I hope this has been helpful!


Thanks Laz for the help