How about other interfaces? Should define vrf on other interfaces or not.
Try it.
-----Original Message-----
From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
selamat pagi
Sent: Friday, August 20, 2010 12:43 PM
To: Cisco certification
Subject: NAT in vrf
I try to translate the source in vrf XYZ (172.16.5.5) to the loopback 0 to
reach R9.
On R9 the packets arrive, but they still have the untranslated source
172.16.5.5 and not 131.5.5.5.
What do I miss here ?
thanks, keti
R5
interface Loopback0
ip address 131.5.5.5 255.255.255.255
interface FastEthernet0/0
ip vrf forwarding XYZ
ip address 172.16.5.5 255.255.255.0
ip nat inside
!
interface Serial0/1/0
ip unnumbered Loopback0
ip nat outside
encapsulation ppp
mpls ip
ip route vrf XYZ 131.5.9.9 255.255.255.255 131.5.4.4 global
ip nat inside source list 155 interface Loopback0 vrf XYZ overload
access-list 155 permit ip host 172.16.5.5 host 131.5.9.9
R5
p vrf XYZ 131.5.9.9
Sending 5, 100-byte ICMP Echos to 131.5.9.9, timeout is 2 seconds:
....
R9
Aug 20 05:44:21.867: ICMP: echo reply sent, src 131.5.9.9, dst 172.16.5.5
*Aug 20 05:44:23.867: ICMP: echo reply sent, src 131.5.9.9, dst 172.16.5.5
R5#sh ip nat translations
R5#sh ip nat translations vr
R5#sh ip nat translations vrf XYZ
R5#
Blogs and organic groups at http://www.ccie.net
Received on Fri Aug 20 2010 - 13:12:09 ART
This archive was generated by hypermail 2.2.0 : Wed Sep 01 2010 - 11:20:52 ART