[pve-devel] implementation of a dhcp service in proxmox ?
Alexandre DERUMIER
aderumier at odiso.com
Wed May 22 09:23:07 CEST 2013
>>The example daemon you sent has about 1000LOC - do we need that
>>or would the simple version also work?
>>
>>http://cpansearch.perl.org/src/DJZORT/Net-DHCP-0.693/examples/dhcpd.pl
To be honest I don't known, I'll try to play with cpan sample today.
I'll also try to read the dhcp rfc to see what are the differents fields in dhcp packet response.
----- Mail original -----
De: "Dietmar Maurer" <dietmar at proxmox.com>
À: "Dietmar Maurer" <dietmar at proxmox.com>, "Alexandre DERUMIER" <aderumier at odiso.com>
Cc: pve-devel at pve.proxmox.com
Envoyé: Mercredi 22 Mai 2013 08:43:54
Objet: RE: [pve-devel] implementation of a dhcp service in proxmox ?
> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Dietmar Maurer
> Sent: Mittwoch, 22. Mai 2013 08:34
> To: Alexandre DERUMIER
> Cc: pve-devel at pve.proxmox.com
> Subject: Re: [pve-devel] implementation of a dhcp service in proxmox ?
>
> > So dnsmasq simply allocated range, depend of the source ip which
> > receive the dhcp packets.
> >
> > So 1 dnsmasq daemon can do the job.
> > Maybe command line will be too long with a lot of ranges and ip.
> > Maybe can we generate the dnsmasq config file from proxmox
> > configuration files before reload the dnsmasq deamon ?
>
> Besides, how will we handle leases on migration. When we implement our own
> dhcp server with perl we can store them on /etc/pve.
>
> So maybe it is worth to evaluate Net::DHCP::Packet.
The example daemon you sent has about 1000LOC - do we need that
or would the simple version also work?
http://cpansearch.perl.org/src/DJZORT/Net-DHCP-0.693/examples/dhcpd.pl
More information about the pve-devel
mailing list