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.
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:
interface vlan1 192.168.74.231 255.255.255.0
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.
Solved! Go to Solution.
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.
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?
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
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?
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.
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.