Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Example: Configuring an Address-Assignment Pool

This example shows an address-assignment pool configuration that creates two pools, one for IPv4 DHCP clients (isp_1) , and a second pool (chi-fiber-ra) that is used for router advertisement.

[edit access]
address-assignment {network-discovery-router-advertisement chi-fiber-ra;pool isp_1 { family inet {network 192.168.0.0/16;range southeast {low 192.168.102.2 high 192.168.102.254;}range northeast {low 192.168.119.2 high 192.168.119.250;}host svale6.boston.net {hardware-address 90:00:00:01:00:01;ip-address 192.168.44.12;}dhcp-attributes {option-match {option-82 {circuit-id fiber range northeast;}option-82 {circuit-id cable_net range southeast;}}boot-file boot.client;boot-server 192.168.200.100;grace-period 3600;maximum-lease-time 18000;netbios-node-type p-node;router 192.168.44.44 192.168.44.45;}}}pool chi-fiber-ra {family inet6 {prefix 2008:2009:2010::/48;range fiber3 {low 2008:2009:2010::1/64;high 2008:2009:2010::5/64;}}}}

This example creates an IPv4 address-assignment pool named isp-1, which contains two named address ranges, southeast and northeast. The address-assignment pool also contains a static binding for client host sval6.boston.net. The ISP_1 pool configuration also includes the dhcp-attributes statement, indicating that the pool is used for DHCP clients. If the option 82 circuit-id entry matches the string fiber, then DHCP assigns the client an address from the northeast range. If the option 82 circuit-id matches the string cable_net, DHCP assigns an address from the southeast range.

The second address-assignment pool created in this example is chi-fiber-ra. The neighbor-discovery-router-advertisement statement at the beginning of the syntax specifies that this named address-assignment pool is used for router advertisement. The syntax at the end of the example configures the address-assignment pool named chi-fiber-ra.

Published: 2013-02-22