[OpenWrt-Devel] iproute2 / macvlan-problem [SOLVED]

Bastian Bittorf bittorf at bluebottle.com
Thu Oct 9 02:14:43 EDT 2014

* Weimarnetz e.V., Vorstand/Vereinsvorsitzender: Bastian Bittorf <bittorf at bluebottle.com> [07.10.2014 17:38]:
> since some weeks i have problems using 'macvlan'.
> it works with r41037 / kernel 3.10.36 and does
> not work with r42830 / kernel 3.10.49 or .55
> what i do is this:
> brctl addbr br-test
> brctl addif br-test $WIFIDEV
> ip link set dev br-test up
> insmod macvlan
> ip link add link br-test subdev0 address 02:ca:ff:ee:00:02 type macvlan

just for reference: the new iproute2 is a bit more strict about the syntax:

will NOT work:
ip link add link $PHYDEV $NEWDEV type macvlan
ip link add link $PHYDEV name $NEWDEV type macvlan

sorry for confusion, hope it helps somebody. bye, bastian
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list