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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:bras_bng:ip_pool:ipv4:isc_cfg_opt77 [2023/10/13 13:54] – ↷ Страница перемещена из en:dpi:bras_bng:opt_bras_l2:ip_pool:ipv4:isc_cfg_opt77 в en:dpi:bras_bng:ip_pool:ipv4:isc_cfg_opt77 elena.krasnobryzhen:dpi:bras_bng:ip_pool:ipv4:isc_cfg_opt77 [2024/09/26 15:29] (current) – external edit 127.0.0.1
Line 1: Line 1:
-======isc_cfg_opt77======+Configuration example for option 77 ''User-Class'' (''dhcp_poolname_opt=2''): 
 +<code> 
 +shared-network MyShare { 
 + 
 +    # Pool 'user-admin' 
 +    class "pool-admin"
 + match if exists user-class and substring( option user-class, 1, 20 ) "user-admin"; 
 +    } 
 + 
 +    # Pool 'user' 
 +    class "pool-generic"
 + match if exists user-class and substring( option user-class, 1, 20 ) "user"; 
 +    } 
 + 
 +    # ... 
 + 
 +    # pool "user-admin" 
 +    subnet 10.250.130.0 netmask 255.255.255.0 { 
 +       option routers 10.250.130.1; 
 + pool { 
 +     allow members of "pool-admin"; 
 +     range 10.250.130.2 10.250.130.250; 
 +
 +    } 
 + 
 +    # pool "user" 
 +    subnet 10.250.140.0 netmask 255.255.255.0 { 
 +       option routers 10.250.140.1; 
 +       pool { 
 +     allow members of "pool-generic"; 
 +     range 10.250.140.2 10.250.140.250; 
 +
 +    } 
 + 
 +    # ... 
 +
 +</code>