Configuring an authentication source subnet

By configuring authentication source subnets, you specify that only HTTP packets from users on the authentication source subnets can trigger portal authentication. If an unauthenticated user is not on any authentication source subnet, the access device discards all the user's HTTP packets that do not match any portal-free rule.

When you configure a portal authentication source subnet, follow these restrictions and guidelines:

To configure an IPv4 portal authentication source subnet:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure an IPv4 portal authentication source subnet.

portal layer3 source ipv4-network-address { mask-length | mask }

By default, no IPv4 portal authentication source subnet is configured, and users from any subnets must pass portal authentication.

To configure an IPv6 portal authentication source subnet:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure an IPv6 portal authentication source subnet.

portal ipv6 layer3 source ipv6-network-address prefix-length

By default, no IPv6 portal authentication source subnet is configured, and IPv6 users from any subnets must pass portal authentication.