Using Class to have ip address on unknown network segments

Teva A-T tevaat at
Fri Feb 20 02:39:39 UTC 2015


I'm trying to use class to provide ip address to LTE customers which is on
a network segment unknown by the dhcpd server.

Here below what i can see when my LTE customers is sending its DHCP
Discover :

dhcpd: DHCPDISCOVER from 50:00:00:00:00:04 via unknown network

So indeed, is not a network segment known by the dhcpd.
is just a relay agent, and what i want is to provide to my LTE cust an ip
in subnet For that, i thought that i could use class, and
then allow members of this class to get an ip, even if the network segment
is unknown.

Here below my dhcpd.conf:

class "lte" {
#       match if packet(24,4) = 10:09:00:04;
#       match if (substring(hardware,0,1) = 01:50);
#       match if (binary-to-ascii(16,8,":",substring(hardware, 0, 4)) =
#       match if (option dhcp-client-identifier =
#       match if (option dhcp-client-identifier =
#        match if (option

shared-network lte-cust {

    option domain-name-servers,;
    default-lease-time 360;
    max-lease-time 360;

         subnet netmask {
                option routers        ;
                option subnet-mask    ;
                option broadcast-address;

         pool {
                allow members of "lte";



So i tried all match mentioned in the class "lte" in the comment (i've
tried it one by one, uncommented one, restart service, test to get an ip,

I tried all option tested below, but so far none of its worked.

Can someone could tell me what's wrong in my class definition ? I'm still
investigating about options i can use...

thanks in advance all for your support :)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dhcp-users mailing list