02-01-2009 09:35 PM - edited 03-06-2019 03:48 AM
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
Solved! Go to Solution.
02-02-2009 05:02 PM
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
!
02-01-2009 10:01 PM
Is interface VLAN 1 port unshut?
02-01-2009 10:14 PM
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.
02-01-2009 10:39 PM
Dose the 2960 have a route to the subnet 172.16.2.0?
02-01-2009 10:48 PM
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?
02-02-2009 12:21 AM
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
02-02-2009 01:39 AM
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?
02-02-2009 01:55 PM
02-02-2009 05:02 PM
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
!
02-03-2009 03:12 AM
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
02-03-2009 04:27 PM
Glad to be of assistance.
02-02-2009 02:29 PM
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.
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