Specifying a preauthentication IP address pool for portal users

You must specify a preauthentication IP address pool on a portal-enabled interface in the following situation:

After a user connects to a portal-enabled interface, the user uses an IP address for portal authentication according to the following rules:

After the user passes portal authentication, the AAA server authorizes an IP address pool for re-assigning an IP address to the user. If no authorized IP address pool is deployed, the user continues using the previous IP address.

If the portal user does not perform authentication or fails to pass authentication, the assigned IP address is still retained.

When you specify a preauthentication IP address pool, follow these guidelines and restrictions:

To specify an IP address pool before portal authentication:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Specify a preauthentication IP address pool for portal users.

portal [ ipv6 ] pre-auth ip-pool pool-name

By default, no preauthentication IP address pool is specified on an interface.