ā11-25-2018 12:55 PM - edited ā03-08-2019 04:40 PM
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
Solved! Go to Solution.
ā11-25-2018 04:02 PM
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
ā11-25-2018 12:57 PM
ā11-25-2018 01:17 PM
Hello,
this looks like a Packet Tracer project. Post the .pkt file (zip it first before posting).
ā11-25-2018 03:01 PM
ā11-25-2018 04:02 PM
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
ā11-25-2018 04:41 PM
Thank you!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide