This section provides examples to configure DHCP Option 43 on a Linux server and on Windows Server.
ISC DHCP Server configuration on Linux:
/etc/dhcp/dhcpd.conf
default-lease-time 60;
max-lease-time 7200;
option space EXTREME;
option EXTREME.cloudiq-ip code 226 = ip-address;
class "Edge-without-POE" {
match if (option vendor-class-identifier = "EXTREME");
vendor-option-space EXTREME;
option EXTREME.cloudiq-ip 10.16.231.131;
}
subnet 30.30.30.0 netmask 255.255.255.0 {
pool {
range 30.30.30.10 30.30.30.20;
allow members of "Edge-without-POE";
}
option domain-name-servers 10.1.10.1;
option domain-name "labs.extremenetworks.com";
option routers 30.30.30.250;
default-lease-time 3600;
}
Value | Description |
---|---|
e2 04 | vendor ID prefix (e2 is the hexadecimal value of the code 226 used to identify sub-option EXTREME.cloudiq-ip and 04 the hexadecimal value of the length of an IP address in bytes) |
0a 10 e7 83 | IP address 10.16.231.131 converted to hexadecimal |