cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
551
Views
0
Helpful
5
Replies

Conditional NAT between different VRFs

Palazsto
Level 1
Level 1

Hello Guys, 

Does anyone tried to make conditional NAT between different VRFs and is it even supported in IOS ?

 

5 Replies 5

balaji.bandi
Hall of Fame
Hall of Fame
conditional NAT between different VRFs 

Can you give some example of your use case

as per i know NAT supported in VRF in IOS latest code as i know.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Palazsto
Level 1
Level 1

inter-vrf-cond-nat.PNG

if source address is 192.168.1.1 and the destination is 172.16.1.1 then NAT 192.168.1.1 to 10.1.1.1 

 

You can do that NAT in normal right - or am i missing anything here ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Palazsto
Level 1
Level 1

I think vrfs change the picture, and NVI must be involved but I don't see many docs and config guides.

So far as I remember, regular NAT should do: "ip nat inside source list 100 interface g0/1 vrf RED overload". RED VRF will be placed into translation entry. Responses will be accepted in any VRF, including VRF BLUE, traffic UNNATed and sent to VRF RED. This should work identically in IOS and IOS-XE. Need to be tested though. (I could never understand why docs and Cisco NAT FAQ says that NAT NVI is required to NAT between different VRFs).

If you NAT to a pool borrowed from connected subnet, you may need to add "match-in-vrf" option, otherwise GARP entry is programmed in global VRF.

 

Review Cisco Networking for a $25 gift card