Help configuring network interface when hosting Proxmox on a VM

hummmingbear

New Member
Nov 7, 2023
4
0
1
I'm running Proxmox on a Debian VM in Azure (i know, i know, I have my reasons). When I went to start a LXC I received an error saying it could not start because bridge vmbr0 doesn't exist.

I went to add it in network interfaces and my code is below, but this borked my network and systemd-networkd-wait-online was hung.


Bash:
auto lo
iface lo inet loopback

iface eth0 inet manual

auto vmbr0

iface vmbr0 inet static
    address 10.0.0.4/24
    gateway 10.0.0.1
    bridge-ports eth0
    bridge-stp off
    bridge-fd 0

I'm not sure what my correct interface config should be here given my VM setup. Below is the output of ip route show

Bash:
default via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.5 metric 100
10.0.0.0/24 dev eth0 proto kernel scope link src 10.0.0.5 metric 100
10.0.0.1 dev eth0 proto dhcp scope link src 10.0.0.5 metric 100
168.63.129.16 via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.5 metric 100
169.254.169.254 via 10.0.0.1 dev eth0 proto dhcp src 10.0.0.5 metric 100

And ip -a

Bash:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
    valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:22:48:5f:01:5e brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.5/24 metric 100 brd 10.0.0.255 scope global eth0
    valid_lft forever preferred_lft forever
    inet6 fe80::222:48ff:fe5f:15e/64 scope link
    valid_lft forever preferred_lft forever

$: hostname -i: 10.0.0.4

Both of these commands are after I removed the `vmbr0` from my network interface to get things back up and running. Any help appreciated here.
 

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!