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

One VLAN won't communicate between switches even though the others do.

jakeparsons03
Level 1
Level 1

So I have 2 networks that are connected via L2 Switches. Each network has their own router. From top down it goes Router>L2 Switch> Hosts. The configuration is  the same for each network. All of my VLANs will connect to the other network through the L2 Switch except for 1 (VLAN 10). I was wondering if anyone had similar issues. I can ping from the host, through the router and back  to the switch on the VLAN that connects the switches together (VLAN 40) but when I try to ping the ip for VLAN 40 on the other network the packet drops. I've attached a picture of the network and highlighted the non-working host. 

 

The following is the config file for the switch on the first network (one attached to the non-working host).

 

Current configuration : 1635 bytes

!

version 12.1

no service timestamps log datetime msec

no service timestamps debug datetime msec

no service password-encryption

!

hostname Switch

!

!

!

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

interface FastEthernet0/1

!

interface FastEthernet0/2

switchport trunk allowed vlan 10,20,30,40

switchport mode trunk

!

interface FastEthernet0/3

switchport access vlan 30

switchport mode access

!

interface FastEthernet0/4

!

interface FastEthernet0/5

switchport access vlan 10

switchport mode access

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

switchport access vlan 20

switchport mode access

!

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

switchport mode trunk

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface Vlan1

no ip address

shutdown

!

interface Vlan10

mac-address 0005.5ec9.6201

ip address 192.168.10.5 255.255.255.0

!

interface Vlan20

mac-address 0005.5ec9.6202

ip address 192.168.20.5 255.255.255.0

!

interface Vlan30

mac-address 0005.5ec9.6203

ip address 192.168.30.5 255.255.255.0

!

interface Vlan40

mac-address 0005.5ec9.6204

ip address 192.168.40.5 255.255.255.0

!

ip default-gateway 192.168.1.1

!

!

!

!

line con 0

!

line vty 0 4

login

line vty 5 15

login

!

!

!

!

end

 

 

1 Accepted Solution

Accepted Solutions

Hello,

 

your Router1 has a default static route for network 192.168.10.0/24 pointing to the IP address of Vlan 40 on Switch0, that is why it doesn't work.

 

Remove the static route on Router1:

 

Router1(config)#no ip route 192.168.10.0 255.255.255.0

View solution in original post

5 Replies 5

jakeparsons03
Level 1
Level 1

I don' think this attached when I first submitted it. 

Hello,

 

this looks like a Packet Tracer project. Post the .pkt file (zip it first before posting).

Sure! Here you go!

Hello,

 

your Router1 has a default static route for network 192.168.10.0/24 pointing to the IP address of Vlan 40 on Switch0, that is why it doesn't work.

 

Remove the static route on Router1:

 

Router1(config)#no ip route 192.168.10.0 255.255.255.0

Thank you!