| || |
Join Date: Jul 2011
Re: What is the difference between DHCP,Static IP,PPPOE,DDNS
Point To Point Protocol (PPP):
It is a standard protocol and is most widely used by (ISPs) for enabling dial up connections for accessing Internet. It facilitates transmission of data packets between point to point links. It has been designed to work with serial connections but it has been adopted by ISPs for providing dial up connections as well. It can be encapsulated in several data link layer protocols like Ethernet (PPPoE) and Asynchronous Transfer Mode (PPPoA). It uses Link Control Protocol (LCP) for establishing session between a pc and an ISP. LCP determines whether a link is acceptable for data transmission or not. LCP packets are exchanged between multiple network points for determining link characteristics. There are 3 types of user authentication protocols supported by PPP for providing different level of security.
- Password Authentication Protocol (PAP) - It is used for authenticating a user's password on the network access server, since the password is not encrypted in transmission, PAP is considered to be least secure.
- Challenge Handshake Authentication Protocol (CHAP) – It is a similar Protocol to PAP having unique characteristics. It sends a challenge message to the client machine which has a random value rather than requesting a password. The password is sent to access server after getting encrypted by the client machine. For authenticating user's CHAP uses shared secret model which is a secure method of authentication.
- Extensible Authentication Protocol (EAP) – It is an authentication framework and it is also used by several secure authentication protocols. It is the most common Protocol used on wireless networks for authentication.
Point To Point Protocol over Ethernet (PPPoE) :
PPPoE protocol was proposed by IETF in 1999, PPPoE allows virtual point to point connection over a multipoint Ethernet network architecture, one can say that it is a protocol for expanding original capability of PPP. It is widely used to provide digital subscriber line (DSL). ADSL is most popular service of PPPoE and is a high speed Internet service, same authentication server can be used by isps for PPP as well as PPPoE sessions, PPPoE is configured as point to point connection between Ethernet ports. PPPoE session includes identification of the Media Access Control (MAC) address of the remote device which is known as PPPoE discovery.
Steps involved in PPPoE discovery as followed:
- Initiation - A PPPoE Active Discovery Initiation (PADI) packet is sent by client software to the server for initializing session.
- Offer - Server responds with a (PADO) packet (PPPoE Active Discovery Offer)
- Request - A PPPoE Active Discovery Request (PADR) packet is sent to the server by client after receiving PADO packet.
- Confirmation - A unique ID for the PPP session is generated by server and is sent as a PPPoE Active Discovery Session (PADS) confirmation packet to the client after receiving PADR packet.
In a PPPoE destination IP address is used only when session is active and the IP address is released once session gets closed.
DDNS (Dynamic DNS):
It is a service for mapping Internet domain names to IP addresses. It allows users hosting a Web or FTP server for advertising a public name. It only works with static IP addresses and is for supporting dynamic IP addresses as well. It is quite good for home network where isps provide dynamic public IP addresses for various devices. A user just has to signs up with a DDNS provider after installing network software on their host to use DDNS.