No dhcp received on my container

anna1231

New Member
Apr 18, 2024
3
0
1
No dhcp received on my container

Hello,

I am running

Code:
dhclient -v eth0

on my Debian 12 container.

See the error message:

No DHCPOFFERS received.
No working leases in persistent database - sleeping

My network interface on proxmox :

1713435377602.png

container :

Code:
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet dhcp


up ip link set promisc on dev eth0

proxmox :

Code:
auto lo
iface lo inet loopback


iface enp0s3 inet manual


iface enp0s8 inet manual


iface enp0s9 inet manual


auto vmbr0
iface vmbr0 inet manual
        bridge-ports enp0s3
        bridge-stp off
        bridge-fd 0


auto vmbr1
iface vmbr1 inet static
        address 192.168.45.250/24
        bridge-ports enp0s8
        bridge-stp off
        bridge-fd 0


auto vmbr2
iface vmbr2 inet manual
        bridge-ports enp0s9
        bridge-stp off
        bridge-fd 0

Have you seen this before?

Thanks for help
 
Hi,
according to the screenshot you showed, the firewall is enabled. Make sure the firewall allows the DHCP traffic by setting the rules accordingly.
 
Thank you, the firewall is not actually configured. So I think that is not the problem here. Thanks for asking
 
Hi, thanks for the answer.
So I look, ufw is not installed on my Debian 12.

I finally get an ip on my linux machine, but now I can't ping 1.1.1.1 to reach the internet. I can't even ping my real machine on the same network.

I don't know why. If anyone has an idea?
 

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!