VM doesn't get an IP from the DHCP server

Impovich

New Member
Apr 28, 2023
6
0
1
Hello all,
Installed the latest Proxmox and started VMs migration from xp-ng to Proxmox
migrated 1 Ubuntu VM which starts perfectly but doesn't get an IP address if I use vmbr1 but if I use vmbr0 everything is fine.
Also when I use vmbr1 I see that the router offers an IP to my VM
Code:
DHCPOFFER on 192.168.10.169 to 7a:2b:48:94:dd:c4 via xn1
Also if I'm not mistaken(tried different approaches) if I set static IP withing VM using vmbr1 it can't ping anything
Tried to install fresh Ubuntu which also gets no ip

Proxmox:
Code:
root@pve1:~# qm config 101
agent: 1
boot: order=scsi1
cores: 1
memory: 6000
meta: creation-qemu=7.2.0,ctime=1682693966
name: unifi-controller
net0: virtio=7A:2B:48:94:DD:C4,bridge=vmbr1,firewall=1
numa: 0
ostype: l26
scsi1: local-zfs:vm-101-disk-1,iothread=1,size=20G
scsihw: virtio-scsi-single
smbios1: uuid=25344833-c7ae-4870-8950-bec00b03aada
sockets: 1
vmgenid: 4980606b-009c-47eb-812c-189bb23e6d11


Code:
auto lo
iface lo inet loopback

iface eno2 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
    address 192.168.10.168/24
    gateway 192.168.10.1
    bridge-ports eno2
    bridge-stp off
    bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
    bridge-ports eno2.0
    bridge-stp off
    bridge-fd 0
Code:
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: eno1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 3c:ec:ef:29:81:56 brd ff:ff:ff:ff:ff:ff
    altname enp1s0
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master vmbr0 state UP group default qlen 1000
    link/ether 3c:ec:ef:29:81:57 brd ff:ff:ff:ff:ff:ff
    altname enp2s0
4: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 3c:ec:ef:29:81:57 brd ff:ff:ff:ff:ff:ff
    inet 192.168.10.168/24 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::3eec:efff:fe29:8157/64 scope link
       valid_lft forever preferred_lft forever
16: vmbr1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 3c:ec:ef:29:81:57 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::3eec:efff:fe29:8157/64 scope link
       valid_lft forever preferred_lft forever
21: eno2.0@eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master vmbr1 state UP group default qlen 1000
    link/ether 3c:ec:ef:29:81:57 brd ff:ff:ff:ff:ff:ff

Ubuntu:
Screenshot at Apr 28 21-34-07.png

Screenshot at Apr 28 21-35-21.png

Screenshot at Apr 28 21-36-09.png
 
Last edited: