惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
博客园 - Franky
酷 壳 – CoolShell
酷 壳 – CoolShell
Last Week in AI
Last Week in AI
博客园 - 叶小钗
博客园_首页
阮一峰的网络日志
阮一峰的网络日志
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Application and Cybersecurity Blog
Application and Cybersecurity Blog
TaoSecurity Blog
TaoSecurity Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
J
Java Code Geeks
爱范儿
爱范儿
宝玉的分享
宝玉的分享
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
量子位
N
News and Events Feed by Topic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Commits to openclaw:main
Recent Commits to openclaw:main
SecWiki News
SecWiki News
MyScale Blog
MyScale Blog
AI
AI
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - 【当耐特】
Security Archives - TechRepublic
Security Archives - TechRepublic
F
Fortinet All Blogs
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
有赞技术团队
有赞技术团队
W
WeLiveSecurity
Project Zero
Project Zero
T
Tor Project blog
Help Net Security
Help Net Security
L
LINUX DO - 最新话题
IT之家
IT之家
The Hacker News
The Hacker News
腾讯CDC
Schneier on Security
Schneier on Security
N
News and Events Feed by Topic
C
Cisco Blogs
博客园 - 聂微东
Webroot Blog
Webroot Blog
Forbes - Security
Forbes - Security
M
MIT News - Artificial intelligence
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans

