07-10-2017 07:56 PM - edited 03-08-2019 11:16 AM
I have six (6) 3560 switches and one (1) 1841 router. I've connected the switches in sets of three (3), each set with a distinct VLAN. My topology looks like this in packet tracer:
The top three switches are set up with VLAN 100, each with an IP in the 10.10.100.0/24 range. The router interface facing the switch in the top middle is configured with a 10.10.100.1 255.255.255.0 IP address. All of those switches are able to ping each other and that interface on the router.
The same is true of the switches on the bottom, except they are set up with VLAN 200 and an IP range of 10.10.200.0/24. The router interface pointing that way is configured with 10.10.200.1 255.255.255.0. The switches are able to ping one another and the router interface pointing towards them. The router is able to ping all of the switches.
The problem I am having is that I can't ping across VLANS. If I try to ping switch5 from switch0, I get 100% loss. If I try to ping the opposite interface on the router from one of the switches, I get 100% packet loss. Can someone point me in the right direction to get interVLAN routing operating correctly?
I'm thinking there is something I need to change/configure on the router, so I'm pasting the Show Run output. I kept it at a pretty barebones configuration for now, having only configured the interfaces. Any guidance is very appreciated.
Router#sh run
Building configuration...
Current configuration : 651 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface FastEthernet0/0
description Link to Switch0 VLAN100
ip address 10.10.100.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
description Link to Switch5 VLAN200
ip address 10.10.200.1 255.255.255.0
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
Thank you...
07-10-2017 08:09 PM
I figured it out. I did not set the default gateway on the switches. Once I did that, everything worked just fine.
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