Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NAT on Router running BGP

Status
Not open for further replies.

acollard83

IS-IT--Management
May 1, 2005
179
0
0
US
I am trying to get NAT working on a router that is running bgp. We are trying to nat against our publicly announced space vs one of the peers/providers ip address. I've tried using a loopback interface and a sub-interface, neither worked. This is on a 7206VXR with an NPE-G1.
 
sh run

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Sorry. Relevant config below. BGP Peers are on GI0/1 and GI0/3. I am trying to bring the inter-vlan routing on to a couple c3560's and get rid of an old sonicwall.

interface Loopback3
ip address 162.210.240.x 255.255.255.248
ip nat outside
ip virtual-reassembly in

interface GigabitEthernet0/2.66
encapsulation dot1Q 66
ip address 10.1.11.1 255.255.255.0
ip nat inside
ip virtual-reassembly in

ip nat inside source list 50 interface Loopback3 overload
access-list 50 permit 10.1.11.0 0.0.0.255
 
how are you advertising the route through BGP ?
you dont need to have an interface to nat .. if you own the segment, pick an ip address and instead of the interface command actually use the IP address ..
your router should respond with arps when queried of "who has xxxx"

We must go always forward, not backward
always up, not down and always twirling twirling towards infinity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top