Arch Linux Forums

Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner segmentation fault in cc1plus when building CLK / AUR Issues, Discussion & PKGBUILD Requests Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments on Linux arch 7.0.10-arch1-1 connection drops / Networking, Server, and Protection GDM does not open login screen after update / Newbie Corner Cinnamon (X11) fails to load after update (Page 2) / Applications & Desktop Environments fontconfig-2:2.18.x - broken fonts? (Page 2) / Applications & Desktop Environments Bluetooth headphones connect but don't auto-switch (alsa 1.2.16) / Multimedia and Games Audio breaks after every suspend/change of VT (Page 2) / Newbie Corner EFI stub: Warning: unable to unprotect memory range (Page 3) / Kernel & Hardware Keyboard problem with the french disposition / Newbie Corner Working with two network interfaces / Networking, Server, and Protection [SOLVED] Power spikes on laptop / Laptop Issues Problems with Qt? (Page 2) / Applications & Desktop Environments plasmashell 6.6.5 crashing on loop / Applications & Desktop Environments I'm worried / Newbie Corner Help! RTL8723BS "coalesce failed with error -22" after upgrade / Laptop Issues System notifications not working on any browser / Applications & Desktop Environments installing kernels with kernel-install / Community Contributions [SOLVED] Intel AX210 issue on linux=7.0.10 / Kernel & Hardware No longer booting after Windows 11 update / Installation *SOLVED* Two PC's but different boot times - Kernel 7.0? / Kernel & Hardware gnome-shell continuous clutter_input_focus_set_cursor_location msg / Pacman & Package Upgrade Issues google-chrome, vscode and spotify are ignore my fontconfig / Applications & Desktop Environments KDE6 Akonadi default database backend / Creating & Modifying Packages Support / Routing quirks for new Creative Sound Blaster AE-X (USB ID 0 / Kernel & Hardware Kernel Panic and system freezes with 4x16 DDR5 / Kernel & Hardware dm-crypt and SSDs / Newbie Corner Problems with Worms WMD / Newbie Corner Freeze after login whenever upgrading nvidia/kernel / Laptop Issues Blender crashes on startup when using Vulkan backend / Applications & Desktop Environments Top 5 MDM Solutions for Linux Devices in 2026 Elden Ring crash in sound initialisation / Multimedia and Games AUR connection issues (EOF/TLS errors) (Page 5) / AUR Issues, Discussion & PKGBUILD Requests GNOME freeze after login / Applications & Desktop Environments Bash is weird now / Newbie Corner Gif as KDE avatar / Applications & Desktop Environments Export in musescore / Applications & Desktop Environments Nvidia And Amd Drivers / Applications & Desktop Environments [SOLVED] How to get pavucontrol in dark mode? / Newbie Corner Startx does not work / Applications & Desktop Environments Coturn server installtaion / Applications & Desktop Environments Could not resolve Matrix-synapse dependency error / Applications & Desktop Environments Possible solution for mesa-amber build failure with glibc-2.43 / Multimedia and Games [SOLVED] Plymouth forces English (US) layout on boot / Newbie Corner [Solved]What should I use as license if the upstream repo has none? / AUR Issues, Discussion & PKGBUILD Requests The Official Hello Everyone Thread (Page 334) / Newbie Corner [SOLVED] EPSON ET-2710 printer only printing blank pages / Newbie Corner [SOLVED]Session crashes after login, booted back to sddm / Laptop Issues [SOLVED] Asus monitor suspend results in on/off cycling / Newbie Corner Ultrahuman Discount Code [SAVEULTRA] 10% Off For Existing Customers / Creating & Modifying Packages Ultrahuman Discount Code [SAVEULTRA] 10% Off – Verified Coupon for Exi / Arch Discussion New Ultrahuman Discount Code [SAVEULTRA] 2026 – Get 20% Extra OffToday / Programming & Scripting Ultrahuman Discount Code 2026 - "SAVEULTRA" - Get 20% Extra Off / Newbie Corner Sway keybinding stops working after sleep / Applications & Desktop Environments QEMU SPICE how to achieve bidirectional clipboard with Sway? / Applications & Desktop Environments Apollo Neuro Promo Code [APOLLOZEN] $99 Off Legit Or Just Marketing Apollo Neuro Discount Code $99 Off [APOLLOZEN] Secret Savings Trick HTTP session disconnect on WI-FI disconnect / Networking, Server, and Protection [SOLVED] Cannot chain-load into Windows with GRUB. / Newbie Corner [SOLVED] Font hinting appears to be disabled on Qt6 applications? / Applications & Desktop Environments Black screen after waking up from sleep/hybernate/suspend. / Newbie Corner Diskless booting failing, ipconfig no devices to configure / Kernel & Hardware Strange Font Issue Across System / Newbie Corner [SOLVED] Laptop doesn't wake from sleep on NVIDIA 595.71.05 drivers / Newbie Corner Touchpad randomly stops moving (clicks still work) on Hyprland / Laptop Issues Random hangs on Ryzen Mobile after 6.18.13 ? / Kernel & Hardware [SOLVED] Can't get IP address for USB Ethernet device (KORG Wavestate) / Networking, Server, and Protection Laptop display does not turn on after being off for around 50 min / Multimedia and Games Text Corruption in GPU Screen Recorder GUI / Applications & Desktop Environments Mouse not correctly recognized during boot (Page 2) / Kernel & Hardware PKGBUILD review / AUR Issues, Discussion & PKGBUILD Requests Touchpad not working / Newbie Corner
Cannot connect to VM Network Bridge / Networking, Server, and Protection
CryogEnix · 2026-06-18 · via Arch Linux Forums

After fiddling around with Network Manager's configuration, I've determined to be in need of guidance to solve the mess I've put myself into. If anyone thinks they can help, I would greatly appreciate.

My intention, if I understand what I'm even trying to do, is to setup my VM under a bridged network so that it doesn't use the VPN I have running in my Linux host.
Now, I think I managed to get the network going, but since the VM kept using my VPN connection I assumed that this wasn't the case...

At first, I've tried the following commands:

   $ nmcli con add type bridge ifname br0 stp no
   $ nmcli con add type bridge-slave ifname enp14s0 master br0
   $ nmcli connection down Wired\ Connection\ 2
   $ nmcli connection up bridge-br0
   $ nmcli connection up bridge-slave-enp14s0

which resulted in the following ("batless" is an alias for "bat --pager=less"):

    $ nmcli connection show | batless
