<div dir="ltr"><div><div><div><div><div><div><div><div>Greetings,<br><br></div>I'm trying to use class to provide ip address to LTE customers which is on a network segment unknown by the dhcpd server.<br></div><div><br></div><div>Here below what i can see when my LTE customers is sending its DHCP Discover : <br><br>dhcpd: DHCPDISCOVER from 50:00:00:00:00:04 via <a href="http://10.9.0.4">10.9.0.4</a>: unknown network segment<br><br></div><div>So indeed, 10.9.0.0 is not a network segment known by the dhcpd. 10.9.0.4 is just a relay agent, and what i want is to provide to my LTE cust an ip in subnet <a href="http://172.16.192.0/19">172.16.192.0/19</a>. 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.<br></div><div><br></div>Here below my dhcpd.conf:<br><br><br>class "lte" {<br>#       match if packet(24,4) = 10:09:00:04;<br>#       match if (substring(hardware,0,1) = 01:50);<br>#       match if (binary-to-ascii(16,8,":",substring(hardware, 0, 4)) = "1:5:0:0");<br>#       match if (option dhcp-client-identifier = "(521020000000004:test1.mnc002.mcc521.gprs");<br>#       match if (option dhcp-client-identifier = 3d:28:35:34:37:30:35:30:30:30:30:30:30:30:30:30:34:3a:74:65:73:74:31:2e:6d:6e:63:30:30:35:2e:6d:63:63:35:34:37:2e:67:70:72:73);<br>#        match if (option agent.circuit-id="521020000000004:test1.mnc002.mcc521.gprs");<br>            }<br><br><br><br>shared-network lte-cust {<br>    <br>    option domain-name-servers  1.1.1.1,2.2.2.2;<br>    default-lease-time 360;<br>    max-lease-time 360;<br><br>         subnet 172.16.192.0 netmask 255.255.224.0 {<br>                option routers                  172.16.192.254;<br>                option subnet-mask              255.255.224.0;<br>                option broadcast-address        172.16.255.255;<br>                }<br><br><br><br>         pool {<br>                allow members of "lte";<br>                range 172.16.192.1 172.16.192.255;<br><br>             }<br><br>}<br><br></div>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, etc...).<br><br></div>I tried all option tested below, but so far none of its worked. <br><br></div>Can someone could tell me what's wrong in my class definition ? I'm still investigating about options i can use...<br><br><br></div>thanks in advance all for your support :)<br><br></div>Cheers,<br><br></div>Teva<br></div>