[SOLVED] New Proxmox VE Install - Ubuntu VM can't get IP address

impulse0022

Member
Apr 9, 2021
12
1
8
41
First I'm new to Proxmox so I'm sure I'm missing something easy.

My /etc/network/interfaces is currently configured as:
Code:
# 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

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto eno3
iface eno3 inet manual

auto eno4
iface eno4 inet manual

auto bond0
iface bond0 inet manual
        bond-slaves eno1 eno2 eno3 eno4
        bond-miimon 100
        bond-mode balance-rr

auto vmbr0
iface vmbr0 inet static
        address 192.168.7.200/24
        gateway 192.168.7.1
        bridge-ports bond0
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4094

I can access the Promox web interface using the above configuration but my Ubuntu VM can't get an IP address for some reason.

The Ubuntu VM is configured to use the vmbr0 bridge as the Network Device.
Code:
virtio=XX:XX:XX:XX:XX:XX,bridge=vmbr0,firewall=1

If you could point me in the right direction I would greatly appreciate it!

-Matt
 
Not sure why DHCP isn't working on my Ubuntu VM but if manually specify the IP address on my Ubuntu VM everything works as expected. I can get to the public internet, etc.

This fixes my issue. I just wasn't positive that my Proxmox network configuration was correct.
 

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!