[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140929.153653.1684891612078458544.davem@davemloft.net>
Date: Mon, 29 Sep 2014 15:36:53 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: michael-dev@...i-braun.de
Cc: netdev@...r.kernel.org, projekt-wlan@....tu-ilmenau.de
Subject: Re: [PATCH net-next] macvlan: add source mode
From: michael-dev@...i-braun.de
Date: Thu, 25 Sep 2014 16:31:08 +0200
> From: Michael Braun <michael-dev@...i-braun.de>
>
> This patch adds a new mode of operation to macvlan, called "source".
> It allows one to set a list of allowed mac address, which is used
> to match against source mac address from received frames on underlying
> interface.
> This enables creating mac based VLAN associations, instead of standard
> port or tag based. The feature is useful to deploy 802.1x mac based
> behavior, where drivers of underlying interfaces doesn't allows that.
>
> Configuration is done through the netlink interface using e.g.:
> ip link add link eth0 name macvlan0 type macvlan mode source
> ip link add link eth0 name macvlan1 type macvlan mode source
> ip link set link dev macvlan0 type macvlan macaddr add 00:11:11:11:11:11
> ip link set link dev macvlan0 type macvlan macaddr add 00:22:22:22:22:22
> ip link set link dev macvlan0 type macvlan macaddr add 00:33:33:33:33:33
> ip link set link dev macvlan1 type macvlan macaddr add 00:33:33:33:33:33
> ip link set link dev macvlan1 type macvlan macaddr add 00:44:44:44:44:44
>
> This allows clients with MAC addresses 00:11:11:11:11:11,
> 00:22:22:22:22:22 to be part of only VLAN associated with macvlan0
> interface. Clients with MAC addresses 00:44:44:44:44:44 with only VLAN
> associated with macvlan1 interface. And client with MAC address
> 00:33:33:33:33:33 to be associated with both VLANs.
>
> Based on work of Stefan Gula <steweg@...il.com>
>
> Signed-off-by: Michael Braun <michael-dev@...i-braun.de>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists