Hello, I am currently pursuing my CCNA and having a little problem with a config I am toying with.
I have a Cisco 3550 Switch and I have two subnets attached to it:
192.168.1.0/24 on interface FastEthernet 0/1 vlan 2 IP of 192.168.1.248
192.168.2.0/24 on interface FastEthernet 0/2 vlan 3 IP of 192.168.2.2
I would like to both subnets to use the same Internet connection which IP is 192.168.1.254 and on vlan2.
I set the vlan 3 clients default gateway to 192.168.2.2.
I also set a route in the Internet router to point all 192.168.2.0/24 traffic to 192.168.1.248.
I have no problems getting vlan 2 out to the Internet, but cannot get vlan 3 out to the Internet.
See attached config.
Any help would be appreciated.
I have looked at the config that you posted and I do not believe that the problem is on your switch configuration. If VLAN 2 is in 192.168.1.x address space and is going to the Internet then somewhere it must be translated. And I am guessing that the translation is being done on 192.168.1.254.
And if VLAN 3 wants to get to the Internet then it also needs address translation. And I am guessing that 192.168.1.254 is configured to translate the 192.168.1.0 network and is not configured to translate the 192.168.2.0 network. If you add the translation for 192.168.2.0 then I would expect that VLAN 3 could get to the Internet as well as VLAN 2 can.