R: Relay agent with dhcp server on same subnet

Autuori Gianluigi Autuori.Gianluigi.Wintime at ansaldobreda.it
Thu Nov 19 11:41:26 UTC 2009

It is a possible idea, but I will check if there is another unknown client that want ip-address (and for me this request has to be accepted).


-----Messaggio originale-----
Da: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] Per conto di Glenn Satchell
Inviato: giovedì 19 novembre 2009 12.19
A: dhcp-users at lists.isc.org
Oggetto: Re: Relay agent with dhcp server on same subnet

Perhaps you could set up a class to match when there was not an
option-82 present in the request, then to put "ignore booting" inside that class. Something like

class "ignore_me" {
	match if not exists option agent.circuit-id;
	ignore booting;

That might make dhcpd ignore the direct broadcasts.

Glenn Satchell                            |  Miss 9: What do you
Uniq Advances Pty Ltd, Sydney Australia   |  do at work Dad?
mailto:glenn.satchell at uniq.com.au         |  Miss 6: He just
http://www.uniq.com.au tel:0409-458-580   |  types random stuff.

>From: "Autuori Gianluigi" <Autuori.Gianluigi.Wintime at ansaldobreda.it>
>To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
>So the only way to do it correctly is to use a switch that suppress the
original broadcast DHCP packets. The one I use doesn't permit this.
>Gianluigi Autuori
>-----Messaggio originale-----
>Da: dhcp-users-bounces at lists.isc.org 
>[mailto:dhcp-users-bounces at lists.isc.org]
Per conto di Bruce Hudson
>Inviato: mercoledì 18 novembre 2009 22.45
>A: dhcp-users at lists.isc.org
>Oggetto: Re: R: R: Relay agent with dhcp server on same subnet
>> I think server nakew client request because there isn't any 
>> agent.circuit-id field in its packet.
>    You are correct. Your switch is acting as a DHCP relay but it does 
> not
appear to be suppressing the original broadcast DHCP packets. This means your server is seeing every request twice: once directly from the client without relay information and one via the switch that includes the relay option. 
>    The direct DISCOVER would have generated an error message in the 
> server's
log that no addresses were free and dropped. However, the direct REQUEST generates a NAK.
>    This is probably a configuration error in the switch.
>Bruce A. Hudson			| Bruce.Hudson at Dal.CA
>ITS, Networks and Systems		|
>Dalhousie University			|
>Halifax, Nova Scotia, Canada		| (902) 494-3405
>dhcp-users mailing list
>dhcp-users at lists.isc.org

dhcp-users mailing list
dhcp-users at lists.isc.org

Questo messaggio e-mail e ogni documento ad esso eventualmente allegato puo' avere carattere riservato ed essere tutelato da segreto. Esso,comunque, e'
ad esclusivo utilizzo del destinatario in indirizzo. Qualora non foste il destinatario del messaggio vi preghiamo di volerci avvertire immediatamente per e-mail o telefono e di cancellare il presente messaggio e ogni eventuale allegato dal vostro sistema. E' vietata la duplicazione o l'utilizzo per qualunque fine del messaggio e di ogni allegato, nonche' la loro divulgazione, distribuzione o inoltro a terzi senza l'espressa autorizzazione del mittente. In ragione del mezzo di trasmissione utilizzato, il mittente non assume alcuna responsabilita' sulla segretezza/riservatezza delle informazioni contenute nel messaggio e nei relativi allegati. 

This e-mail and any file transmitted with it may contain material that is confidential, privileged and/or attorney work product for the sole use of the intended recipient. If you are not the intended recipient of this e-mail, please do not read it, notify us immediately by e-mail or by telephone and then delete this message and any file attached from your system. You should not copy or use it for any purpose, disclose the contents of the same to any other person or forward it without express permission.
Considering the means of transmission, we do not undertake any liability with respect to the secrecy and confidentiality of the information contained in this e-mail and its attachments.

More information about the dhcp-users mailing list