From dhcp-server -- To unsubscribe, see the end of this message.
A. Arkhangelsky schrieb:
From dhcp-server -- To unsubscribe, see the end of this message.
>
>Hello,
>
>I have a problem setting up ISC dhcpd in conjuction with dhcp relay
>agent. The main problem is that the relay inserts option 82 only in
>broadcast packets, so any packets destined directly to DHCP server's
>IP-address have N option 82 information. Yes, everything is fine with
>dynamic leases, because server adds circuit-id and remote-id to
>dhcpd.leases file and use this data when there is no such options in
>packet. But I'd like to implement this scheme with static host
>declarations. That's a problem. dhcpd doesn't save option 82
>information in dhcpd.leases for static leases and I have no correct
>way to classify users to the specific class when they communicating
>directly with DHCP server. :(
>
>Any thoughts?
>
>P.S.: Ah, source IP address of relayed packets is constant (IP address
>of relay agent) so I have no ability to classify users behind this
>switch just using subnet { } decl.
>
>Thanks,
>
>
>
>
>List Archives : http://www.isc.org/ops/lists/
>Unsubscribe :
>-or- : mailto:dhcp-server-request (AT) isc (DOT) org?Subject=unsubscribe
>
>
>
I think your are looking for this one here:
The stash-agent-options statement
stash-agent-options flag;
If the stash-agent-options parameter is true for a given client, the
server will record the relay agent information options sentduring
the client'sinitial DHCPREQUEST message when the client was in the
SELECTING state and behave as if those options are included in all
subsequent DHCPREQUEST messages sent in the RENEWING state. This
works around a problem with relay agent information options, which is
that they usually not appear in DHCPREQUEST messages sent by the
client in the RENEWING state, because suchmessages are unicast
directly to the server and not sent through a relay agent.
Regards,
Andre
List Archives : http://www.isc.org/ops/lists/
Unsubscribe :
-or- : mailto:dhcp-server-request (AT) isc (DOT) org?Subject=unsubscribe