Point-to-Point Protocol over Ethernet (PPPoE) Application Development

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

PPP over Ethernet (PPPoE) provides the ability to connect a network of hosts over a simple bridging access device to a Remote Access Concentrator. With this model, each host utilizes its own PPP stack and the user is presented with a singular user interface. Access control, billing, and type of Internet service can be managed on a per-user, rather than on a per-site, basis.

To provide a point-to-point connection over Ethernet, each PPP session must learn the Ethernet address of the remote peer, and each PPP session must establish a unique session identifier. PPPoE includes a discovery protocol that provides this functionality.

Windows Embedded CE provides PPPoE functionality based on RFC 2516, A Method for Transmitting PPP Over Ethernet (PPPoE).

The following table shows the members and values to set in the RASENTRY structure for a PPPoE connection.

Member Value

RASENTRY.dwName

Obtained using RasEnumDevices, where szDeviceType==RASDT_PPPoE.

RAENTRY.szDeviceType

RASDT_PPPoE.

RASENTRY.szLocalPhoneNumber

The service name.

To set these values, use the RasSetEntryProperties function.

See Also

Concepts

Point-to-Point Protocol

Other Resources

Point-to-Point Protocol over Ethernet (PPPoE)