目录

reason:When the data packet is arrived at Fa1/0,there is no PC01's MAC address.So the router 0 abandons this data packet,and router 0 will make a ARP request to search for PC01's MAC address.
In order to better promote the research and development of the Internet, the International Organization for Standardization (ISO) formulated the network interconnection Model in 1985, and the OSI System Interconnect Reference Model (Poen System Interconnect Reference Model) has a seven-layer structure.



The Physical defines the standard of interface,cable,transmission rate,transmission way, etc.


LAN communication model

WAN communication model
信道(Channel)Channel:The channel where information is transmitted. A transmission medium, such as a network cable, may be composed of several channels.
Data Link:A physical line (wired or wireless) from one node to its neighbors, with no other exchangeable nodes in between.

explanation:1是同一个链路,集线器无脑,2是一个链路,3是一个链路,4是一个链路,5是一个链路。不过4和5的数据是相同的
When transmitting data in a data link, it needs a corresponding protocol to control the transmission of data.
The communication protocol may be different in different types of data link.
three basical problems in data link:封装成帧(framing),透明传输(transparent transmission),差错检验(error check)
Frame's data part is the IP data packet transmitted from the network layer.
MTU(Maximum Transfer Unit),every data link's protorol stipulates frame's maximum length of data to be sent,Ethernet's MTU is 1500 bytes.

using SHO(Start Of Header)as the beginning symbol of frame,EOT(End Of Transmission)as the ending symbol of frame.

If SOH and EOT appears in the data part, it must make a escape.

FCS is calculated by data part and beginning part.

CSMA/CD(Carrier Sense Multiple Access with Collision Detection),载波侦听多路访问/冲突检测
The network which uses this protocol is called Ethernet,it transmits Ethernet frame. Ethernet frame's standard:Ethernet V2,IEEE-802.3。Ethernet V2 is widely used.
In order to detect whether the frame that is being sent makes a conflict , the Ethernet frame needs 64 bytes at least.
The network using Switch is already support Full duplex communication. It doesn't need use CSMA/CD protocol, but its frame is still Ethernet frame.

When data part's length less than 46 bytes, the data link layer will add some bytes behind the data , the receive port will abandon this adding bytes.

summary:Ethernet frame's data length:46~1500 bytes,Ethernet frame's length :64~1518 bytes(target MAC + source MAC + network type + data + FCS)

0x7E--->0x7D5E,0x7D----->0x7D5D


this is Wireshark
