<div dir="ltr">Hi All,<br>I am trying to implement a captive portal with cases like where users can be guest,authenticated and unknown-clients without restarting the dhcp service frequently.<br>Initially the client will be getting the IP from the quarantine range and the user getting a custom portal page where he can be authenticated or accept the terms and be as a guest.<br>I tried to use the concept of known and unknown-clients so that using omapi concept i can add an authenticated client as known client so that it does not need a restart of dhcp service. <br>but I want to add one more case where I can differentiate the clients also as guest users<br>can anyone suggest to me any config element where I can differentiate all these three cases(non-authenticated, authenticated and guest).<br>My sample config<br>==============<br>subnet 172.16.0.0 netmask 255.255.255.0 {<br>        pool {<br>                range 172.16.0.50 172.16.0.150;           <br>                allow unknown-clients;<br>                option domain-name-servers 172.16.0.40<br>                default-lease-time 120;<br>                max-lease-time 120;<br>                option routers 172.16.0.1;<br>                option subnet-mask 255.255.255.0;<br>             }<br>             pool {<br>                range 172.16.0.151 172.16.0.200;<br>                deny unknown-clients;<br>                 option domain-name-servers 172.16.0.45<br>                default-lease-time 1209600;<br>                max-lease-time 1209600;<br>                option routers 172.16.0.2;<br>                option subnet-mask 255.255.255.0;<br><br>             }<br>        pool {<br>               range 172.16.0.201 172.16.0.250;<br>                <condition to accept guest client><br>                option domain-name-servers 172.16.0.45<br>                default-lease-time 1209600;<br>                max-lease-time 1209600;<br>                option routers 172.16.0.2;<br>                option subnet-mask 255.255.255.0;<br><br>             }<br>        }<br><div><div dir="auto">Any help/suggestion would be much appreciated </div><div dir="auto">Thanks</div></div></div>