420
Verifying the configuration
# Display IPoE session information to verify that the host has come online.
[Device] display ip subscriber session
Type: D-DHCP S-Static U-Unclassified-IP
Interface IP address MAC address Type State
--------------------------------------------------------------------------------
GE3/1/2 3.3.3.2 000c-29a6-b656 D Online
Example: Configuring an IPv6-ND-RS user
Network configuration
As shown in
, the host accesses the BRAS as an IPv6-ND-RS user. The BRAS performs
AAA for the host through the RADIUS server.
Figure 147 Network diagram
Procedure
1.
Configure the RADIUS server: (This section uses the Linux Free RADIUS server as an
example.)
# Add BRAS IP address
4.4.4.2
and secret
radius
to the
clients.conf
file.
client 4.4.4.2/32 {
ipaddr = 4.4.4.2
netmask=32
secret=radius
}
# Add the username, password, and authorized IPv6 prefix to the
users
user information file.
The username is the host MAC address, the password is
radius
, and the IPv6 prefix is
10::10/64
.
000c29a6b656 Cleartext-Password :="radius"
Framed-IPv6-Prefix =10::10/64
2.
Configure the BRAS:
a.
Configure IP addresses for interfaces. (Details not shown.)
b.
Enable GigabitEthernet 3/1/2 to support IPv6-ND-RA messages.
<Device> system-view
[Device] interface gigabitethernet 3/1/2
[Device–GigabitEthernet3/1/2] undo ipv6 nd ra halt
[Device–GigabitEthernet3/1/2] quit
c.
Configure a RADIUS scheme:
# Create a RADIUS scheme named
rs1
and enter its view.
[Device] radius scheme rs1
# Configure primary servers and keys for authentication and accounting.
[Device-radius-rs1] primary authentication 4.4.4.1
[Device-radius-rs1] primary accounting 4.4.4.1