05-13-2021 11:22 PM - edited 05-13-2021 11:23 PM
I have a layer 3 switch with a VLAN 10 interface with IP 172.16.0.30/28. There's a link connecting VLAN 10 devices to the switch. Also connected to the layer 3 switch is a router which I want to ping from VLAN 10. The router's g0/0 interface with IP 200.0.1.1/24 is connected to the layer 3 switches g0/1 interface with IP 200.0.0.2/24. From VLAN 10 I can ping the switch interfaces but I can't ping beyond that. I've tried setting a static route on the switch to the router as follows.
ip route 200.0.1.0 255.255.255.0 200.0.1.1
But pinging 200.0.1.1 from VLAN 10 fails. Any pointers?
Solved! Go to Solution.
05-14-2021 12:10 AM
Hello,
the interface GigabitEthernet0/1 on the MLS1 switch needs to be configured as below:
interface GigabitEthernet0/1
description "to router"
no switchport
ip address 200.0.1.2 255.255.255.0
duplex auto
speed auto
The router EXT needs a default route towards the IP address of that interface:
ip route 0.0.0.0 0.0.0.0 200.0.1.2
Attached the revised, working file.
05-13-2021 11:49 PM
Hello,
post the zipped Packet Tracer project (.pkt) file...
05-13-2021 11:51 PM
05-14-2021 12:10 AM
Hello,
the interface GigabitEthernet0/1 on the MLS1 switch needs to be configured as below:
interface GigabitEthernet0/1
description "to router"
no switchport
ip address 200.0.1.2 255.255.255.0
duplex auto
speed auto
The router EXT needs a default route towards the IP address of that interface:
ip route 0.0.0.0 0.0.0.0 200.0.1.2
Attached the revised, working file.
05-14-2021 12:32 AM
Working great. That's very kind of you, thank you so much.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: