cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
175
Views
0
Helpful
1
Replies

Static NAT support on sub interfaces

ckothako
Cisco Employee
Cisco Employee

Does the 3900 series router support static NAT on a sub interface ? I am trying to port forward RDP session from outside interface to the hosts on inside VLANs. Each VLAN is configured on a sub-interface as shown by the snippet below. Is this  a supported config ?

===========================

interface GigabitEthernet0/0

 ip address 172.16.16.41 255.255.255.0

 ip nat outside

 ip virtual-reassembly in

 duplex auto

 speed auto

!

interface GigabitEthernet0/1

 no ip address

 shutdown

 duplex auto

 speed auto

!

interface GigabitEthernet0/1.102

 encapsulation dot1Q 102

 ip address 192.168.2.254 255.255.255.0

 ip nat inside

 ip virtual-reassembly in

!

interface GigabitEthernet0/1.103

 encapsulation dot1Q 103

 ip nat inside

 ip address 192.168.3.254 255.255.255.0

!

interface GigabitEthernet0/1.104

 encapsulation dot1Q 104

 ip nat inside

 ip address 192.168.4.254 255.255.255.0

!

======================

 

thanks

Chandra

1 Reply 1

John Blakley
VIP Alumni
VIP Alumni

Yes, you can nat on subinterfaces with no issues...

HTH,

John

HTH, John *** Please rate all useful posts ***
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card