https://img-en.fs.com/community/uploads/post/202001/09/23-pppoe-vs-dhcp-8.jpg

PPPoE vs DHCP: What Is the Difference?

108
https://img-en.fs.com/community/uploads/author/202003/25/1-3-4.jpg
Posted on January 9, 2020
September 24, 2020
15793

PPPoE (Point-to-Point Protocol over Ethernet) is a common method of connecting to an ISP while DHCP (Dynamic Host Configuration Protocol) is a protocol for obtaining IP addresses. Essentially, both of them are a process of acquiring IP. So debate over PPPoE vs DHCP differences has been around for a long time and thus causes a lot of confusion.

PPPoE vs DHCP: What Is PPPoE?

PPPoE is a network protocol used to encapsulate PPP (Point-to-Point Protocol) frames inside Ethernet frames. It combines the PPP that owns the function of authentication and encryption, and the Ethernet protocol that can support multiple users in a LAN. Usually, a PPPoE architecture is made up of PPPoE clients, PPPoE servers, hosts and ADSL modems, etc. (Figure 1)

pppoe vs dhcp.png

Figure 1: PPPoE Configuration

Using PPPoE, subscribers can dial from one router (PPPoE client) to another (PPPoE server) over the BRAS (Broadband Remote Access Server), then establish a point-to-point connection and transmit data packets over the connection. To employ PPPoE, you need a username and a password provided by your ISP, which you use to dial your ISP and establish a connection. But in today’s networks, with modems incorporated into the connection, you can simply set your username and password only once and your modem can automatically connect to the network whenever you turn it on.

Since a myriad of users are sharing the same physical connection to the BRAS that routes traffic to and from broadband remote access devices on an ISP network, PPPoE can keep track of which user’s traffic should go and which user should be billed.

PPPoE working process includes two main phases:

  • Discovery Phase—In this phase, the PPPoE client identifies the local Ethernet MAC address and establishes a session ID. And the hosts locate multiple PPPoE servers, and then allow the user to choose one.

  • Session Phase—When the discovery phase completes successfully, both the host and the selected server have information about their PPP connection over the Ethernet. Then PPPoE allows data to be transferred over the PPP link within PPPoE headers. Therefore, a session is established between an individual user and the remote site, which can be monitored. Meanwhile, the user billing is produced and recorded by PPPoE.

PPPoE vs DHCP: What Is DHCP?

DHCP is a standardized client/server network protocol that dynamically assigns IP addresses and other related configuration information to network devices. It is known that each device from a TCP/IP network should have a unique IP address to access the network. So without DHCP configuration, network admins have to configure IP addresses manually if they want to add new computers or move computers from one subnet to another. Usually, a DHCP architecture is made up of DHCP clients, DHCP servers and DHCP relay agents (often a router or switch with DHCP). (Figure 2)

DHCP Configuration.png

Figure 2: DHCP Configuration

DHCP works to offer an automated way to distribute and update IP addresses and other configuration information on a network. A DHCP server provides information to a DHCP client through the exchange of a series of messages. A DHCP relay agent is used to forward DHCP packets between clients and servers when they are not on the same physical subnet.

DHCP enables network users to travel anywhere on the network and automatically receive an IP address when they reconnect. On the other hand, DHCP provides network admins a quicker and more reliable way to configure IP address – it mitigates configuration errors caused by manual IP address configuration. DHCP also helps save the limited IP address space because only the hosts connected to the network will be assigned with IP addresses.

PPPoE vs DHCP: How They Differ?

DHCP is a way for a network to allocate unique IP addresses to the devices (i.e. computers, smartphones, and Gigabit Ethernet switch, etc.) within it so that traffic can be delivered back-n-forth without confusion. PPPoE is a way to encapsulate network traffic, based on credentialed access (i.e. username and password). PPPoE needs to be configured correctly before a user can actually connect to the Internet, however, DHCP doesn’t need to be configured and is basically plug and play. So using DHCP to connect to an ISP eliminates the problems that are associated with PPPoE. Just like computers on a network, you do not need to configure your computer beforehand. You simply leave everything automatic and leave the configuration to the ISP servers.

The differences between PPPoE vs DHCP can be summarized as follows:

DHCP doesn’t need authenticating, and the IP will keep unknown to you when turning on the network. What you will do is to wait for the DHCP server to assign randomly an IP to you from all the Internet IP addresses. However, PPPOE needs authenticating first. Only when your account password is correct, will it assign a valid IP to you.

Since PPPoE enables a large number of host to form a network unit and control, bill each host, it is widely used in community, buildings, and campus. And the prevailing ADSL broadband access way has adopted the PPPoE protocol. As for DHCP, it is typically used to dynamically assign IP addresses to a company's LAN or the Internet.

Conclusion

Both PPPoE and DHCP are critical in connecting to the network, which works to acquire IP address. What distinguishes PPPoE vs DHCP is the methods to obtain IP. Using PPPoE, you have to configure a username and password first, which will make authentication next time you turn on the network to acquire an IP. As for DHCP, the IP will be assigned automatically to you without authentication.

Related Article:

What Is DHCP Snooping and How It Works?