Why does this not work.

Thomas Raabo - Zitcom A/S tr at zitcom.dk
Fri Jun 27 08:51:49 UTC 2014


Really no one?

Thomas

From: dhcp-users-bounces at lists.isc.org [mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of Thomas Raabo - Zitcom A/S
Sent: 26. juni 2014 20:18
To: dhcp-users at lists.isc.org
Subject: Why does this not work.

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:image001.jpg at 01CF91F5.CBE08DE0]<http://www.zitcom.dk/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20140627/b5db1a48/attachment-0001.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/20140627/b5db1a48/attachment-0001.jpg>


More information about the dhcp-users mailing list