06-26-2015 10:37 PM - edited 03-05-2019 01:46 AM
Hello, I am currently in school for Cisco so forgive me if I use the wrong terms or lingo. I am currently working on a "Case Study" for my final and I do not have anymore classes or I would asked the teacher. My problem is that I have 2 networks connected via a WAN Link. PC A can ping everything on the opposite network EXCEPT the Switches. I have configured the Vlan 1 port with an IP address/Subnet Mask and used the no shutdown command to make sure it is up. I can ping computers connected to the switch as well as a public web server connected to the switch, but I cannot ping the switch itself. Any ideas?
Thanks
Solved! Go to Solution.
06-27-2015 12:01 AM
Hi,
Okay. A few questions though:
Best regards,
Peter
06-26-2015 11:11 PM
Hi,
A few questions and ideas to ponder over :)
Feel welcome to ask further.
Best regards,
Peter
06-26-2015 11:31 PM
I would assume everything is in the same VLAN, we haven't covered Vlan's yet so I really do not know. I can say that I configured the VLAN port because it said to configure the Management Interface. The default gateway is configured on the attached router port and the attached PC NIC. Basically, I have the router interface of Fa0/0 10.80.0.1 and the Switch Vlan of 10.80.0.25. The computer attached to the switch has 10.80.0.2 all have the mask of 255.252.0.0. From the second network, I set static routes to go from Network 1 to Network 2 and vice versa. A PC in Network 1 can ping the PC in Network 2 with the 10.80.0.2 IP address and the attached web server with IP address 10.83.255.254 but the Switch can be pinged. I know the routes are correct because the ping to the PC works no problem. Just the switch is giving an issue.
06-27-2015 12:01 AM
Hi,
Okay. A few questions though:
Best regards,
Peter
06-27-2015 01:30 AM
I did not configure the ip default gateway on the switch. I didn't realize that I needed to since it was connected I thought it would just send it out to the router. That makes sense though. I will add the default gateway ip address and see what I get!
Thanks for the info!
06-27-2015 04:17 AM
Hi,
I didn't realize that I needed to since it was connected I thought it would just send it out to the router.
Why should it? The switch doesn't know who the router is unless you tell it :-)
Best regards,
Peter
06-27-2015 04:18 AM
Ha, that makes sense no that I think about it. Should I be able to ping from the switch without the default gateway set? So if I got this right (in my head), in theory I am hitting the switch with the Ping from the PC but since the switch does not know the default gateway it does not know how to send the ICMP Echo back to the PC therefore timing out on the ping?
06-27-2015 04:24 AM
Hi,
Should I be able to ping from the switch without the default gateway set?
Like with every host using the IP protocol, without the default gateway, your switch should be able to ping anyone in its own IP subnet but won't be able to ping anyone outside its own subnet.
So if I got this right (in my head), in theory I am hitting the switch with the Ping from the PC but since the switch does not know the default gateway it does not know how to send the ICMP Echo back to the PC therefore timing out on the ping?
Yes, that is correct.
Best regards,
Peter
06-27-2015 05:01 AM
Awesome that worked! Thank you I dont know why I couldnt figure it out but I think I was thinking that since it was directly connected to the router it didnt need the default gateway. Thanks again!!
06-27-2015 06:20 AM
Hi,
You are welcome! :)
Best regards,
Peter
04-13-2021 07:12 AM
That's odd. I would try to add a 'default static route' to the the switch & see if that works. Run the following command in Global-Configuration Mode: [ip route 0.0.0.0 0.0.0.0 10.80.0.1] - I would bet, the frames in the Native VLAN either don't know how to reach the other switch (within the same VLAN) or there is more than one vlan configured and the switch doesn't have the native vlan tagged and doesn't know what to do with those frames. (If the later is the case, you could add (under interface-config mode [switchport trunk native vlan x]. I would also ensure your running 802.1q trunking and not ISL trunking (which some switches might default to, if trunking between 2 x Cisco Switches). Let me know how you make out. Best Regards!
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