![H3C SR8800-F Скачать руководство пользователя страница 403](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863403.webp)
387
Figure 142 Access procedure for a DHCPv4 user
1.
The DHCP client sends a DHCP-DISCOVER message to the BRAS.
2.
The BRAS inserts Option 82 in the DHCP-DISCOVER message, and creates an IPoE session.
3.
The BRAS sends the AAA server an access request that includes user information, such as the
client ID and source MAC address.
4.
The AAA server returns an access accept that contains authorization information to the BRAS if
the authentication succeeds. If the authentication fails, the AAA server returns a reject
message.
5.
The BRAS marks the IPoE session state as success and forwards the DHCP-DISCOVER
message to the DHCP server if the authentication succeeds. If the authentication fails, the
BRAS marks the session as failure and discards the DHCP-DISCOVER message.
6.
The DHCP server sends a DHCP-OFFER message to the BRAS.
7.
The BRAS forwards the DHCP-OFFER message to the DHCP client.
8.
The DHCP client sends a DHCP-REQUEST message to the BRAS.
9.
The BRAS forwards the DHCP-REQUEST message to the specified DHCP sever.
10.
The DHCP server sends a DHCP-ACK message containing the assigned IP address to the
BRAS.
11.
The BRAS performs the following:
a.
Obtains address information from the DHCP-ACK message.
b.
Assigns a user profile.
c.
Updates the IPoE session information.
d.
Forwards the DHCP-ACK message to the client.
DHCP server
DHCP client
BRAS
(DHCP relay)
AAA server
(1) DHCP-DISCOVER
(3) Access Request
(4) Access Accept
(5) Updates the IPoE session
as an authorized session.
(6) DHCP-DISCOVER
(7) DHCP-OFFER
(8) DHCP-REQUEST
(9) DHCP-ACK
(10) Completes IPoE session
establishment.
(11) DHCP-ACK
(12) Accounting-Start
(2) Inserts Option82 and
initiates an IPoE session.