Configuring Address Pools for Source-IP Filtering of IP-Based Subscribers
Address pools identify a set of IP addresses that a TDF domain for IP-based subscribers uses to determine which packets undergo TDF processing.
To configure address pools:
- Specify a name for the address pool.
[edit access address-assignment] user@host# set address-pools name
The pool name can contain letters, numbers, and hyphens (-) and can be up to 63 characters long.
- Specify the protocol family (
inet
for IPv4 addresses andinet6
for IPv6 addresses) for the address pool.[edit access address-assignment] user@host# set address-pools name family (inet | inet6)
For example, to configure an address pool named mbg-pool1 with IPv4 addresses:
[edit access address-assignment] user@host# set address-pools mbg-pool1 family inet
- Specify the network prefix for the address pool for the
configured protocol family.
[edit access address-assignment] user@host# set address-pools name family (inet | inet6) network [network-prefix] external-assigned
Note:A address pool must have at least one network prefix configured. You can configure more than one network prefix by including the
network
statement multiple times.The
external-assigned
statement is required.For example, to configure an address pool with network prefixes 10.100.0.0/16 and 192.168.0.0/16:
[edit access address-assignment] user@host# set address-pools mbg-pool1 family inet network 10.100.0.0/16 external-assigned user@host# set address-pools mbg-pool1 family inet network 192.168.0.0/16 external-assigned
- (Optional) Specify that the address pool is the default
pool.
A TDF domain uses the default address pool to specify the source addresses of packets that undergo TDF processing when an address pool is not specified for the TDF domain.
[edit access address-assignment] user@host# set address-pools name default-pool