Trunk ports with UbiSwitch

If I use trunk ports with the UbiSwitch, will I have to configure VLAN-aware interfaces for my devices, i.e. a Linux Ubuntu PC and a Windows PC?

Yes, a trunk port will expect traffic tagged with a VLAN tag indicating which VLAN it belongs to. Hence you’ll need to ensure that traffic ingressing on P3/P4 from your PC devices has tagged packets. (The caveat being that the trunk port may have a default port VLAN for any untagged traffic but other traffic will require VLAN tags if they are members of another VLAN.)

Here’s an example on archlinux but it should be similar on Ubuntu. As for Windows, I’m not sure (we typically use Linux for our networking tests) but perhaps the Microsoft learn forums are the best place to find out that information.

FYI: trunk ports are typically used for inter-switch connections (so they can share a VLAN topology) or for the ‘router-on-a-stick’ configuration where a device connected on a trunk port performs routing between different VLANs (which can represent LAN or WAN ports respectively). If you give me more information about your application, I’d be happy to help explain how to achieve this on UbiSwitch.

1 Like