No internet within VM bare-metal OVH , IP additionnal bridge

Feb 21, 2025
10
2
3
Florida, US
I'm trying to get my first VM up & running (Rocky9.5) but I can't figure out the basic networking (I'm on a bare-metal server at OVH, 1 IP for the host, a /29 set of 6 usable IP's for my VMs) . Under Summary/IPs I'm provided the status msg that "Guest Agent not running", so I assume I need to get this up. Under Options/QEMU Guest Agent, I have this enabled:

2025-05-04_19h19_41.png

I've determined that the name of the required package in RHEL world is "qemu-guest-agent". When I probe my local packages installed via Rocky's "mimimal" distro, I'm told that it's not installed.

Is this a "chicken & egg" conundrum? I need to have the qemu-guest-agent up and running in order to get my network up & running, but I can't hit any external repositories without the networking up & running.

In this case, do I need to open a route (like a shared folder?) between my Dom0 and this new VM in order to get this required package into the (non-networking) VM? I guess another solution may be to use the full DVD distro instead of the Minimal distro (I need to separately research if this qemu package is in the full distro first).

Am I missing something here?
 
The qemu guest agent is not required for networking to work as Stev e mentioned. But what it will do for you is let you see the IP addresses that the VM has. How are you assigning IP addresses to your VM? DHCP or static IP address?
 
post your /etc/network/interfaces
Please into CODE tags.
Bash:
root@bhs0:/etc/network# cat interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface ens2f0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 0.0.87.118/24
        gateway 0.0.87.254
        bridge-ports ens2f0
        bridge-stp off
        bridge-fd 0
        hwaddress B4:96:91:16:30:40

iface vmbr0 inet6 static
        address 1111:2222:3333:7576::/64

        gateway 1111:2222:3333:75ff:ff:ff:ff:ff

source /etc/network/interfaces.d/*



2025-05-05_01h54_26.png

We can see my problem clearly here - these indicated (contradictory/wrong) values are being auto populated via my use of the "NetworkManager" app in Rocky... the indicated "hwaddress B4:96:91:16:30:40" is random/wrong, and "address 0.0.87.118/24
gateway 0.0.87.254" are my Dom0's values... not my VMs values.

The comment/missive (at the top of 'interfaces') is directing me to manually set my VM's static particulars via use of "source" and/or "source-directory" directives. This looks like what I'm missing here... but where can I find more comprehensive docs on this? I don't see this particular mentioned anywhere else.
 
Last edited:
Hide your public IP , even more when PVE WebUI is open publicly.

EDIT: Rename your Thread "title" as nothing to do with the QEMU agent, like "No internet within VM bare-metal OVH , IP additionnal bridge"
 
Last edited:
Bash:
root@bhs0:/etc/network# cat interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface ens2f0 inet manual

auto vmbr0
iface vmbr0 inet static
        address 0.0.87.118/24
        gateway 0.0.87.254
        bridge-ports ens2f0
        bridge-stp off
        bridge-fd 0
        hwaddress B4:96:91:16:30:40

iface vmbr0 inet6 static
        address 1111:2222:3333:7576::/64

        gateway 1111:2222:3333:75ff:ff:ff:ff:ff

source /etc/network/interfaces.d/*

View attachment 85702

View attachment 85703

We can see my problem clearly here - these indicated (contradictory/wrong) values are being auto populated via my use of the "NetworkManager" app in Rocky... the indicated "hwaddress B4:96:91:16:30:40" is random/wrong, and "address 0.0.87.118/24
gateway 0.0.87.254" are my Dom0's values... not my VMs values.

The comment/missive (at the top of 'interfaces') is directing me to manually set my VM's static particulars via use of "source" and/or "source-directory" directives. This looks like what I'm missing here... but where can I find more comprehensive docs on this? I don't see this particular mentioned anywhere else.
CoPilot is helping me out here... this is 100% a Rocky9/NetworkManager issue down in the VM... not a ProxMox or OVH, etc, issue. I'm being directed to use certain newish NetworkManager cli tools to set these desired values. The RHEL/9 ecosphere is pushing this new NetworkManager way of networking... and it's a materially new approach over prior major release environments.

I'm too exhausted to do this now (06:55z - 2:45am local time)... so I'll pick it up again and report back later today.
 
Last edited:
Hide your public IP , even more when PVE WebUI is open publicly.

EDIT: Rename your Thread "title" as nothing to do with the QEMU agent, like "No internet within VM bare-metal OVH , IP additionnal bridge"
I'm on Win11 here. My only tool for obfuscating images (my public IP) is via the overly cumbersome Adobe Photoshop. Can you recommend some lighter weight app for this? I changed the thread title (thank you for your clarity). I'm on a static client IP, so I can/will firewall that OVH server IP asap/now - I'll also change the default WebUI port... so with a FW running, a diff port #, and use of a decent password... if you think it necessary, I'll additionally photoshop/obfuscate the earlier images...
 
  • Like
Reactions: _gabriel
I'm on Win11 here. My only tool for obfuscating images (my public IP) is via the overly cumbersome Adobe Photoshop. Can you recommend some lighter weight app for this? I changed the thread title (thank you for your clarity). I'm on a static client IP, so I can/will firewall that OVH server IP asap/now - I'll also change the default WebUI port... so with a FW running, a diff port #, and use of a decent password... if you think it necessary, I'll additionally photoshop/obfuscate the earlier images...
Earlier (scantily clad) post & images fixed (via PhotoShop).
 
I reinstalled my ProxMox. I'm still not able to get a newly installed Rocky9.5 VM networking. This probably has to do with a mental block I have about networking (coming from my XenServer/XCPng background). Something(s) required in ProxMox are probably 180* opposite the way similar things are done in XS. I need step-by-step (simpleton) help with this setup. I'll close this thread and start up a new one (plus initiate a help request to ProxMox also).