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

Attention: The Community will be in read-only mode on 12/14/2017 from 12:00 am pacific to 11:30 am.

During this time you will only be able to see content. Other interactions such as posting, replying to questions, or marking content as helpful will be disabled for few hours.

We apologize for the inconvenience while we perform important updates to the Community.

New Member

Unable to ping switches on different subnet/vlan

I have two 2960 switches trunked via their respective GE ports and a 2620 router connected to port 1 on switch 1.

Ports 1 thru 12 are in vlan1, while ports 13 thru 24 are in vlan 2.

The router has a sub-interface created and associated to vlan2.

Devices configured as follows:

2960

interface vlan1 192.168.74.231 255.255.255.0

2620

interface FastEthernet 0/0 192.168.74.250 255.255.255.0

switchport mode trunk

interface FastEthernet 0/0.2 172.16.2.254 255.255.255.0

encapsulation dot1Q 2

From the router, I am able to ping the switch connected on port 1 as well as an end device in vlan2 with IP 172.16.2.1

From the end device, I AM able to ping the gateway - 172.16.2.254 - AND the router 192.168.74.250 but NOT the switch - 192.168.74.231 - that the device is connected to to get to the router.

Any suggestions on what I can do to fix this? Is there anything that I am missing?

I can provide the full running config if required.

thanks,

Darren

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Unable to ping switches on different subnet/vlan

I've just had a look at your config of the 2960 and where's VLAN 2, 3, 4, 10 in the VLAN Database?

vlan 2

name USER_DEVICES

!

vlan 3

!

11 REPLIES
Hall of Fame Super Gold

Re: Unable to ping switches on different subnet/vlan

Is interface VLAN 1 port unshut?

New Member

Re: Unable to ping switches on different subnet/vlan

Yes, vlan1 interface is open (no shut).

I can ping the vlan1 address 192.168.74.231 from the router OK but no from an end device.

Similarly, I can telnet to the router but not to either of the switches from the end device.

New Member

Re: Unable to ping switches on different subnet/vlan

Dose the 2960 have a route to the subnet 172.16.2.0?

New Member

Re: Unable to ping switches on different subnet/vlan

To tell you the truth, I really don't know, but would have to say 'no'.

What should I be looking for in the switch config or what command should I use to configure accordingly?

New Member

Re: Unable to ping switches on different subnet/vlan

Hi,

Try to create the virtual interface for vlan 1 also in router 2620 i.e fa0/0.1

and encapsulation too might be helpful to you

New Member

Re: Unable to ping switches on different subnet/vlan

What IP address, if any, should I give it?

Should I keep it as per other sub-interfaces ie 172.16.1.x or doesn't it matter?

New Member

Re: Unable to ping switches on different subnet/vlan

Hi,

Tried this and still no luck unfortunately.

I have attached my configs for the router and the switch for everyones input.

regards

Hall of Fame Super Gold

Re: Unable to ping switches on different subnet/vlan

I've just had a look at your config of the 2960 and where's VLAN 2, 3, 4, 10 in the VLAN Database?

vlan 2

name USER_DEVICES

!

vlan 3

!

New Member

Re: Unable to ping switches on different subnet/vlan

Hi,

Thanks for point that out.

I ended up clearing all config from the router and switch and startign from scratch.

I quickly found that there was other commands that I had either not implemented on either device or had put too much in.

All is working now perfectly. I am able to ping all machines in each subnet as well as each gateway, switch and router from any subnet including 192.168.x.x from any of the 172.16.x.x subnets and vice versa.

thanks again for you help.

regards,

Darren

Hall of Fame Super Gold

Re: Unable to ping switches on different subnet/vlan

Glad to be of assistance.

New Member

Re: Unable to ping switches on different subnet/vlan

Additional to this:

When I connect the end device into any port from 1-12 (vlan1) and attempt to ping any of the 172.16.x.254 addresses, I get no response.

Likewise, when I attempt to ping the same 172.16.x.254 addresses from the switches.

801
Views
0
Helpful
11
Replies
CreatePlease to create content