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

Nat between two vlans and port forward

zaprian22
Level 1
Level 1

Hi all,

here is my problem:

We have two 2811 routers in two different offices.we made the connection between routers by VLANs.So Router1 conf is:

Router1:

interface FastEthernet0/0.380
encapsulation dot1Q 380
ip address 192.168.232.18 255.255.255.248
no snmp trap link-status

interface FastEthernet0/0.382
encapsulation dot1Q 382
ip address 10.132.1.126 255.255.255.252
ip nat outside
ip virtual-reassembly
no snmp trap link-status

interface Vlan1
ip address 192.168.5.1 255.255.255.128
ip nat inside
ip virtual-reassembly

ip route 10.132.254.35 255.255.255.255 10.132.1.125
ip route 192.168.0.0 255.255.0.0 192.168.232.17

ip nat inside source list 2 interface FastEthernet0/0.382 overload

access-list 2 permit 192.168.0.0 0.0.255.255

Router2

interface FastEthernet0/0.196
encapsulation dot1Q 196
ip address X.X.X.X 255.255.255.252
ip nat outside
ip virtual-reassembly

interface FastEthernet0/0.197
encapsulation dot1Q 197
ip address 192.168.222.2 255.255.255.248
ip nat inside
ip virtual-reassembly
no cdp enable

interface Vlan1
ip address 192.168.1.1 255.255.255.128
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452

ip route 192.168.222.0 255.255.255.0 192.168.222.1


So FastEthernet0/0.380 and FastEthernet0/0.197 see each other with no problems, however FastEthernet0/0.197 cannot see FastEthernet0/0.382 on Router 1.I really need to forward 5060 port to 192.168.1.0 subnet.So my ISP tell me to create nat between FastEthernet0/0.380 and FastEthernet0/0.382 and then, to forward the port.In short  -first  I need to forward 5060 which came on FastEthernet0/0.382 to 192.168.1.6 (for example) subnet and second to forward 192.168.1.6:5060 to 10.132.254.35 (which is SIP gateway).

Thanx.

1 Reply 1

Florin Barhala
Level 6
Level 6


Hi mate,

You either mistype the config, or it's really wrong; you have on Router 1: .232 and on Router 2: .222.

Also post a small network diagram and we will solve it in no time .

Review Cisco Networking for a $25 gift card