[SOLVED] Setting up network on first VM

Jimbodokin

New Member
Aug 23, 2019
4
0
1
44
I'm trying to set up my first VM, but I'm new to proxmox (6.0) and I'm not sure what I'm doing wrong here. From the looks of it, I think I have the networks on the proxmox machine right based on the docs:

/etc/network/interfaces:

auto enp37s0
iface enp37s0 inet static
address 192.168.X.X
netmask 24
gateway 192.168.1.1

auto vmbr0
iface vmbr0 inet static
address 192.168.1.205
netmask 24
bridge-ports none
bridge-stp off
bridge-fd 0

The VM (Ubuntu 18.04) sees enp6:

ip a:

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
valid_lft forever preferred_lft forever
2: ens18: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 5e:08:e1:c7:7a:d6 brd ff:ff:ff:ff:ff:ff
inet6 fe80::b410:d239:fc80:98e7/64 scope link noprefixroute
valid_lft forever preferred_lft forever

And though I plan to set it to a static, I figure a good test is to have it DHCP from the gateway. Running dhclient, it never receives a DHCPOFFER. It's not getting to the gateway (that is a dhcp server), but I'm not sure why. Any thoughts?
 
Last edited:
Nevermind... fixed by changing:

iface enp37s0 inet manual

...
iface vmbr0 inet static
bridge-ports enp37s0

on the proxmox interfaces

That said, it looks like the proxmox webui can't quite do this on its own.
 

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!