×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

VRF NAT Translation / Port Translation

Answered Question
Mar 18th, 2014
User Badges:

I recently moved the subnet 10.0.50.0/24 into a VRF.  After doing so I realized this broke one of my NAT translations:

ip nat inside source static tcp 10.0.50.230 22 interface GigabitEthernet1/1 9022

I located the following document: http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/ipaddr_nat/configuratio...

It shows different types of NAT translations for VRF's, but not what I am looking to do exactly.  Can someone assist me in getting the above NAT translation to work with a host that is in a VRF?

 

Thanks!

Correct Answer by paul driver about 3 years 5 months ago

Hello

 

As I stated previously "need to specify a static inside global address instead of the interface"

example:

ip nat inside source static tcp 10.0.50.230 22 192.168.100.100 9022 vrf EXAMPLE

res

Paul

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
paul driver Tue, 03/18/2014 - 08:42
User Badges:
  • Green, 3000 points or more

Hello

 

When using static NAT & VRF,  I think you need to specify a static inside global address instead of the interface to use the vrf option

ip nat inside source static tcp 10.0.50.230 22 x.x.x.x 9022 vrf XX

 

res

Paul

 

Jeffrey Simon Tue, 03/18/2014 - 09:15
User Badges:

Does not appear to be supported:

cda6503a(config)#ip nat inside source static tcp 10.0.50.230 22 interface gigabitEthernet 1/1 9022 ?
  <cr>
Correct Answer
paul driver Tue, 03/18/2014 - 09:39
User Badges:
  • Green, 3000 points or more

Hello

 

As I stated previously "need to specify a static inside global address instead of the interface"

example:

ip nat inside source static tcp 10.0.50.230 22 192.168.100.100 9022 vrf EXAMPLE

res

Paul

Jeffrey Simon Tue, 03/18/2014 - 09:51
User Badges:

Thank you, I did not understand what you were saying.  This is working now.  Thank you very much for the help.

Actions

This Discussion

Related Content