Community discussions

MikroTik App
 
ath
just joined
Topic Author
Posts: 18
Joined: Thu May 12, 2016 4:17 am
Location: Melbourne, VIC

Shared VLAN Learning (SVL)

Wed Nov 25, 2020 11:20 am

Is there any way of configuring shared VLAN learning (SVL) on a bridge that has vlan-filtering set to yes?
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: Shared VLAN Learning (SVL)

Wed Nov 25, 2020 9:03 pm

Doesn't seem it is possible. Explanation of effects of setting vlan-filtering=yes in bridge manual explicitly states that setting this property changes bridge from SVL to IVL.

What would you like to achieve by running bridge in SVL mode?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19325
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Shared VLAN Learning (SVL)

Wed Nov 25, 2020 10:00 pm

Bloody Aussies with their difficult questions, what with crocodiles, sharks, stonefish,octopus, poisonous spiders, snake, drunk koala bears and boxing kangeroos, fires etc. there would be none left.............. Lets be honest, why would anybody stop and stay in Australia with New Zealand so close at hand. ;-)

Seriously what is the difference between SVL and IVL................. if tag stacking was not enough.........
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: Shared VLAN Learning (SVL)

Wed Nov 25, 2020 11:08 pm

Here's an article for you: https://community.extremenetworks.com/f ... vl-5815317 . And another one: https://flylib.com/books/en/2.115.1.55/1/

Come back later and write a resumé for us dummies.
 
ath
just joined
Topic Author
Posts: 18
Joined: Thu May 12, 2016 4:17 am
Location: Melbourne, VIC

Re: Shared VLAN Learning (SVL)

Wed Nov 25, 2020 11:28 pm

Doesn't seem it is possible. Explanation of effects of setting vlan-filtering=yes in bridge manual explicitly states that setting this property changes bridge from SVL to IVL.

What would you like to achieve by running bridge in SVL mode?
It would allow the configuation of asymmetric VLANs as described in Annex F of IEEE Std 802.1Q-2014.
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11598
Joined: Thu Mar 03, 2016 10:23 pm

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 12:02 am

It would allow the configuation of asymmetric VLANs as described in Annex F of IEEE Std 802.1Q-2014.

Now you got me intrigued. I can't find document containing the Annex you mentioned on line, so can you briefly describe how it's supposed to work?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19325
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 12:32 am

Here's an article for you: https://community.extremenetworks.com/f ... vl-5815317 . And another one: https://flylib.com/books/en/2.115.1.55/1/

Come back later and write a resumé for us dummies.
I was hoping for IVL/SVL for dummies ;-)
 
ath
just joined
Topic Author
Posts: 18
Joined: Thu May 12, 2016 4:17 am
Location: Melbourne, VIC

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 6:03 am

It would allow the configuation of asymmetric VLANs as described in Annex F of IEEE Std 802.1Q-2014.

Now you got me intrigued. I can't find document containing the Annex you mentioned on line, so can you briefly describe how it's supposed to work?

A simple example to demonstrate the concept. (This is an example only. It's not what I'm trying to achieve, so please, no suggestions of other ways in which it might be done.)

Start with a 5-port router: ether1 is the uplink; ether2–ether5 are connected to bridge1, which has a PVID of 1. I want to share a single subnet across 2 VLANs (for no particular reason). Ports ether2 and ether3 are both on VLAN 2; ports ether4 and ether5 are both on VLAN 3.
/interface bridge port
	set 0 pvid=2
	set 1 pvid=2
	set 2 pvid=3
	set 3 pvid=3

/interface bridge vlan
	add bridge=bridge vlan-id=1 untagged=ether2,ether3,ether4,ether5
	add bridge=bridge vlan-id=2 untagged=bridge
	add bridge=bridge vlan-id=3 untagged=bridge
	
/interface bridge
	set 0 vlan-filtering=yes
Ports 2 and 3 are isolated from ports 4 and 5, but they all share the subnet configured on the bridge (e.g. 192.168.88.0/24).

This works, but at the expense of flooding. For example, the bridge (on VLAN 1) can't learn the MAC addresses of the hosts connected to ports 2 and 3 (VLAN 2) and to ports 4 and 5 (VLAN 3), because they are on different VLANs, so it floods traffic to all 4 ports. Shared VLAN learning would fix this.
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 8:53 am

Hmmm, not sure I follow.

SVL - Single forwarding database for all Vlans
IVL - Forwarding Database for each vlan.

Use IVL when you want same MAC address in each vlan, how does same subnet come into this?
 
ath
just joined
Topic Author
Posts: 18
Joined: Thu May 12, 2016 4:17 am
Location: Melbourne, VIC

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 11:46 am

Hmmm, not sure I follow.

SVL - Single forwarding database for all Vlans
IVL - Forwarding Database for each vlan.

Use IVL when you want same MAC address in each vlan, how does same subnet come into this?

VLANs 2 and 3 share the subnet configured on the bridge.

The hosts table shows the MAC addresses for the hosts connected to ports 2 and 3 in VLAN 2 (only) and those connected to ports 4 and 5 in VLAN 3 (only). The MAC address for the bridge is in VLAN 1 (only). If the IP address of the bridge is 192.168.88.1/24 and that of the host connected to port 2 is 192.168.88.2/24, then the bridge can send datagrams to the host, but because the host's MAC address is not in VLAN 1, they are flooded to ports 2, 3, 4, and 5.

This is a contrived example. Annex F of IEEE Std 802.1Q-2018, which can be downloaded for free, explains the concept much more clearly.
 
tdw
Forum Guru
Forum Guru
Posts: 1847
Joined: Sat May 05, 2018 11:55 am

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 4:49 pm

Do you require multiple VLANs on ports, or are you just trying to isolate groups of ports sharing a subnet within a layer 2 network? If so port isolation or bridge horizon may be a solution.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19325
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Shared VLAN Learning (SVL)

Thu Nov 26, 2020 6:55 pm

Finally someone (tdw) talking requirements and not fancy acronyms................ whadya want kiss on the forehead or chocolate chip cookie?
 
tdw
Forum Guru
Forum Guru
Posts: 1847
Joined: Sat May 05, 2018 11:55 am

Re: Shared VLAN Learning (SVL)

Fri Nov 27, 2020 5:42 pm

Single malt is good
 
ath
just joined
Topic Author
Posts: 18
Joined: Thu May 12, 2016 4:17 am
Location: Melbourne, VIC

Re: Shared VLAN Learning (SVL)

Sat Nov 28, 2020 2:30 am

Do you require multiple VLANs on ports, or are you just trying to isolate groups of ports sharing a subnet within a layer 2 network? If so port isolation or bridge horizon may be a solution.

Both: ports 2 and 3 on VLAN 2 are isolated from ports 4 and 5 on VLAN 3, but all ports have access to the bridge.

Port isolation is a switch chip feature, so it doesn't apply to (for example) VPLS interfaces. I can't see how bridge horizon would help in this example.
 
tdw
Forum Guru
Forum Guru
Posts: 1847
Joined: Sat May 05, 2018 11:55 am

Re: Shared VLAN Learning (SVL)

Sat Nov 28, 2020 2:30 pm

Yes, bridge horizon wouldn't work with groups of ports. How about bridge filters
/interface list
add name=list1
add name=list2
/interface list member
add interface=ether2 list=list1
add interface=ether3 list=list1
add interface=ether4 list=list2
add interface=ether5 list=list2
/interface bridge filter
add action=drop chain=forward in-interface-list=list1 out-interface-list=list2
add action=drop chain=forward in-interface-list=list2 out-interface-list=list1

Who is online

Users browsing this forum: No registered users and 126 guests