DHCP in proxmox

debek

New Member
Dec 2, 2020
9
0
1
35
Hi!

I have a problem with DHCP inside of proxmox. I can create VM with static IP and it works but when I try to use DHCP option, vm doesn't assign me any IP.
Do you have any idea why?
Here is example of configuration of my debian with proxmox:
vim /etc/network/interfaces

Code:
# The loopback network interface
auto lo
iface lo inet loopback

auto eno1
#real IP address
iface eno1 inet static
        address  192.168.88.101
        netmask  255.255.255.0
        gateway  192.168.88.1
        post-up echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up echo 1 > /proc/sys/net/ipv4/conf/eno1/proxy_arp

auto vmbr0
#private sub network
iface vmbr0 inet static
        address  10.2.0.2
        netmask  255.255.255.0
        bridge-ports none
        bridge-stp off
        bridge-fd 0
 

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!