cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
485
Views
5
Helpful
3
Replies

VLAN works but PC Can't Ping Switch and Vice Versa

Evievie
Level 1
Level 1

I have a switch its configuration are as follows

FA0/3 - VLAN 10
FA0/4 - VLAN 10
FA0/2 - VLAN 1
(The rest are left empty
VLAN 10 ip: 192.168.10.98 255.255.255.0
VLAN 1 ip: 192.168.10.5 255.255.255.0

The two PCs are on default gate way 192.168.10.1
PC1 ip: 192.168.10.3 255.255.255.0
PC2 ip: 192.168.10.2 255.255.255.0

Now the problem is that the pcs can ping each other via the VLAN but why wouldn't the switch be able to ping the PCs individually and the PCs not be able to ping the switch?
I have tried multiple different things but am at somewhat of a loss.
Any help is appreciated in getting me to understand this.

1 Accepted Solution

Accepted Solutions

Seb Rupik
VIP Alumni
VIP Alumni

 Hi there,

When you ping from the switch, are you specifying a source interface or letting the switch determine which one to use?

I note in your config, that the VLAN 10 SVI (192.168.10.98) does not match the Gateway address used by the two devices on the VLAN (192.168.10.1) . Is there another router using 192.168.10.1 ? If not, then your devices are not going to be able to reach any devices off link.

 

cheers,

Seb.

View solution in original post

3 Replies 3

Seb Rupik
VIP Alumni
VIP Alumni

 Hi there,

When you ping from the switch, are you specifying a source interface or letting the switch determine which one to use?

I note in your config, that the VLAN 10 SVI (192.168.10.98) does not match the Gateway address used by the two devices on the VLAN (192.168.10.1) . Is there another router using 192.168.10.1 ? If not, then your devices are not going to be able to reach any devices off link.

 

cheers,

Seb.

Creating a complex PDU worked thank you!

You separate the L2 but L3 is same, 
you must make each VLAN have different L3 subnet 
and each PC have GW the SVI of VLAN.

Review Cisco Networking for a $25 gift card