Pinging a Router through a switch

Unanswered Question
Nov 6th, 2008

I'm trying to ping my Router 1700 Ver 12.1 through switch 2950 from my computer.

My computer IP is,

Switch VLAN 1 IP is

My Router ip int f0 is, all default gateways are point to F 0/0 except router. But I can't even ping the switch. I'm not sure if I need VLAN trunking because the switch IOS doesn't support it. What am I doing wrong ? help...

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Thu, 11/06/2008 - 14:08


Some basic things to check

1) all devices have the same subnet mask - presumably

2) It doesn't really matter what IP the switch has as that is only used for management

3) You don't need trunking but you need to make sure that the port that the router connects to and the port that your PC connects to are in the same vlan.


Richard Burts Thu, 11/06/2008 - 19:37


In addition to the good points that Jon makes I would suggest that you check the cable that connects your computer to the switch. If your computer can not ping the switch, and if your computer and the switch management address are in the same VLAN then there is something wrong between your computer and the switch. My guess is some issue with the cable.

If our suggestions have not led to a solution then it might be helpful if you would post the configuration of the switch port to which your computer is connected and the configuration of the switch port to which the router is connected. It might also help if you post the output of ipconfig from your computer (assuming that it is windows).



sergeimavashev Thu, 11/06/2008 - 22:02

Thanks for the good advice, I believe my computer and the router ports were in different VLANs. Thanks very much.


This Discussion