In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Network layer
Carry on the logical address addressing, realize the communication between different networks, define the IP address, choose the best path for data transmission, and the router works in the network layer.
I. IP packet format
Priority and service type (8 bits): priority and service type
Identifier, flag, segment offset: these fields are used to identify the packet, so that when the data reaches the destination, it will not be out of order.
Header length: the minimum length of ip packet header is 20 bytes
Total length (16):
Protocol number: UDP is 17. TCP is 6.
First checksum:
TTL: lifecycle field. When the TTL value of a router is minus 1, when 0, the packet is dropped. To prevent a packet from looping indefinitely in the network.
II. Network layer protocols
1. ARP protocol
Resolve a known IP address to an MAC address
ARP-an in Windows system: view the ARP cache table
2. Agent ARP
IP address resolves to MAC address of gateway interface
3 、 ICMP
Internet Control message Protocol
1) the connection is established successfully:
Reply from 192.168.1.1:bytes=32 time
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.