cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

NAT with one inside and two outside interfaces

hsticher
Level 1
Level 1

Hi,

My Problem is:

If I initiate traffic for both outside NAT interface (G0/1 and G0/2) from NAT inside  interface G0/0 the NAT translation table for both interfaces will be established but only from outside interface  G0/1  targets got responses. If I remove the configuration  for interface G0/1, I got answers from targets at G0/2.

The problem results from subneting/overlapping  of the address spaces of g0/1 and G0/2.
If I use two class C network masks for G0/1 and G0/2 it all works fine. Because I can't change the address space, my question is: Is there any  possibility  to  configure a functionable  NAT-configuration by keep the address overlapping for G0/1 and G0/2.

 

                         C2911 with IOS: 15.4(2)T

Int G0/0

IP address 10.58.7.1 255.255.255.0

Ip nat inside

 

Int G0/1

IP address 10.10.58.1 255.255.255.0

Ip nat outside

 

Int G0/2

Ip address 10.10.0.1 255.255.240.0

Ip nat outside

 

ip nat inside source route-map RM-G1 interface GigabitEthernet0/1 overload

ip nat inside source route-map RM-G2 interface GigabitEthernet0/2 overload

 

route-map RM-G1 permit 10

match ip address 110

 

route-map RM-G2 permit 10

match ip address 120

 

access-list 110 permit ip 10.58.7.0  0.0.0.255  10.10.50.0 0.0.0.255

access-list 120 permit ip 10.58.7.0  0.0.0.255  10.20.20.0 0.0.0.255

 

IP route 10.10.50.0 255.255.255.0 10.10.58.2

IP route 10.20.20.0 255.255.255.0 10.10.0.2

 

Who Me Too'd this topic