gluon-client-bridge: use a veth pair instead of macvlan to connect local-node to br-client
macvlan interfaces never directly exchange traffic with the underlying interface, but only with other hosts behind the interface. In consequence, router advertisements from the uradvd running on br-client could never reach local-node, preventing it from getting an IPv6 address without RAs from an external radvd. Fix this be replacing the macvlan interface with a veth pair (with the peer interface in br-client). As a side effect, this saves about 5KB of flash, as the veth module is simpler than macvlan.
Showing
- package/gluon-client-bridge/Makefile 1 addition, 1 deletionpackage/gluon-client-bridge/Makefile
- package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network 3 additions, 0 deletions.../luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network
- package/gluon-client-bridge/luasrc/lib/gluon/upgrade/310-gluon-client-bridge-local-node 3 additions, 2 deletions...asrc/lib/gluon/upgrade/310-gluon-client-bridge-local-node
- package/gluon-ebtables/files/lib/gluon/ebtables/101-dir-rules 7 additions, 2 deletions...age/gluon-ebtables/files/lib/gluon/ebtables/101-dir-rules
Please register or sign in to comment