[pve-devel] dnsmasqd needs extra ip

Alexandre DERUMIER aderumier at odiso.com
Tue Aug 27 14:45:17 CEST 2013


>>Any ideas how we can avoid allocating an extra IP for the dhcp server? Some users just have 
>>a few IPs, so we do not want to waste any of them? 
>>The problem is the same with your bridge suggestion? 

Yes, As far I known, you need an extra ip for each network/subnet where you want to offer ips.


(Indeed some users have a few ips, I don't known if we can setup some kind on only extra internal ip for dhcp in the  same network (ip not owned by user)?


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: pve-devel at pve.proxmox.com, "Alexandre DERUMIER (aderumier at odiso.com)" <aderumier at odiso.com> 
Envoyé: Mardi 27 Août 2013 14:20:47 
Objet: dnsmasqd needs extra ip 



I current use the following for dnsmasq: 

$cmd = "dnsmasq --no-hosts --strict-order --bind-interfaces --interface=$iface --except-interface=lo --domain=${dhcpd_domain} --dhcp-range=${dhcpd_first},${dhcpd_last},${dhcpd_mask},8h --dhcp-host=$net->{macaddr},$net->{ip} '--dhcp-ignore=tag:!known'"; 

The problem is that I need to specify an IP for the tap (inside the client network), else dnsmasq complains 

dnsmasq-dhcp: DHCP packet received on tap111i0 which has no address 

Any ideas how we can avoid allocating an extra IP for the dhcp server? Some users just have 
a few IPs, so we do not want to waste any of them? 
The problem is the same with your bridge suggestion? 



More information about the pve-devel mailing list