[OpenWrt-Devel] [PATCH] vlandev: Add support for setting a unique MAC on a VLAN interface

Andre Valentin avalentin at marcant.net
Sun Jan 24 15:34:55 EST 2016


Am 24.01.2016 um 20:47 schrieb André Valentin:
> 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.
> Example:
> 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'

Wiki now inlcudes vlandev and the new macaddr option.
https://wiki.openwrt.org/doc/uci/network#devices

Kind regards,

André
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list