01-19-2011 05:02 AM - edited 03-06-2019 03:04 PM
I want to know how to
assign multiple VLANS to the same switchport, the scenario is that there is an end client on
172.17.10.44 witha default gateway of 172.17.10.20 on a router with the end client connected to fastethernet 0/1 of a 3550 multi-layer switch, the mamanagment VLAN of the switch is VLAN 2 and the ip address is 172.17.10.1, but i cant get the client to ping the rouiter and i cant ge the router to ping the switch, surely in the real world and I think ive seen this type of topology before of a multilayer switch connected to a router with the multi-layer switch passing traffic for multiple VLANS on some or all of its interfaces, please help me out
01-19-2011 05:11 AM
It could be a few things. First i would start by putting 2 deivces in the same vlan and make sure you can ping them. Can you post your swicth config ? Perhaps you need to assign the ip default gw ..
01-19-2011 05:29 AM
Hi,
On your router: sh ip int br and sh run | s int as well as sh cdp nei
On your switch: sh int status, sh ip int br | in Vlan and sh run | s int
Regards.
Alain.
01-19-2011 05:46 AM
Thanks to you guys that replied, I know where i wass going wrong now, I should have used
conf t
interface gigiabitethernet 0/1
switchport mode trunk
switchport trunk allowed vlan 1,2,3
i originally configued the interface with seperate VLANS and that was the problem
the underlined part of the config is where i went wrong, cheers people.
Cheers
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