I have Ubuntu LTS release 22.04.
I need to figure out how to specify which interface in my machine is the one it's using for network traffic. It's a Thinkpad w541 laptop. I need to be able to create virtual (VLAN) interface's and get my computer to use them instead of the "normal" interface.
Let's say I need to be able to access VLAN 6 on my computer. I have the interface in terminal. If I run an ifconfig, I see the enp0s25.6 interface with a valid network address, as well as the normal enp0s25 as well as the wireless interface and the loopback interface.
But my computer always chooses to use the enp0s25 interface.
How can I get it to use the enp0s25.6 virtual interface? I used the advanced network settings GUI to create the VLAN interface. It doesn't give any option to actually use it. The normal GUI settings do not say anything about vlans, so I assume I need the terminal.