[OpenWrt-Devel] [PATCH] vlandev: Add support for setting a unique MAC on a VLAN interface
nbd at openwrt.org
Thu Jan 28 17:35:50 EST 2016
On 2016-01-24 20:47, André Valentin wrote:
> There are cases where you need a different MAC on a VLAN interface, i.e. if
> if have move than one connection to a switch. A later change of the MAC
> is not possible on VLAN interfaces, so it has to be done on creation.
> The new macaddr option allows to set a unique MAC for a VLAN interface.
> config device 'testvl'
> option type '8021ad'
> option name 'testvl'
> option ifname 'eth0'
> option vid '106'
> option macaddr 'f2:48:00:89:45:4c'
> config interface 'testif'
> option ifname 'testvl'
> option proto 'none'
> option auto '1'
> Signed-off-by: André Valentin <avalentin at marcant.net>
I don't see the point of this patch - I just tried your example config,
and it works just fine without it ;)
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel