Shared Network Question

Glenn Satchell Glenn.Satchell at
Tue Aug 7 11:58:02 UTC 2007

>Date: Mon, 06 Aug 2007 10:29:54 -0500
>From: Clayton Keller <inetadmin at>
>To: dhcp-users at
>Subject: Shared Network Question
>I have a setup in which a DHCP request is coming in from a Relay Agent 
>IP address of, however, I'd like to assign it an address 
>from a subnet.
>My understanding was I could use a shared-network to handle this type of 
>situation. We are also looking at using some Option 82 info as well.
>Here is my configuration for the shared network:
>shared-network Lab
>         subnet netmask
>         {
>         }
>         class "Test"
>         {
>                 match if option agent.circuit-id = "XXXX";
>         }
>         subnet netmask
>         {
>                 default-lease-time 1800;
>                 max-lease-time 3600;
>                 option routers;
>                 option broadcast-address;
>                 pool
>                 {
>                         failover peer "failover";
>                         deny dynamic bootp clients;
>                         allow members of "XXXX";
>			range;
>                 }
>         }
>When I have this config loaded on both dhcpd servers, the following 
>response is seen from the logs when the discover packet is received.
>dhcpd: DHCPDISCOVER from xx:xx:xx:xx:xx:xx via peer holds 
>all free leases
>I'm not sure if I'm not setting this up properly, or if this is a viable 
>option to the setup we are working with regarding the incoming traffic.

The class is called "Test" but you're allowing members of "XXXX". You
should allow members of "Test". All others are implicitly denied,
including your Test class.

Also classes are usually defined in the global scope, but I don't think
that is the immediate problem.

Glenn Satchell     mailto:glenn.satchell at | Some days we are
Uniq Advances Pty Ltd | the flies;  some
PO Box 70 Paddington NSW Australia 2021              | days we  are the
tel:0409-458-580  tel:02-9380-6360  fax:02-9380-6416 | windscreens...

More information about the dhcp-users mailing list