cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1185
Views
0
Helpful
5
Replies

Core switch does not want to ping on 2nd Vlan (NOT inter-vlan communication)

ryan347
Level 1
Level 1

Hey guys, I am playing around here on packet tracer using only Cisco 2960 switches. If you look at the attached pic: the green circle is vlan 100, the blue is vlan 200. The core switch (IP .100 on VLan 200 and IP .1 on vlan 100, using different interfaces) will not ping switch .101. All ports and VLANs are up-up and assigned correctly. All ports are configured as access ports to their respective VLANs. Since the core switch has at least 1 interface for each VLAN, I do not understand why the core switch will not ping switch .101. All pings on VLAN 100 work perfect, and VLAN 200 is setup the exact same way. Sorry if this is a basic question but all the results I find are all regarding inter vlan communication, which this is not...2 vlans img.PNG

1 Accepted Solution

Accepted Solutions

Hi

You have 2 vlans with the same subnet 192.168.10.0/24.
Change vlan 200 using ip 192.168.20.100 and 192.168.20.101 on the other switch.
Afterwards it'll work but normally you would connect the 2 switches using trunk interfaces instead of access, this will allow you to span vlan 100 and 200 on all switches and keep the gateways (svi 100 and 200) on your core switch while all others act as simple layer 2 access switches

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

5 Replies 5

Francesco Molino
VIP Alumni
VIP Alumni
Hi
The core switch you're talking about is the one in the middle, right?
Can you share the config of that switch and the one in vlan 200 (blue switch .101) with which it's connected to.

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

for the core switch (.1 on vlan 100 and .100 on vlan 200):

 

Building configuration...

 

Current configuration : 1484 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname RY-sw1

!

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

interface FastEthernet0/1

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/2

switchport access vlan 100

switchport mode access

!

interface FastEthernet0/3

switchport access vlan 200

switchport mode access

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan100

description uplink

mac-address 0009.7c40.d101

ip address 192.168.10.1 255.255.255.0

!

interface Vlan200

description test

mac-address 0009.7c40.d102

ip address 192.168.10.100 255.255.255.0

!

!

!

!

line con 0

exec-timeout 0 0

!

line vty 0 4

login

line vty 5 15

login

!

!

!

end

 

For switch .101 VLan 200 only:

 

Building configuration...

 

Current configuration : 1351 bytes

!

version 12.2

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname test-sw1

!

!

!

no ip domain-lookup

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

interface FastEthernet0/1

switchport access vlan 200

switchport mode access

!

interface FastEthernet0/2

switchport access vlan 200

switchport mode access

!

interface FastEthernet0/3

switchport mode access

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

no ip address

shutdown

!

interface Vlan200

description test

mac-address 0001.97b6.8701

ip address 192.168.10.101 255.255.255.0

!

!

!

!

line con 0

exec-timeout 0 0

!

line vty 0 4

login

line vty 5 15

login

!

!

!

end

 

Sorry for the late reply

 

fa0/3 on switch .100 is connected to fa0/1 on .101 both interfaces for VLAN 200. and this is also the only connection that does not want to ping. 

 

Hi

You have 2 vlans with the same subnet 192.168.10.0/24.
Change vlan 200 using ip 192.168.20.100 and 192.168.20.101 on the other switch.
Afterwards it'll work but normally you would connect the 2 switches using trunk interfaces instead of access, this will allow you to span vlan 100 and 200 on all switches and keep the gateways (svi 100 and 200) on your core switch while all others act as simple layer 2 access switches

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

THANK YOU!! I am about to move onto trunking, I just had one last test before I did and been hung up on this for quite a while. Thanks again

You're welcome

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
Review Cisco Networking for a $25 gift card