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

it should create 'subdev0' which is connected to 'br-test', e.g:

root@box:~ ip address show
9: br-test: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
group default 
    link/ether b2:48:7a:a5:96:2e brd ff:ff:ff:ff:ff:ff
    inet6 fe80::b048:7aff:fea5:962e/64 scope link tentative 
       valid_lft forever preferred_lft forever
10: subdev0@br-test: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group 
default 
    link/ether 02:ca:ff:ee:00:02 brd ff:ff:ff:ff:ff:ff

root@box:~ brctl show
bridge name     bridge id               STP enabled     interfaces
br-test         8000.b2487aa5962e       no              wlan0-1

but now it returns:

root@box-r42830:~ ip link add link br-test subdev0 address 02:ca:ff:ee:00:02 
type macvlan
Error: argument "subdev0" is wrong: Unknown device

the kmodule 'macvlan' is loaded according to 'lsmod'. and no errors are in the 
logs.
there where some updates regarding iproute2, maybe this is related?
see: git log --grep iproute2

bye, bastian
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to