beautypg.com

Appendix 1: isc dhcp server, Appendix, Isc dhcp server – Allied Telesis Rapier i Series User Manual

Page 25

background image

Page 25 | AlliedWare™ OS How To Note: DHCP Snooping on Rapier-style switches

Appendix 1: ISC DHCP server

Appendix 1: ISC DHCP server

One DHCP server that has been tested against DHCP snooping is ISC DHCP. This is free
software with an option of a support contract. At the time of writing this document, ISC
DHCP did not support the logging of RFC3993 sub-option 6. For convenience, here is a
sample configuration (dhcpd.conf) for ISC DHCP.

This configuration lets you specify the IP that is given to each MAC address. You may easily
write a range statement to assign to any client.

ddns-update-style ad-hoc;

option domain-name "test.yourdomain.com";

option domain-name-servers 172.16.1.253;

option broadcast-address 172.16.1.255;

option subnet-mask 255.255.255.0;

use-host-decl-names on;

subnet 172.16.1.0 netmask 255.255.255.0 {

#filename "/vmlinuz ";

default-lease-time 86400;

option subnet-mask 255.255.255.0;

option domain-name "test.yourdomain.com";

option domain-name-servers 172.16.1.1;

option routers 172.16.1.1;

option broadcast-address 172.16.1.255;

host linux {

hardware ethernet 00:06:5b:31:14:af;

fixed-address 172.16.1.100;

filename "/vmlinuz ";

}

host test01 {

hardware ethernet 00:00:00:00:00:01;

fixed-address 172.16.1.201;

}

host test02 {

hardware ethernet 00:00:00:00:00:02;

fixed-address 172.16.1.202;

}

host test03 {

hardware ethernet 00:00:00:00:00:03;

fixed-address 172.16.1.203;

}

host RapierMAX {

hardware ethernet 00:00:cd:11:b2:4c;

fixed-address 172.16.1.123;