PPP protocol and Mac

Source: Internet
Author: User

IP addresses are addressing mechanisms at the TCP/IP network layer, Mac is the addressing mechanism of the 802.3/Ethernet link layer, They are different levels of things, not a side-by-side relationship. Think about whether the data is sent to the network cable or it turns into an electrical pulse. TCP/IP is not defined by the physical layer, the IP packet must be processed over Ethernet before it becomes an electrical signal. After the IP data is sent over Ethernet, Ethernet uses its own addressing mechanism to process Ethernet frames, that is, MAC addresses. PPP is in the WAN category, while Mac is in the LAN category. Different protocols are selected based on the actual situation and environment. The network structure supported by PPP can only be point-to-point, while Mac supports multi-point to multi-point.
Mac is used in Ethernet, and PPP is used remotely (for example, ADSL dialing is based on PPP ).
PPP is a Point-to-Point Protocol, logically connected to one device.

Therefore, no addressing is required. The destination address is the broadcast address. The first six bytes in PPP are the destination address.
The PPP frame format is as follows: Flag address crotrol protocol informaiton FCS flag The flag indicates the start and end of a PPP data frame. The FCS indicates frame verification. The address, control, protocol, and information fields that actually belong to the PPP data frame are included. Address indicates the PPP broadcast address. Address and control indicate that the message is a PPP packet, that is, the PPP packet header is ff03. PPP is encapsulated in different ways over Ethernet. It does not have the MAC address required by Ethernet frames. It implements point-to-point data transmission through its own negotiation process. For this type of Wan protocol, the frame structure is completely different from that of Ethernet, except for pppoe, because pppoe is based on Ethernet, while others such as PPP, FR, but not X.25. The packet capture graph of the PPP protocol and the packet capture graph of the FR protocol are attached.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.