pinging between # Vlans

Unanswered Question
Jul 13th, 2007
User Badges:

After you do the InterVlan configuration (ex. vlan2 and vlan3), should you be able to ping a device in vlan 3 from a device in vlan 2?

I'm trying to ping the device, no response.. what am i missing here?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Hi,

From where you did try to ping? From PC or from the switch itself?

Normally you don't have to configure anything out of the ip addresses, because the device will see both subnets as directly connected. If you correctly set up the hosts (IP, mask, gw) then you don't have to have any problem.


Krisztian

Wilson Samuel Fri, 07/13/2007 - 05:36
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, July 2015

Hi,


Please share your config and we shall be in a much better position to answer your query.


Kind Regards,

Wilson Samuel

valides007 Fri, 07/13/2007 - 06:37
User Badges:

Here is what i did:


switch3560(config)#int vlan 2

switch3560(config-if)#ip address 10.1.20.1 255.255.255.0

switch3560(config-if)# no shut

switch3560(config)#int vlan 3

switch3560(config-if)#ip address 10.1.30.1 255.255.255.0

switch3560(config-if)# no shut

switch3560(config)#ip routing

....

i have a device (device1) on vlan 2 with an IP of 10.1.20.10 and a device (device2) on vlan 3 with an IP of 10.1.30.10.

when i ping device2 from device1 i get destination unreachable. i'm assuming the intervlan is not working..???

Wilson Samuel Fri, 07/13/2007 - 06:39
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, July 2015

Hi,


Just worndering if you have enabled the IP Routing?


I have had a similar situation in the past, only to know later that I didnt enable IP Routing.


Switch(config)# ip routing


Please try the above command and let us know


HTH,


Please rate if it helps


Kind Regards,

Wilson Samuel

valides007 Fri, 07/13/2007 - 06:48
User Badges:

well if you check my previous answer, you see that the last command was ip routing.

I got at a point where i can't find any solution, and i'm sure it is very simple.

i have this final try: is there a different between making no shut on one interface or making it on a range of interfaces, for ex.:


switch(config)#int range vlan 2-10

switch(config-if)#no shut


or


switch(config)#int vlan

switch(config-if)#no shut

Wilson Samuel Fri, 07/13/2007 - 06:53
User Badges:
  • Gold, 750 points or more
  • Community Spotlight Award,

    Mobile User, July 2015

Hi,


Sorry I missed the last line.


This is really surprising.


Could you please do a trace from the hosts and also ping both the hosts from router?


Moreover, if you could enable debug ip packet and debug ip icmp, you should be able to see whats going on.


HTH


Regards,

Wilson Samuel

JORGE RODRIGUEZ Fri, 07/13/2007 - 07:15
User Badges:
  • Green, 3000 points or more

make sure the hosts you are trying to ping from are properly assign with their respective vlan 2 and 3.


eg.


host 10.1.20.10 should be in vlan 2

host 10.1.30.10 should be in vlan 3


on the hosts switch port interface add


switchport access vlan 2 ( for 10.1.20.10 )

switchport access vlan 3 ( for 10.1.30.10 )








vinay_verma80 Sun, 07/15/2007 - 14:32
User Badges:

hi


1.use the command " show ip route"


r u able to see both of the route as connected route


2. try static routing in "both direction"


then try to ping


3. try extended ping if the switch support



4 . also look for " ip classless" command



regards


vinay verma

amit_kulshrestha_2 Mon, 07/16/2007 - 19:52
User Badges:

Hi,


I would request you kindly give some detail about network like diagram ,also request you to kindly send config of all devices. waiting for your relpy.

Actions

This Discussion