[systemd-devel] [PATCH v3] Add FDB support
Rauta, Alin
alin.rauta at intel.com
Thu Dec 18 02:00:34 PST 2014
Hi Johann,
Also, note that VlanId is optional. It makes more sense for switch ports.
Regarding my “em1” (Ethernet management) interface, probably I should have send an example without VLANId.
And “BridgeFDB”s are in the .network following the logic of routes.
To be clear look at the outputs below:
1. for a normal port:
>bridge fdb show dev em1
44:44:12:34:56:70 self permanent
44:44:12:34:56:71 self permanent
33:33:00:00:00:01 self permanent
01:00:5e:00:00:01 self permanent
33:33:ff:8f:e7:3f self permanent
01:00:5e:00:00:fc self permanent
33:33:00:01:00:03 self permanent
2. for a switch port:
>bridge fdb show dev sw0p1
14:44:12:34:56:70 vlan 2 self permanent
14:44:12:34:56:71 vlan 10 self permanent
/Alin
From: systemd-devel [mailto:systemd-devel-bounces at lists.freedesktop.org] On Behalf Of "Jóhann B. Guðmundsson"
Sent: Thursday, December 18, 2014 5:51 AM
To: systemd-devel at lists.freedesktop.org
Subject: Re: [systemd-devel] [PATCH v3] Add FDB support
On 12/17/2014 05:46 PM, "Jóhann B. Guðmundsson" wrote:
On 12/17/2014 03:35 PM, Alin Rauta wrote:
Hi Tom,
I've formatted the patch based on our previous discussions. This one has support only for adding FDB entries.
An example configuration is like below:
[Match]
Name=em1
[Network]
DHCP=v4
[BridgeFDB]
MACAddress=44:44:12:34:56:71
VLANId=9
[BridgeFDB]
MACAddress=44:44:12:34:56:70
VLANId=2
br0
Please let me know what you think.
Thanks,
Alin
If I start trying to match this with the entire type network files and their path ( feel free to correct me where I'm wrong here )
It would have to look like this...
Ignore my mac address entry confusion with the bridge mac addresses in the MAC learning table and the interface mac address here ( em1 ) which somewhat would have been eliminated if we had [BridgePort] and arguably [BridgePortFDB] sections in the network file
JBG
JBG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141218/ce34d0ca/attachment-0001.html>
More information about the systemd-devel
mailing list