Skip to content
Snippets Groups Projects
Forked from ffbs / ffbs-gluon
Source project has a limited visibility.
  • Matthias Schiffer's avatar
    f238b011
    gluon-client-bridge: use a veth pair instead of macvlan to connect local-node to br-client · f238b011
    Matthias Schiffer authored
    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.
    gluon-client-bridge: use a veth pair instead of macvlan to connect local-node to br-client
    Matthias Schiffer authored
    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.