Switches, Hubs, and Modems
1752701 Members
6646 Online
108789 Solutions
New Discussion юеВ

VLAN in stack

 
Varyag
Occasional Contributor

VLAN in stack

I have 2 swithes in stack.

sw0 - commander
sw1 - member

I want to have 2 VLANs: Default and Internet.
I want that some ports of this VLANs will in sw0 and some on sw1.
For example:

Internet - on sw0 ports 1-3 and on sw1 30-33
Default - all other ports on both switches.

So, on sw0 I create VLAN Internet and assign to it ports 1-3 which untagged.
On sw1 I create VLAN Internet and assign to it ports 30-33 which untagged.

I plug computer to port 1 on sw0 and another computer to port 30 on sw1.
They have correct network setting. I try to ping they. They cannot reach each over.

I don't know why.

If I have I need to create VLAN only on commander?


4 REPLIES 4
Tore H.Valberg
Advisor

Re: VLAN in stack

This is how you need to set it up.

-On sw0 you make port 1-3 untagged member of vlan 2(internet)
-On sw0 you make the uplink port to sw 1 tagged member of vlan 2(internet

-On sw1 you make port 30-33 untagged member of vlan 2(internet)
-On sw1 you make the uplink port tagged memebr of vlan 2 (internet

Sw0
config
vlan 2
untagged 1-3
tagged
exi
wr mem

Sw1
config
vlan 2
untagged 30-33
tagged

Now you will have Layer 2 connectivity between the switches. But off course no connectivity across vlans.
Varyag
Occasional Contributor

Re: VLAN in stack

In this configuration does Default VLAN work across sw0 and sw1 too?
Varyag
Occasional Contributor

Re: VLAN in stack

If I have 2 VLANs across 2 switches may I have 1 uplink ports on each switch?
Tore H.Valberg
Advisor

Re: VLAN in stack

yes you will have both vlan 1 and 2 across the switches. And only 1 uplink between the switches are needed.

All ports are default untagged in Vlan 1. 1 link can carry 1 untagged vlan and many tagged vlans.