cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
669
Views
0
Helpful
6
Replies

Nexus 3548 BGP NAT Configuration Issues

Having issues try to NAT over a BGP configuration

BGP is up. Here is my config

ip nat inside source static 192.168.78.17 10.16.2.97
ip nat inside source static 192.168.78.29 10.16.2.98
ip nat inside source static 192.168.78.54 10.16.2.99
ip nat inside source static 192.168.78.59 10.16.2.100

interface Ethernet1/3
no switchport
no ip redirects
ip address 10.16.5.24/31
ip nat inside

interface Ethernet1/4
no switchport
ip address 10.16.5.26/31
ip nat inside

router bgp 65231
router-id 1.1.1.1
timers bgp 3 9
log-neighbor-changes
address-family ipv4 unicast
network 10.16.2.96/27
neighbor 10.16.5.25 remote-as 12340
remote-as 12340
description primary
address-family ipv4 unicast
neighbor 10.16.5.27 remote-as 12340
remote-as 12340
description  secondary
address-family ipv4 unicast

SW1(config)# show ip nat trans
Pro Inside global Inside local Outside local Outside global

--- --- --- 192.168.10.17 10.16.2.97
--- --- --- 192.168.10.29 10.16.2.98
--- --- --- 192.168.10.54 10.16.2.99
--- --- --- 192.168.10.59 10.16..100
--- 10.16.2.97 192.168.10.17 --- ---
--- 10.16.2.98 192.168.10.29 --- ---
--- 10.16.2.99 192.168.10.54 --- ---
--- 10.16.2.100 192.168.10.59 --- ---

 

Translation is there, but traffic is not flowing in or out over the translation

6 Replies 6

I see only ip nat inside 

Where ip nat outside?

No outside, but I can do E1/4 to be outside.  I did that before and it did not work either

10.16.2.97 <<- this IP is point to which interface ???

10.16.2.97 I have a NULL0 statement on my route (ip route 10.16.2.96/27 NULL0)

No takers?

I try to have time to run lab but I could not understand the topology nor the config you use, 
the issue 
you config static route to null0 and I understand you use this to force BGP advertise the prefix 
but NAT with this way I could not get!!!
you can instead use LO with IP you use in static route (no need more static route) and then config LO with NAT outside 
here you will have 
ip nat inside <<-under LAN 
ip nat outside <<- under LO

then advertise the LO under BGP 

this my view to your problem 

Review Cisco Networking for a $25 gift card