Need to reset Networking

Christian0490

New Member
Aug 14, 2024
6
0
1
Hey,
I have a Proxmox VE installation on which i had my DNS Server and some other stuff.
I accidentally deleted vmbr0 as network bridge.
I tried a reatsrt but after that my vms couldnt start again because vmbr0 wasnt there.
I manually added a vmbr0 and now i cant even access the WebUI anymore...

If i restart the system and try to ping anything it says "Temporary failure in host resolution" and I have to run
dhclient -r
dhclient
To get an IP and reset the resolv.conf to get anything working, the web ui still wont work.


Please help
 
Some Updates:

i cleared the /etc/network/interfaces and now get the correct ip address over my eno1.
I also can access the WebUi.

If i try to start on of my VMs i get the following Error messages:

Code:
bridge 'vmbr0' does not exist
kvm: -netdev type=tap,id=net0,ifname=tap100i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on: network script /var/lib/qemu-server/pve-bridge failed with status 512
TASK ERROR: start failed: QEMU exited with code 1

My interfaces config looks like this:
Code:
root@pve:/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
root@pve:/etc/network#
 
also give the output of ip a

But to get you started, try adding the following BELOW what you already have:

Code:
auto vmbr0
iface vmbr0 inet dhcp
        bridge-ports eno0
        bridge-stp off
        bridge-fd 0

source /etc/network/interfaces.d/*

Sidenote: DHCP for the proxmox-host is not recommended
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!