03-16-2022 12:17 PM - last edited on 03-17-2022 11:38 AM by Translator
Hello all,
I am trying to wrap my head around default routing. Can anybody explain to me why these L3 switches cannot ping each other.
I have two L3 Switches acting as a routing device.
Switch 1 config:
ip routing
ip route 0.0.0.0 0.0.0.0 20.20.20.20
interface FastEthernet0/1
no switchport
ip address 10.10.10.10 255.255.255.0
duplex auto
speed auto
Switch 2 config:
ip routing
ip route 0.0.0.0 0.0.0.0 10.10.10.10
no switchport
ip address 20.20.20.20 255.255.255.0
duplex auto
speed auto
Attached is a screenshot of the topology and a packet tracer file. Thank you.
Solved! Go to Solution.
03-16-2022 02:19 PM
Hello,
both interfaces need to have an IP address in the same subnet. Attached the revised file...
03-16-2022 12:28 PM
I can't open your file but the configurations you posted do not match the diagram.
You need to use the same subnet on both switches eg. 10.10.10.10/24 on switch 1 and 10.10.10.11/24 on switch 2 and then they will be able to ping but you don't need a default route for that.
Jon
03-16-2022 01:50 PM
03-16-2022 01:54 PM
I don't have PT so I'll leave to Georg.
Jon
03-16-2022 02:00 PM
Hello,
I still cannot open the file, it is still an invalid format.
03-16-2022 12:31 PM
Hello,
the .pkt file you sent is invalid.
Either way, you are using the same IP address, 10.10.10.10/24 on both interfaces. Change one of the IP addresses to 10.10.10.9/24. You do not need any static routing at all, as the interfaces are directly connected.
03-16-2022 01:52 PM
03-16-2022 02:09 PM
Strange, I'm not sure. Can open it fine on my computer.
Is there away to configure it so they're on different networks and without vlans? Is that possible with default routing?
03-16-2022 02:19 PM
03-16-2022 03:06 PM
I see. So it's not possible with static or default routing?
03-16-2022 03:11 PM
Hello,
static default routes are in there, but you don't need them, as both interfaces are on the same subnet, and directly connected...
03-16-2022 04:45 PM
I just looked at your reverse packet tracer file, and it's all starting to make a lot more sense now
Thank you, that was really helpful.
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