Summary: | Feature request: update bridging/vlan support to use iproute2 features in net-misc/netifrc | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Nikita S. Kipriyanov <nikita.kipriyanov> |
Component: | netifrc | Assignee: | netifrc Team <netifrc> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | netifrc:bridge | ||
Package list: | Runtime testing required: | --- |
Description
Nikita S. Kipriyanov
2016-06-11 15:43:41 UTC
... if community will be interested in this, and will Gentoo development team help me with advices and suggestions. I messed things slightly in example, sorry. Interface veth100i0 should be enslaved first, then vlans could be configured. ip link set dev veth100i0 master br0 and only then bridge vlan add vid 10 dev veth100i0 untagged pvid Have you read net/bridge.sh in netifrc? It already supports setup using iproute2 instead of brctl, and advises users to migrate their configuration: https://wiki.gentoo.org/wiki/Netifrc/Brctl_Migration Further, all of the VLAN pieces you describe here would seem to be functionally identical to setting up the bridge device, then setting up vlan devices on top of that. Eg, this adds an interface on VLAN10 on top of the bridge. ip link add link br0 name br0.10 type vlan id 10 Yes, I had read, but stable one. There is still only brctl. That is why I opened this bug. Sorry. What is strange, I searched web a lot when investigated this new feature and hadn't found that page. This one is resolved, but now interesting see how things are in other packages, namely lxc, which makes extensive use of bridges. |