─────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     │ STDIN
─────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ NAME                  UUID                                  TYPE      DEVICE
   2 │ bridge-slave-enp14s0  248eb93c-5278-44b4-a03a-74ab1f96300f  ethernet  enp14s0
   3 │ bridge-br0            d4df0532-ebdf-43e1-a4e0-51d735a2f702  bridge    br0
   4 │ lo                    7540fc88-032d-4685-b973-1799636bbec5  loopback  lo
   5 | virbr0                 (I don't remember what UUID was here)  bridge  ???
   6 │ Wired connection 1    9dc605f1-25d0-3b68-8c1f-1fe1bb2ac5cc  ethernet  --
   7 │ Wired connection 2    b0423d7d-46b1-31dd-af67-f82e4b8a9c5c  ethernet  --
─────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Following the instructions of https://wiki.archlinux.org/title/Networ … orkManager:

   $ nmcli connection modify Wired\ Connection\ 2 connection.autoconnect no

At this point, I wanted to add DHCP:

   $ nmcli con mod bridge-slave-enp14s0 ipv4.method auto
   $ nmcli con up bridge-slave-enp14s0

This is where my confusion started.
For some reason, while I was getting normal ethernet connection, the VPN would no longer connect, so I went in circles connecting and disconnecting while checking to see if anything changed with the "batless" command earlier. Eventually, I found a solution in the troubleshooting section of the Arch manual's article by running the following commands in sequence:

  • 1. $ nmcli connection up Wired\ connection\ 2

  • 2. activate my VPN

  • 3. $ nmcli connection up bridge-slave-enp14s0

This would be required every time I wanted to connect with my VPN on the bridge slave.

   I then created an xml file:

   $ batless ~/My_VMs/bridge-network.xml
─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     │ File: /home/nocia/My_VMs/bridge-network.xml
─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ <network>
   2 │   <name>br0net</name>
   3 │   <forward mode='bridge'/>
   4 │   <bridge name='br0'/>
   5 │ </network>
─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   $ virsh net-define bridge-network.xml
              $ virsh net-start br0net
              $ virsh net-autostart br0net

In Virt-Manager, a new bridge network would show up as "(inactive)" in the NIC Network source, so I relaunched Virt-Manager which updated it to no longer be listed as inactive. I switched from "Virtual network 'default' : NAT" (which I had setup with "firewall_backend = "iptables"" in "/etc/libvirt/network.conf") to the new "Virtual network 'br0net' : BRIDGE network". I launched the VM, but upon checking the IP address in browserleak.com, it was still the same as the one in my Linux host, so I thought the bridge wasn't working as I intended. I powered down the VM...and from what I recall, this is where it all went south.
I thought the default "virbr0" bridge that showed up with

was preventing the VM from properly connecting to the new "bridge-br0"ーat that point, I had two virtual networks up and running:

   $ virsh net-list
   Name     State    Autostart   Persistent
   -------------------------------------------
    br0net   active   yes         yes
    default  active   yes         yes

So I ran the following:

    $ nmcli connection down virbr0

After that, the network "virbr0" was replaced by "vnet5" in Glances; "enp14s0" was also replaced by "br0".
I relaunch the VM...
This time, there was no ethernet connection at all in the VM.
I closed the VM again. When I checked "$ ip addr", "virbr0" had disappeared. It would no longer show up with either "$ ip addr" or "$ nmcli connection show | batless". Only "vnet5" was up and running and it had no inet IPv4 address.
I relaunched the VM. Again, no ethernet connection in the VM.
At some point, I manage to get "virbr0" back up with:

    $ sudo ip link set virbr0 up

only it had no IP addressーon the other hand, "vnet5", which had appeared the first time I launched the VM after autostarting the "br0net" BRIDGE network, only had an IPv6 in the output of "$ ip addr", its status was "UNKNOWN" and its master was "virbr0".

   I kept going in circles again to try to make sense of what was going on until I eventually ran:

    $ virsh net-autostart br0net --disable

and rebooted the PC.
   Once I got back into my display compositor, I changed the Virt-Manager NIC back to the default NAT, ran the same sequence of two commands and activating my VPN between both as I mentioned earlier to get a connection running again and relaunched the VM once more...
   Now I'm back at square one...with my journal indicating that ntpd is unable to remove some kind of self-restriction for fe80::fb50:ec50:8b88:4e84%10:

   $ journalctl -p 3 -xb
Jun 18 05:02:26 archlinux kernel: amdgpu: Overdrive is enabled, please disable it before reporting any bugs unrelated to overdrive.
Jun 18 05:02:29 Markury kernel: Bluetooth: hci0: Opcode 0x0c03 failed: -16
Jun 18 05:02:49 Markury kernel: xhci_hcd 0000:7a:00.0: PM: suspend_common(): xhci_pci_suspend returns -110
Jun 18 05:02:49 Markury kernel: xhci_hcd 0000:7a:00.0: can't suspend (hcd_pci_runtime_suspend returned -110)
Jun 18 05:03:14 Markury polkit-agent-helper-1[1382]: pam_unix(polkit-1:auth): conversation failed
Jun 18 05:03:14 Markury polkit-agent-helper-1[1382]: pam_unix(polkit-1:auth): auth could not identify password for [nocia]
Jun 18 05:05:38 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%10
Jun 18 05:07:33 Markury polkit-agent-helper-1[12233]: pam_unix(polkit-1:auth): conversation failed
Jun 18 05:07:33 Markury polkit-agent-helper-1[12233]: pam_unix(polkit-1:auth): auth could not identify password for [nocia]
Jun 18 05:07:33 Markury polkit-agent-helper-1[12247]: pam_unix(polkit-1:auth): conversation failed
Jun 18 05:07:33 Markury polkit-agent-helper-1[12247]: pam_unix(polkit-1:auth): auth could not identify password for [nocia]
Jun 18 05:07:33 Markury polkit-agent-helper-1[12247]: pam_faillock(polkit-1:auth): Error sending audit message: Address family not supported by protocol
Jun 18 05:07:33 Markury polkit-agent-helper-1[12247]: pam_faillock(polkit-1:auth): Error sending audit message: Address family not supported by protocol
Jun 18 05:15:05 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%14
Jun 18 05:22:16 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%17
Jun 18 05:29:19 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%24
Jun 18 05:38:05 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%28
Jun 18 05:43:54 Markury ntpd[1075]: unable to remove self-restriction for fe80::fb50:ec50:8b88:4e84%34

   As you can see, after shutting down the VM again, I've made it so that only "br0net" gets autostarted on boot, rebooted the PC, then tried to repeat steps 1, 2 and 3, but now every time I want to reconnect while using the "bridge-slave-enp14s0", it just stops trying to connect. Now, I'm stuck between this:

   $ nmcli connection show | batless
─────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     │ STDIN
─────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ NAME                  UUID                                  TYPE      DEVICE
   2 │ bridge-slave-enp14s0  248eb93c-5278-44b4-a03a-74ab1f96300f  ethernet  enp14s0
   3 │ bridge-br0            d4df0532-ebdf-43e1-a4e0-51d735a2f702  bridge    br0
   4 │ lo                    7540fc88-032d-4685-b973-1799636bbec5  loopback  lo
   5 │ Wired connection 1    9dc605f1-25d0-3b68-8c1f-1fe1bb2ac5cc  ethernet  --
   6 │ Wired connection 2    b0423d7d-46b1-31dd-af67-f82e4b8a9c5c  ethernet  --
─────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

and this:

   $ nmcli connection show | batless
─────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     │ STDIN
─────┼─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ NAME                  UUID                                  TYPE      DEVICE
   2 │ lo                    7540fc88-032d-4685-b973-1799636bbec5  loopback  lo
   3 │ bridge-br0            d4df0532-ebdf-43e1-a4e0-51d735a2f702  bridge    --
   4 │ bridge-slave-enp14s0  248eb93c-5278-44b4-a03a-74ab1f96300f  ethernet  --
   5 │ Wired connection 1    9dc605f1-25d0-3b68-8c1f-1fe1bb2ac5cc  ethernet  --
   6 │ Wired connection 2    b0423d7d-46b1-31dd-af67-f82e4b8a9c5c  ethernet  --
─────┴─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

   As of right now, I can only have a working ethernet on "Wireless Connection 2", which updates its device to "enp14s0" every time I turn its status back UP.

   So now, I have three questions:

  • 1. How do I get the VM to connect directly to my router without using my host's connection?

  • 2. How do I solve ntpd's self-restriction?

  • 3. Is there a way to make it so that I don't have to go through steps 1, 2 and 3 to get my VPN to work with this configuration?

Last edited by CryogEnix (Today 11:50:04)