当前位置:网站首页>Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)

Network layer - forwarding (IP, ARP, DCHP, ICMP, network layer addressing, network address translation)

2022-07-05 04:11:00 A very lazy person

This article mainly introduces the following aspects of knowledge :

  1. Overview of network layer functions
  2. IP The datagram
  3. Network layer addressing ( Basic addressing form 、 Subnet partition & Subnet mask 、CIDR)
  4. Network address translation NAT
  5. ARP agreement
  6. DCHP agreement
  7. ICMP agreement
  8. IPV6 Insert picture description here

1. Overview of network layer functions


2.IP The datagram

(1)TCP/IP Protocol stack

 Insert picture description here

(2)IP Datagram format

 Insert picture description here
 Insert picture description here
 Insert picture description here
 Insert picture description here

(3)IP Example of datagram segmentation

 Insert picture description here

(4)IP Unit of datagram

 Insert picture description here


3. Network layer addressing

 Insert picture description here

(1)IP Address brief

 Insert picture description here
 Insert picture description here

(2) Classified IP Address

 Insert picture description here

  • special IP Address
     Insert picture description here
  • private IP Address
     Insert picture description here
(3) Subnet partition and subnet mask
  • Subnet partition
     Insert picture description here
     Insert picture description here
     Insert picture description here
  • Subnet mask
     Insert picture description here
  • Subnet mask exercise
     Insert picture description here
     Insert picture description here
  • Packet forwarding when using subnet
     Insert picture description here
(4) No classified address CIDR
  • No classified address CIDR
     Insert picture description here
     Insert picture description here
  • Constitute a supernetwork
     Insert picture description here
     Insert picture description here
  • longest-prefix matching
     Insert picture description here
     Insert picture description here

4. Network address translation NAT

(1)NAT Router

 Insert picture description here
 Insert picture description here


5.ARP agreement

(1)ARP Overview of the agreement

 Insert picture description here

(2)ARP Application of protocol in sending data
  • Send to this network
     Insert picture description here
  • Send to other networks
     Insert picture description here
  • Example
     Insert picture description here

6.DHCP agreement

 Insert picture description here

(1)DHCP Overview of the agreement

 Insert picture description here


7.ICMP agreement

 Insert picture description here

(1)ICMP Error report message
  • Five types
     Insert picture description here
  • ICMP Data format of error report message
     Insert picture description here
  • The situation that error report messages should not be sent
     Insert picture description here
(2)ICMP Inquiry message

 Insert picture description here

(3)ICMP Application of protocol

 Insert picture description here


8.IPV6

 Insert picture description here

(1)IPV6 Cause of occurrence

 Insert picture description here

(2)IPV6 Datagram format

 Insert picture description here
 Insert picture description here

(3)IPV6 VS IPV4

 Insert picture description here

(4)IPV6 Address representation

 Insert picture description here

(5)IPV6 Basic data type

 Insert picture description here

(6)IPV6 Over to IPV4

 Insert picture description here

原网站

版权声明
本文为[A very lazy person]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202140701144662.html