https://bugs.kde.org/show_bug.cgi?id=516709
--- Comment #16 from kodirovsshik <[email protected]> --- So about getting a working VLAN connection for testing purposes. I've crafted an example which I made as minimal as I could. The idea is to fake an intermediate level of virtual hardware between you and your router. This will allow you to create a working VLAN connection that connects to your router directly. Warning: you will lose internet connectivity during *some* parts of the process. You will need OVS for this, install it with your distro's package manager (openvswitch-switch on Debian/Ubuntu, openvswitch on Arch). Make sure the daemon is running: ``` sudo systemctl enable --now openvswitch-switch # ovs-vswitchd on Arch ``` Create a new virtual switch: ``` sudo ovs-vsctl add-br br-vlan-test nmcli device set br-vlan-test managed no sudo ip link set br-vlan-test up ``` Deconfigure your Ethernet interface and "transfer its ownership" to the virtual switch just created (you will lose internet connectivity) (replace enpXs0 with your actual interface name, replace "Wired Connection 1" with your Ethernet connection name): ``` nmcli connection down "Wired Connection 1" nmcli device set enpXs0 managed no sudo ovs-vsctl add-port br-vlan-test enpXs0 tag=1234 ``` Create a VLAN connection in NM: ``` nmcli connection add type vlan con-name VLAN1234 autoconnect no ifname vlan1234 dev br-vlan-test id 1234 nmcli connection up VLAN1234 ``` Internet connectivity should be back now. Check the results: ``` ip --color=always address nmcli networking connectivity check ``` Perhaps not the best approach but it's the simplest and gets the job done. Way less convoluted than things I was thinking about at first and should actually be pretty safe to do even on a daily driver (I'm writing this comment from my home PC using a VLAN connection created this way, and can actually now see the issue happening on the second machine, as I'm seeing the "disconnected" icon with full connectivity). Below are steps to bring your machine into the state it started with (replace enpXs0 with your actual interface name, replace "Wired Connection 1" with your Ethernet connection name): ``` nmcli connection delete VLAN1234 sudo ovs-vsctl del-br br-vlan-test nmcli device set enpXs0 managed yes nmcli connection up "Wired Connection 1" ``` -- You are receiving this mail because: You are watching all bug changes.
