cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5641
Views
0
Helpful
2
Replies

VLAN config and ping tests

hamid.azeez
Level 1
Level 1

Hello techs, I am having some minor problems with my network config and I am hoping you can assist...

L3 switch

VTP server

Vlan 200

ip 192.168.200.5/24

vlan 201

ip 192.168.201.1/24

vlan 203

ip 192.168.203.1/24

L2 sw

VTP client

switch port access vlan 201

vlan 201 - ip 192.168.201.5/24

L2 sw

VTP client

switch port access vlan 201

vlan 201 - ip 192.168.201.6/24

I have a desktop plugged into the 200 network and a desktop plugged into the 201 network.

ip 192.168.200.200/24 DG 192.168.200.5

ip 192.168.201.100/24 DG 192.168.201.1

-I can ping the virtual interfaces from within the switches.  But cannot ping to a desktop with a static IP iether from 192.168.200.x or 192.168.201.x.

What am i missing here?  I have done this setup many times and have compared it to other production environement as well.

Any help is greatly appreciated.

Thanks in advance.

1 Accepted Solution

Accepted Solutions

Hamid,

You'll need to have routing turned on the switch to be able to route between vlans:

ip routing

Then you'll need to have a default gateway configured on your hosts to point to their respective gateways.

HTH,

John

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

View solution in original post

2 Replies 2

hamid.azeez
Level 1
Level 1

Update...

i am now able to ping to all virtual interfaces.  I am not able to ping from a device from 192.168.200.x to a device on 192.168.201.x.  I am able to ping from the 192.168.201.x device to the L3 interfaces.

Do I need to add a gateway?

If some can advise on on guidance, it would be much appreciated.

Thanks.

Hamid,

You'll need to have routing turned on the switch to be able to route between vlans:

ip routing

Then you'll need to have a default gateway configured on your hosts to point to their respective gateways.

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