Serving multiple subnets

Glenn Satchell Glenn.Satchell at
Wed Sep 12 14:24:22 UTC 2007

>From: "Todd Snyder" <tsnyder at>
>To: <dhcp-users at>
>Good day,
>I am running a DHCP server in a particular segment.  On that segment, I
>need to serve a small DHCP pool.
>Connecting to this server are also relays (Cisco) in various other
>Each of these other places has a different pool of addresses assigned to
>So far, I have been unable to find a way to say "if you come from this
>relay, you are this group, if you come from that relay, you are that
>group" etc.
>When I look at the packets, I see there is a relay server ip address
>passed - is there a way to match based on that, or only on proper
>I've done some looking through the archive, and google keeps giving me
>information about MSDHCP, but not found what I need yet, so I apologize
>if this has been covered.
>Thank you,


Define all the subnets, local or remote, the same way. Nothing special
is needed in dhcpd.conf as dhcpd itself decodes the gateway address and
uses that to determine which subnet the request came from. It then uses
the appropriate subnet definition.


More information about the dhcp-users mailing list