dentproject / dentOS

dentOS SwitchDev based NOS
Other
206 stars 59 forks source link

802.1q interface #108

Closed jmpolom closed 1 year ago

jmpolom commented 3 years ago

iproute2 and ifupdown2 support to enable configuring 802.1q interfaces

Planned for "Beeblebrox" release

jmpolom commented 3 years ago

There was a comment during the TSC call on 22 September that suggested the Marvell Prestera switchdev driver doesn't support "VLAN netdevs" or something to that effect if I recall correctly. I've created an issue on the switchdev-prestera repo to seek some clarity on this because the current documentation is outdated (1+ year old) and pretty sparse.

The mlxsw driver seems to support VLAN sub-devices but doesn't show a full configuration to include adding an IP address to a VLAN sub-device. This should be tested on a supported platform that uses mlxsw.

cc: @sonoble @taraschornyiplv @Mickey201

taraschornyiplv commented 1 year ago

vlan sub-interface can be created only on top of .1q bridge https://github.com/Marvell-switching/switchdev-prestera/wiki/l3-configuration#1q-bridge-example