Pool independent GI Address

Stephan Sanders stephan at sanders.koeln
Sun Dec 14 17:13:18 UTC 2014


Hi,

is there any possibility to use the following scenario:

DHCP relay on remote routers supports only the usage one GI address.
2 DHCP server (active / hot standby) has to propagate different addresses.
Its not possible to use the same pool for both servers!

Server A pools within 10.10.0.0/16
Server B pools within 10.11.0.0/16
Gi Address within 10.20.0.0/16 (not within space of pool A or B)
Matching for the pool should be made only by Option 82 remote-id

The Option 82 match doesn’t work at the moment.

If the GI Address ist out of range, the following message is created at
syslog: unknown network segment


Best regards
Stephan
-------------
Config draft:

stash-agent-options true;
shared-network GLOBALUSERS {
subnet 10.10.0.0 netmask 255.255.0.0 {
# One district
class "DIST001" {
match if option agent.remote-id = "DIST001";
#match if substring(option agent.remote-id,2,15)= "DIST001" ;
}
pool {
allow members of "DIST001";
range 10.10.0.2 10.10.0.6;
local-address 10.9.9.9;
server-identifier 10.9.9.9;
option routers 10.10.0.1;
option broadcast-address 10.10.0.7;
option subnet-mask 255.255.255.248;
# Vendor selection for option43 depending on option60
switch (option vendor-class-identifier) {
case "VENDOR1": option vendor-encapsulated-options
01:01:02:03;
break;
case "VENDOR2": option vendor-encapsulated-options
02:01:01:01;
break;
}
}
# And yet another one.
class "DIST002" {
match if option agent.circuit-id = "DIST002";
}
pool {
allow members of "DIST001";
range 10.10.2.2 10.10.2.6;
local-address 10.9.9.9;
server-identifier 10.9.9.9;
option routers 10.10.2.1;
option broadcast-address 10.10.2.7;
option subnet-mask 255.255.255.248;
# Vendor selection for option43 depending on option60
switch (option vendor-class-identifier) {
case "VENDOR1": option vendor-encapsulated-options
01:01:02:03;
break;
case "VENDOR2": option vendor-encapsulated-options
02:01:01:01;
break;
}



More information about the dhcp-users mailing list