01-01-2017 01:22 PM - edited 03-08-2019 08:45 AM
I have two switches and I'm trying to get a basic network working, for some reason ESW2 switch has configured as a layer 2 router. With a default route is not routing traffic properly to the layer 3 switch 3.
The issue is between the layer 2 and the layer 3 switch routing can someone assist me in this area.
I'm unable to ping the layer 3 switch gateway IP vlan 10 from the PC's can someone explain where i'm going wrong here cause it can't see it.
LAYER 2 SWITCH
ESW2#show run
interface FastEthernet0/0
description *** Unused for Layer2 EtherSwitch ***
no ip address
no ip route-cache
shutdown
duplex auto
speed auto
!
interface FastEthernet1/4
description Trunk link layer3 switch
switchport mode trunk
duplex full
!
interface FastEthernet1/7
description vlan 20 accounts
switchport access vlan 20
duplex full
speed 100
spanning-tree portfast
!
interface FastEthernet1/11
description vlan10 traders
switchport access vlan 10
duplex full
speed 100
spanning-tree portfast
!
interface Vlan1
no ip address
no ip route-cache
!
interface Vlan10
description management
ip address 10.10.10.2 255.255.255.0
no ip route-cache
!
ip default-gateway 10.10.10.1
########
LAYER 3 SWITCH
hostname ESW1
!
interface FastEthernet0/1
description *** Unused for Layer2 EtherSwitch ***
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/0
no switchport
ip address 172.16.10.1 255.255.255.0
duplex full
speed 100
!
interface FastEthernet1/1
description trunk to layer 2 switch
switchport mode trunk
duplex full
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 10.10.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.10.1 255.255.255.0
!
router ospf 1
log-adjacency-changes
network 10.10.10.0 0.0.0.255 area 0
network 172.16.10.0 0.0.0.255 area 0
network 192.168.10.0 0.0.0.255 area 0
default-information originate
####
Layer 3 WAN router
hostname R1
!
interface FastEthernet2/0
description connection to L3 switch
ip address 172.16.10.2 255.255.255.0
duplex full
!
interface GigabitEthernet3/0
no ip address
shutdown
negotiation auto
!
interface Serial4/0
ip address 10.10.11.1 255.255.255.0
serial restart-delay 0
!
!
router ospf 1
log-adjacency-changes
redistribute bgp 6500 subnets
network 172.16.10.0 0.0.0.255 area 0
!
router bgp 6500
no synchronization
bgp log-neighbor-changes
redistribute ospf 1 match internal external 2
neighbor 10.10.11.2 remote-as 65009
no auto-summary
!
01-01-2017 01:53 PM
Hi Carl,
From your description, you're saying that when you try pinging 10.10.10.1 from PCs in either VLAN10 or VLAN20, you are getting no responses. Is that correct?
Let's go step by step, and please try to answer every question including any outputs from your topology you can provide as an evidence:
Thanks! Looking forward to hearing from you.
Best regards,
Peter
01-02-2017 12:14 PM
PC1 - IP 10.10.10.10
PC2 - IP 10.10.10.11
PC3 - IP 192.168.10.10
PC4 - IP 192.168.10.11
ESW2#show mac
ESW2#show mac-address-table
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
c406.250c.0000 Self 1 Vlan1
c406.250c.0000 Self 10 Vlan10
Layer 3 switch
ESW1#show ip arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 10.10.10.1 - c405.169c.0000 ARPA Vlan10
Internet 192.168.10.1 - c405.169c.0000 ARPA Vlan20
Internet 172.16.10.2 18 ca02.1020.0038 ARPA FastEthernet1/0
Internet 172.16.10.1 - c405.0a8c.f100 ARPA FastEthernet1/0
01-02-2017 12:18 PM
01-02-2017 12:18 PM
01-02-2017 02:39 PM
Hi Carl,
Your ESW2 is not learning any MAC addresses from attached hosts. It seems like the frames from the PCs are not even reaching ESW2.
Let's continue the troubleshooting. From ESW2, please post the complete output of the following commands:
show interface status
show interface trunk
show vlan-sw brief
Also, can PC1 ping PC2, and can PC3 ping PC4?
Best regards,
Peter
01-02-2017 03:45 PM
01-02-2017 03:53 PM
Hi Also can't ping between the VLANs
01-01-2017 03:56 PM
Hello
In addition to peters post , Please make sure ip routing is disabled on the L2 switch
res
Paul
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