cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
671
Views
0
Helpful
6
Replies

3550 vlan question

2174252588
Level 1
Level 1

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.

Problem:

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.

1 Accepted Solution

Accepted Solutions

Richard Burts
Hall of Fame
Hall of Fame

Brian

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.

HTH

Rick

HTH

Rick

View solution in original post

6 Replies 6

Jon Marshall
Hall of Fame
Hall of Fame

Brian

Can your vlan 3 clients ping their default-gateway ie. 192.168.2.2 ?

If so then it could be a NAT issue with your Internet router. Could you post a sanitised version of the router config ?

Jon

Yes the vlan 3 clients can ping their default gateway of 192.168.2.2.

Richard Burts
Hall of Fame
Hall of Fame

Brian

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.

HTH

Rick

HTH

Rick

I will look into and post an update.

That indeed was the case. I appreciate you help

Brian

I am glad that you got your issue resolved and that my suggestion pointed in the right direction. Thank you for using the rating system to indicate that your issue was resolved (and thanks for the rating). It makes the forum more useful when people can read about an issue and can know that they will read a response which pointed toward the successful resolution of the issue.

The forum is an excellent place to learn about Cisco networking. I encourage you to continue your participation in the forum.

HTH

Rick

HTH

Rick
Review Cisco Networking for a $25 gift card