07-14-2008 04:07 AM - edited 03-06-2019 12:10 AM
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?
07-14-2008 04:31 AM
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.
HTH
Rick
07-14-2008 05:02 AM
In order to have your switch ping the router sub-interfaces, you'll have to enable IP routing on the switch (if it is capable) and either:
a: put an IP Address on the switch that belongs in a VLAN directly connected to the router of the same subnet, or
b: create an SVI (switched virtual interface) on the switch that will allow your switch to participate in routing so it can communicate with other VLANs.
Please see the following link for a good example and more info on configuring interVLAN routing on your switch:
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008015f17a.shtml
(this link is for 37xx/36xx/35xx switches but the concept is the same for all SVI capable switches)
(your switch model may not support IP routing so please verify. EMI version IOS on your switch supports IP routing if your switch has it.)
07-14-2008 06:54 AM
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
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