host-identifier with multiple fixed-address

Peter Rathlev peter at rathlev.dk
Wed May 15 08:33:24 UTC 2013


On Fri, 2013-05-10 at 09:29 +0200, Sztrepka Pál wrote:
> Unfortunately we have few docsis customer, who would use more than 1 
> CPE IP-address behind theirs cable modems at the same time.
> Because i use everywhere static host decl in my dhcp config, i dont 
> know whether i can do this with isc dhcp?

You can probably do it with classes and a pool within the subnet that
allows just these hosts.

 class "cpe_1234" {
   match if option agent.remote-id = 00:11:22:33:44:55;
   spawn with option agent.remote-id;
   lease limit 2;
 }

 subnet 192.0.2.0 netmask 255.255.255.0 {
   option routers 192.0.2.1;
   # ... more options

   pool {
     allow members of "cpe_1234";
     range 192.0.2.10 192.0.2.11;
   }
 }

I haven't tested this but that's how I think it should work. You'd of
course have to remove the host declaration.

And you may want to add "stash-agent-options true;" too.

-- 
Peter




More information about the dhcp-users mailing list