Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

pinging between # Vlans

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?

  • WAN Routing and Switching
9 REPLIES
Silver

Re: pinging between # Vlans

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

Re: pinging between # Vlans

Hi,

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

Kind Regards,

Wilson Samuel

New Member

Re: pinging between # Vlans

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..???

Re: pinging between # Vlans

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

New Member

Re: pinging between # Vlans

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

Re: pinging between # Vlans

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

Re: pinging between # Vlans

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 )

New Member

Re: pinging between # Vlans

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

Re: pinging between # Vlans

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.

210
Views
0
Helpful
9
Replies