dpi:bras_bng:ip_pool:ipv4:isc_cfg_opt125 [Документация VAS Experts]

Пример конфигурации для опции 125 (dhcp_poolname_opt=2):

   # Объявление структуры opt125 для 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 {
    # Объявляем класс для пула "my-pool1"
    class "dhcp-pool1" {
        match if option VASEX.poolname = "my-pool1";
    }
    # Объявляем класс для пула "my-pool2"
    class "dhcp-pool2" {
        match if option VASEX.poolname = "my-pool2";
    }

    # ...

    # пул "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;
	}
    }

    # пул "my-pool2"
    subnet 10.250.140.0 netmask 255.255.255.0 {
       option routers 10.250.140.1;
       pool {
	    allow members of "dhcp-pool2";
	    range 10.250.140.2 10.250.140.250;
	}
    }

    # ...
}