cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1291
Views
0
Helpful
7
Replies

not able reach router interface from l3 switch connected l2 switch

jsremi001
Level 1
Level 1

Hi,

 

I am not able to reach router interface from the l3 switch connected l2 switch. The topology is R2 <--> L3 Switch <--> L2 switch. 

 

The config: 

 

R2: 

interface FastEthernet0/0
ip address 10.2.2.1 255.255.255.0
duplex auto
speed auto

interface Vlan1
no ip address
!
router eigrp 1
network 10.2.0.0 0.0.255.255
auto-summary
!
ip route 10.20.20.0 255.255.255.0 10.2.2.2
!

 

L3 Switch:

interface Ethernet0/0
no switchport
ip address 10.2.2.2 255.255.255.0

 

!
interface Ethernet0/1
switchport access vlan 2
switchport mode access
!
interface Ethernet0/2
switchport trunk allowed vlan 2
switchport trunk encapsulation dot1q
switchport mode trunk
!


interface Vlan1
no ip address
!
interface Vlan2
ip address 10.20.20.1 255.255.255.0
!
!
router eigrp 1
network 10.2.0.0 0.0.255.255
network 10.20.0.0 0.0.255.255
!
ip forward-protocol nd
!
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 10.2.2.1
!

 

L2 switch:

 

interface Ethernet0/2
switchport trunk allowed vlan 2
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Ethernet0/3
switchport access vlan 2
!

interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan2
IP address 10.20.20.2 255.255.255.0
no IP route-cache
!
interface Vlan3
no IP address
no IP route-cache
shutdown
!
ip default-gateway 10.20.20.1

 

 

7 Replies 7

Hello,

 

add 'no auto-summary' to the EIGRP configs on both the router and the L3 switch...

done. still not reachable. It is not because of auto-summary. Refer the attached pic for topology.

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

Dome the L3 switch have routing configured?:

!
ip routing
!

cheers,

Seb.

 

 

 

Please attach config for all devices. Please do:

show cdp neighbors on all three devices.

show vlans | i active on layer three and layer 2 switch

show int "interface" trunk on all trunk interfaces

show ip route on all three devices

 

Please mark helpful posts

pieterh
VIP
VIP
in the configuration snippet I see no "ip routing" statement ??

Ok. I am trying this from GNS3 using IOU images. They are accepting the ip routing command but the same not appearing in the sh run result. any suggestions?

check version and/or license if routing feature is enabled for this switch