Configuration example for option 125 (''dhcp_poolname_opt=2''):
<code>
# Declare the architecture of opt125 for VASExperts
option space VASEX code width 1 length width 1;
option VASEX.poolname code 1 = string;
option space vivso code width 4 length width 1;
option vivso.VASEX code 43823 = encapsulate VASEX;
option vivso.iana code 0 = string;
option op125 code 125 = encapsulate vivso;
shared-network MyShare {
# Declare the pool class "my-pool1"
class "dhcp-pool1" {
match if option VASEX.poolname = "my-pool1";
}
# Declare the pool class "my-pool2"
class "dhcp-pool2" {
match if option VASEX.poolname = "my-pool2";
}
# ...
# pool "my-pool1"
subnet 10.250.130.0 netmask 255.255.255.0 {
option routers 10.250.130.1;
pool {
allow members of "dhcp-pool1";
range 10.250.130.2 10.250.130.250;