Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 
Community Member

Howto Translating to Vlan ?

Hi, i am a newbie to cisco routers and i have a problem that I am trying to fix, will try to explain in detail as possible.

I have a cisco 2800 router. It has 2 FE prots and 4 L2 ports (an additional card attached.) 2 of the FE ports are configured to use 2 different lans in the network. I have configured the 4 L2 ports in VLan 1 and I want the 2 FE ports to communicate to the vlan which is already working.

FastEthernet 0/0

FastEthernet 0/1

VLan 1

The Vlan is connected to an external network (wich I dont have controll of) with the gatway

The problem for me is that the gatway only listen to the ips from its subnet. If i try to ping it from the local network I get a timeout. So i belive the ips from need to be translated to

I did the following but there has not been any luck

ip nat inside source static
am I on the right track or I am doing something wrong ? have done alot of googling and read lots of documents but not luck

thansk in advance

Everyone's tags (5)

Howto Translating to Vlan ?

access-list 10 permit

access-list 10 permit

ip nat inside source list 10 interface vlan 1 overload

int vlan 1

ip nat outside

int fa0/0

ip nat inside

int fa0/1

ip nat inside

Let me know if this worked, Thanks,

Nandan Mathure

Community Member

Howto Translating to Vlan ?

As you mentioned you have a cisco 2800 with 2 FE port and one 4 port etherswitch card. you defined an SVI VLAN1 port with, so you should see following routes with "Show IP Route": is subnetted, 1 subnets

C is directly connected, FastEthernet0/1 is subnetted, 1 subnets

C is directly connected, Vlan1

C is directly connected, FastEthernet0/0

If you see these routes in routing table , then there is no need to nat (if you ping inside your gatewa should be because router will do routing automatically

Community Member

Howto Translating to Vlan ?

Nandan Mathure Thanks for the suggestion, it works for me.
Kamran Roostaee Yes, the both networks communicate without problem. but the issue was that the gateway is a firewall and it listens to requests comming from clients with the same subnet, so requests comming frome other subnets needs to be translated to the subnet before it hits the gateway.
CreatePlease to create content