Got it

Work flow from PPPoE Client o the BNG

Created: Jul 20, 2021 08:50:17Latest reply: Jul 20, 2021 09:17:55 346 2 1 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi

Please explain complete work flow, when the PPPoE Client/CPE sends a PPPoE Active Discovery Request (PADR) message to the BNG, and how BNG responds to CPE, for example [PPP session to PPPoE Client, release public ip to the CPE & etc] 


Many Thanks

Featured Answers

Best answer

Recommended answer

hemin88
Moderator Author Created Jul 20, 2021 09:17:55

PPPoE Dial-up Implementation

During PPPoE dial-up, a PPPoE session is established between a PPPoE client and a PPPoE server, as shown in Figure-1  PPPoE dial-up process

download?uuid=943229cb21264dcbb29d5a036a398e9e

The PPPoE dial-up process includes three stages: Discovery, Session, and Terminate.

Discovery Stage

The Discovery stage consists of the following steps:

  1. A PPPoE client broadcasts a PPPoE Active Discovery Initial (PADI) packet that contains service type required by the PPPoE client.

  2. After receiving the PADI packet, all PPPoE servers compare the requested service with the services they can provide. The PPPoE servers that can provide the requested service unicast PPPoE Active Discovery Offer (PADO) packets to the PPPoE client.

  3. The PPPoE client receives PADO packets from more than one PPPoE server. The PPPoE client selects the PPPoE server from which the first PADO packet is received and unicasts a PPPoE Active Discovery Request (PADR) packet to the selected PPPoE server.

  4. The PPPoE server generates a unique session ID to identify the PPPoE session with the PPPoE client, and then sends a PPPoE Active Discovery Session-confirmation (PADS) packet containing this session ID to the PPPoE client. When the PPPoE session is established, the PPPoE server and PPPoE client enter the PPPoE Session stage.

After the PPPoE session is established, the PPPoE server and client learn the session ID and the peer Ethernet address. Therefore, the PPPoE server has a unique PPPoE session with the client.

Session Stage

The PPPoE Session stage involves PPP negotiation and PPP packet transmission.

PPP negotiation at the PPPoE Session stage is the same as common PPP negotiation, which includes the LCP, authentication, and NCP phases.

  1. In the LCP phase, the PPPoE server and PPPoE client establish and configure a data link, and verify the data link status.

  2. When LCP negotiation is complete, authentication starts. The authentication protocol depends on the LCP negotiation result. The authentication protocol can be Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP).

  3. When authentication succeeds, PPP enters the Network Control Protocol (NCP) phase. NCP is a protocol suite used to configure network–layer protocols. A commonly used network-layer protocol is IP Control Protocol (IPCP), which is responsible for configuring IP addresses for users and the domain name server (DNS).

When PPP negotiation succeeds, PPP data packets can be forwarded.

At the PPPoE Session Stage, the PPPoE server and PPPoE client unicast all Ethernet data packets.

Terminate Stage

The PPPoE server and client use PPP to terminate the PPPoE session. If PPP cannot be used, the server and client can use PPPoE Active Discovery Terminate (PADT) packets to terminate the PPPoE session.

After a PPPoE session is established, the PPPoE client or the PPPoE server can unicast a PADT packet to terminate the PPPoE session at any time. After transmitting or receiving the PADT packet, the PPPoE server and PPPoE client are not allowed to use this session to send any PPP traffic.



Source:

https://support.huawei.com/


View more
  • x
  • convention:

All Answers
Hello,
We're working on your problem. Please be patient.
View more
  • x
  • convention:

hemin88
hemin88 Moderator Author Created Jul 20, 2021 09:17:55

PPPoE Dial-up Implementation

During PPPoE dial-up, a PPPoE session is established between a PPPoE client and a PPPoE server, as shown in Figure-1  PPPoE dial-up process

download?uuid=943229cb21264dcbb29d5a036a398e9e

The PPPoE dial-up process includes three stages: Discovery, Session, and Terminate.

Discovery Stage

The Discovery stage consists of the following steps:

  1. A PPPoE client broadcasts a PPPoE Active Discovery Initial (PADI) packet that contains service type required by the PPPoE client.

  2. After receiving the PADI packet, all PPPoE servers compare the requested service with the services they can provide. The PPPoE servers that can provide the requested service unicast PPPoE Active Discovery Offer (PADO) packets to the PPPoE client.

  3. The PPPoE client receives PADO packets from more than one PPPoE server. The PPPoE client selects the PPPoE server from which the first PADO packet is received and unicasts a PPPoE Active Discovery Request (PADR) packet to the selected PPPoE server.

  4. The PPPoE server generates a unique session ID to identify the PPPoE session with the PPPoE client, and then sends a PPPoE Active Discovery Session-confirmation (PADS) packet containing this session ID to the PPPoE client. When the PPPoE session is established, the PPPoE server and PPPoE client enter the PPPoE Session stage.

After the PPPoE session is established, the PPPoE server and client learn the session ID and the peer Ethernet address. Therefore, the PPPoE server has a unique PPPoE session with the client.

Session Stage

The PPPoE Session stage involves PPP negotiation and PPP packet transmission.

PPP negotiation at the PPPoE Session stage is the same as common PPP negotiation, which includes the LCP, authentication, and NCP phases.

  1. In the LCP phase, the PPPoE server and PPPoE client establish and configure a data link, and verify the data link status.

  2. When LCP negotiation is complete, authentication starts. The authentication protocol depends on the LCP negotiation result. The authentication protocol can be Challenge Handshake Authentication Protocol (CHAP) or Password Authentication Protocol (PAP).

  3. When authentication succeeds, PPP enters the Network Control Protocol (NCP) phase. NCP is a protocol suite used to configure network–layer protocols. A commonly used network-layer protocol is IP Control Protocol (IPCP), which is responsible for configuring IP addresses for users and the domain name server (DNS).

When PPP negotiation succeeds, PPP data packets can be forwarded.

At the PPPoE Session Stage, the PPPoE server and PPPoE client unicast all Ethernet data packets.

Terminate Stage

The PPPoE server and client use PPP to terminate the PPPoE session. If PPP cannot be used, the server and client can use PPPoE Active Discovery Terminate (PADT) packets to terminate the PPPoE session.

After a PPPoE session is established, the PPPoE client or the PPPoE server can unicast a PADT packet to terminate the PPPoE session at any time. After transmitting or receiving the PADT packet, the PPPoE server and PPPoE client are not allowed to use this session to send any PPP traffic.



Source:

https://support.huawei.com/


View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.