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?
/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: