SV: remote-id

Anders Rosendal anders at rosendal.nu
Sun Oct 19 04:55:08 UTC 2008


I interpret this as a question of remote-id in option 82.

 

0:30:4b:db:65:50 is mgmt-mac of switch A

0:30:45:55:bb:80 is mgmt-mac of switch B

 

class "POOLA" {

        match if(binary-to-ascii(16, 8, ":", option agent.remote-id) = "0:30:4b:db:65:50");

}

 

class "POOLB" {

        match if(binary-to-ascii(16, 8, ":", option agent.remote-id) = "0:30:45:55:bb:80");

}

 

pool {

        range 10.0.0.10 10.0.0.254;

        allow members of "POOLA";

}

 

pool {

        range 172.31.0.10 172.31.0.254;

        allow members of "POOLB";

}

 

Regards Anders R

 

 

Från: dhcp-users-bounce at isc.org [mailto:dhcp-users-bounce at isc.org] För abhijit khadatare
Skickat: den 17 oktober 2008 12:54
Till: dhcp-users at isc.org
Ämne: remote-id

 

hello everyone,
 i want to configure dhcp server on the basis of remote-id
it something like that
if remote-id is xx:yy:xx:yy:xx:yy
then give ip from pool---A
if remote-id is yy:xx:yy:xx:yy:xx
then give ip from pool--B


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner <http://www.mailscanner.info/>  at 
mars.rosendal.nu, and is believed to be clean. 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner on mars.rosendal.nu,
and is believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/dhcp-users/attachments/20081019/43f6f600/attachment.html>


More information about the dhcp-users mailing list