Community discussions

MikroTik App
 
bgronin
just joined
Topic Author
Posts: 2
Joined: Thu Aug 09, 2012 4:30 pm

vpls-mac-learning-disabled

Thu Aug 09, 2012 4:43 pm

Hi

I need a mac learning free PW p2p circuit( for examaple xconnect) between RB and Cisco or RB and Juniper.

Concerning Cisco and Juniper there is no problem, but at RB i do not see any possibilities to disable mac-learning.

Do somebody know how to achieve a free mac learning solution with RbOS?
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Re: vpls-mac-learning-disabled

Fri Aug 10, 2012 9:25 pm

For BGP signaled VPLS, I don't know of a solution.

For LDP signaled VPLS, set 'External FDB' to 'yes' in the bridge port configuration.

For example:
/interface bridge port
set [find bridge="PW-Bridge"] external-fdb=yes
--Eric
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Re: vpls-mac-learning-disabled

Fri Aug 10, 2012 9:35 pm

Actually, that should be:

For BGP signaled VPLS, I don't know of a _clean_ solution.

You can set 'bridge=none' in the '/interface vpls bgp-vpls' configuration, and create a periodically-run script that automatically maintains '/interface bridge port', by adding the dynamic VPLS interface with 'external-fdb=yes', and cleans up the inevitable 'interface=unknown' entries that will build up.

Not nice, but it would work.

--Eric
 
bgronin
just joined
Topic Author
Posts: 2
Joined: Thu Aug 09, 2012 4:30 pm

Re: vpls-mac-learning-disabled

Mon Aug 13, 2012 10:31 am

Hi Eric

I set this command but there are still host mac-addresses available.

Have i set external-fdb to all binded ports to the bridge?

[find bridge="PW-Bridge"] - ? is this a standard type of bridge?
 
eflanery
Member
Member
Posts: 376
Joined: Fri May 28, 2004 10:11 pm
Location: Moscow, ID
Contact:

Re: vpls-mac-learning-disabled

Mon Aug 13, 2012 4:36 pm

The local MACs (from the interfaces that make up the bridge) will always be in the host table; but with external-fdb=yes, MACs of other devices won't be learned.

Yes, 'external-fdb=yes' should be set for all ports in the bridge, assuming that's what you want. Be careful if you have more than two ports in the bridge though, it will basically act like a hub, replicating packets left and right.

'PW-bridge' is just a name, substitute for whatever you use.

--Eric

Who is online

Users browsing this forum: Google [Bot] and 25 guests