Pool selection based on Giaddr of different subnet

Dario Aguilar daguilar at arnet.net.ar
Fri Mar 13 19:18:10 UTC 2009

Hi there, I´m trying to configure a pool selection based on Giaddr but the
problem is that Relay Agent IP (Giaddr) doesn’t belongs to same subnet as
the client pool so I guess I need to define a class that matches this
criteria (maybe of sure that I difined in a wrong way). This is not working
because it´s saying that network segment is unknown. Here is my dhcpd.conf
and syslog output


log-facility local5;

allow booting;

allow bootp;

lease-file-name "/var/db/dhcpd_wimax.leases";

ddns-update-style none;

ignore client-updates;

default-lease-time 43200;

max-lease-time 86400;


log ( info, concat( "circuit-id: ", option agent.circuit-id));

log(debug, concat ("giaddr: ", binary-to-ascii(10,8, ".", packet(24,4)))) ;

option domain-name-servers x.x.x.x;

option subnet-mask;


class "WAC" {

          match if (binary-to-ascii(10,8, ".", packet(24,4)) =


subnet netmask




                allow members of "WAC";



                filename "/pxelinux.0";

                option routers;

                option subnet-mask;

                option ntp-servers;




Syslog Message: 


dhcpd: DHCPDISCOVER from 00:16:35:3e:0d:e5 via unknown network




Dario Aguilar


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20090313/62ab6e1f/attachment.html>

More information about the dhcp-users mailing list