ping to router from switch Un-sucessfull ?

Unanswered Question
Jul 14th, 2008
User Badges:

1) configured router with sub-interfaces and assigned vlan's to every sub-interface using dot1q


2)configured switch ports with vlan's and attachd Pc's to every vlan.


3)pc's from all vlan can ping all the subinterface and other vlans's.


4)I can't ping the router sub-interfaces from the switch


do we have to configure any more on switch or router to make switch ping all the router sub-interfaces?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
babatunde_sanda Mon, 07/14/2008 - 04:15
User Badges:
  • Bronze, 100 points or more

Do you have a default gateway configured on the switch? Please paste the configs on both device so we can see.


lee.reade Mon, 07/14/2008 - 04:16
User Badges:
  • Silver, 250 points or more

Hi,


Did you add an IP address onto the switch for a specific vlan?


You should do this for each vlan that you have configured on the router.


HTH


LR

Richard Burts Mon, 07/14/2008 - 04:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Kiran


It might be helpful to know what model of switch you are talking about.


The list of things that you did does not include configuring a management interface and IP address on the switch. If the switch does not have a management interface with an IP address it will not be able to ping the router.


note: you have posted this same question in several forums. It would be helpful to at least acknowledge the multiple postings so people may know what to expect.


HTH


Rick

Richard Burts Mon, 07/14/2008 - 06:55
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Kiran has posted this same question in at least 3 forums. The discussion in the WAN Routing and Switching forum has been the most extensive and has included posting of configs, which I believe do show that the problem was a combination of failure to configure a management address in VLAN 1 (and this appears to be a purely layer 2 switch) and a failure to configure an IP address for VLAN 1 on the router.


I suggest that any further discussion be consolidated in the WAN forum.


HTH


Rick

Actions

This Discussion