DHCP Setting on ovh

me.samip2012

New Member
Jan 6, 2018
12
0
1
37
Hello,

I have setup dhcp server on ovh server and ip gets assigned auto but the virtual mac doesnt get assigned, here is the config i use but assigning virtual mac doesnt work. Any suggestion would be great.



subnet 0.0.0.0 netmask 0.0.0.0 {
authoritative;
default-lease-time 21600000;
max-lease-time 432000000;
}

# Bind IP by MAC
host VM1 {
hardware ethernet 02:00:00:ee:6e:d1;
option routers 188.xxx.xx.xxx;
option subnet-mask 255.255.255.255;
fixed-address 1xx.xx.xx.xxx;
option domain-name-servers 8.8.8.8,8.8.4.4;
}

host VM2 {
hardware ethernet 02:00:00:16:d6:6b;
option routers 188.xxx.xx.xxx;
option subnet-mask 255.255.255.255;
fixed-address 1xx.xx.xx.xxx;
option domain-name-servers 8.8.8.8,8.8.4.4;
}
 
can anyone confirm, in proxmox mac address doesnt get assigned by dhcp we have to assign it manually ? Anyone please..