Why does this not work.

Thomas Raabo - Zitcom A/S tr at zitcom.dk
Thu Jun 26 18:17:40 UTC 2014


I wanted to do something like


subnet 9x.xx.xx.0 netmask 255.255.255.0 {
        option routers 91.133.32.1;
        option domain-name-servers 8.8.8.8, 8.8.4.4;
        max-lease-time 28800;
}
 host test3 {
     host-identifier option agent.subscriber-id “sv-e-pe-3.g0/0/0.100";
     fixed-address 9x.xx.xx.2;
 }


But this does not work…


But this does

class "sv-e-pe-3.g0/0/0.100" {
        match if option agent.subscriber-id = "sv-e-pe-3.g0/0/0.100";
}
subnet 9x.xx.xx.0 netmask 255.255.255.0 {
        option routers 91.133.32.1;
        option domain-name-servers 8.8.8.8, 8.8.4.4;
        max-lease-time 28800;
        pool {
        deny dynamic bootp clients;
        allow members of "sv-e-pe-3.g0/0/0.100";
        range 9x.xx.xx.2;
        }
}


What is the difference?

Med venlig hilsen | Best regards
Thomas Raabo
Netværksansvarlig CCIE #33466
Zitcom A/S

Telefon: 70 40 00 00        E-mail: kontakt at zitcom.dk<mailto:kontakt at zitcom.dk>
Direkte: 69 10 60 18        Direkte: tr at zitcom.dk<mailto:tr at zitcom.dk>


[cid:9551B240-26EE-43DA-BAA9-9E1BF7B9B0E8] <http://www.zitcom.dk/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140626/1599ba91/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 9440 bytes
Desc: image001.jpg
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140626/1599ba91/attachment.jpg>


More information about the dhcp-users mailing list