Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New VLAN not connecting

Status
Not open for further replies.

vallan

Technical User
Aug 13, 2002
156
EU
Hi All

There ae 2 switches ( A and B) that have been connected using an access port on vlan 50 and all the ports on the 2 switces are also in the same vlan 50 so there is no issue with port connection working. Now I have created a new vlan X on switch A which has a router connection for this new vlan. Ports on this switch are ok. When I plug pc into the second switch B, it does not work even though I put it in Vlan X.

How do I get ports on second switch to work?

Thanks
 
yes, it does... i do have both vlans on the 2 switches. Devices on Switch B in Vlan X does not ping the gateway whereas those on Switch A can. The router is plugged into Switch A.

switch A

int vlan 50
no ip address

int vlan X
no ip address

Switch B
int vlan 50
no ip address

int vlan X
no ip address

Thanks
 
What you posted is a layer3 configuration of vlans, which is not what I think you are trying to do.

Can you detail the model numbers of the two switches in question and how the interfaces connecting them are configured?
 
Thanks

They are all L3 switches....

They are connected by fibre cables on port 48 of both switches and connected by access like---

int fast 0/48
switchport access vlan 50
switchport mode access

but then i only had one vlan on the switches which worked. I did not want to use trunk as at that time there was only ever going to be one Vlan. Now I have connected another router to Switch A and have configured Vlan X. The devices on Switch B will not ping the router even though I have created Vlan X on switch B.

What do I need to do on switch B to be able to ping the new router.

Thanks
 
I did not want to use trunk as at that time there was only ever going to be one Vlan
You're going to need to do that now if you want to pass traffic from both VLANs across the switches

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
If I do this on the second switch, will it work, i.e. giving the second switch an ip address in the X vlan??

switch A

int vlan 50
no ip address

int vlan X
no ip address

Switch B
int vlan 50
no ip address


int vlan X
y.y.y.y z.z.z.z

 
You will need to enable trunking on those ports if you want the vlan traffic to pass between switches.
 
...you're confusing Layer-2 (VLAN trunking) with Layer-3 (IP addresses).

Do these switches have "IP ROUTING" enabled? They probably shouldn't.
If they do, then disable it. Then you need to design the Layer-3 network properly before worrying about trunking VLANs around it.
 
The switches should be setup to have no routing capability if you are doing all the routing on a router for your subnets and as the rest of the guys have said you need a trunk between both switches with both vlans allowed cross that trunk . The only reason the switches will have an address is to manage them , they have no function in the routing process if you are doing that on a router.
 
....alternatively, make one Layer-3 switch the router for 1 VLAN, the other Layer-3 switch the router for the 2nd VLAN, then create a 3rd VLAN connecting the two switches and configure routing between the two switches.....but you really don't want to do any routing on a LAN where you can avoid it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top