rtnetlink
rtnetlink copied to clipboard
Can this package be used to create bridge and VLAN interface?
- Create bridge.
- Equivalent to
ip link add name <bridge-name> type bridge.
- Equivalent to
- Create VLAN interface.
- Equivalent to
ip link add link <parentLink> name <parentLink>.<vlan-id> type vlan id <vlan-id>.
- Equivalent to
The groundwork for this has been done using drivers. Unfortunately, at this point, only bond, netkit and veth has working drivers. I have not gotten around to creating drivers for bridge or vlan. I would be very grateful for help in this regard.
I have implemented the missing drivers. You should be able to create the interfaces you requested.