The MPLS-OPS Archive[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index][Thread Index][Author Index][Subject Index] RE: REG: MPLS VPN & NAT.
Hi, I need NAT on the interface connecting to the Intranet site (on the CPE) because the design requires NAT to happen for certain Private destination prefixes also, & that's the reason the interface has "ip nat outside". As per the Cisco docs i tried applying the config below, & find that even after defining a route-map to policy route prefixes to a dummy non /32 loopback block, still NAT happens for all destinations. interface Loopback0 ip address 1.1.1.1 255.255.255.0 ! interface Ethernet0/0 ip address 172.16.1.2 255.255.255.0 ip nat inside ip route-cache policy ip policy route-map nonat ! interface Serial 0/1 # Interface to the Internet # ip address 200.1.1.1 255.255.255.252 ip nat outside interface Serial 0/2 # Interface to the MPLS Private VPN # ip address 192.168.20.1 255.255.255.252 ip nat outside ip nat inside source static 172.16.1.1 202.54.9.1 access-list 123 permit ip host 172.16.1.1 172.26.1.0 0.0.0.255 !--- Except the private network from the NAT process: route-map nonat permit 10 match ip address 123 set ip next-hop 1.1.1.2 ! end Kindly advise, With warm regards, Vinod.
|
|