Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Detailed explanation of the principle of data link layer and switch (focus 2, necessary knowledge of network rookies)

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

one。 Data link layer function

The error reply of a frame is to check your data frame.

II. Mac address

Your MAC address has 48 binary digits

three。 Ethernet frame format, MAC address header data

Preamble: the port to accept and receive, the frame start delimiter: the computer recognizes the binary language through this start and end

Destination address: the MAC address of the host you sent to others, source address: the MAC address of your own host, data: your application layer data. Frame check sequence: verify that your data frame is complete.

four。 Introduction to the equipment of the switch

The second layer: the data link layer, the third layer: the network layer, these series look at the first letter, the bigger the better.

The second model: 24 ports, dual media: optical fiber, electrical signals can be, gigabit network speed.

five。 Principle of switch

First of all, our host A needs to transfer data to host B through the switch.

A new switch does not know anything. Host A needs to broadcast and transmit its own data frames to various ports, including your source MAC address and the MAC address of host B. at this time, the switch will learn to record the source address and port 1 of host An in the entry. Host B immediately responded by sending out its source address and host A's MAC address as soon as it saw that it was my MAC address. At this time, the switch began to learn again, recording the source MAC address and port of Host B in the entry. At this time, the two hosts transmitted data through the switch.

Why do we use the switch: one host to another can only transmit data with one host, and with the switch, multiple hosts can communicate with each other.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report