As with postal communication, network communication requires the operation of encapsulating the contents of the transmission and indicating the recipient's address. The place of postal communication
The site structure is hierarchical, to separate the city name, street name, house number and recipient. The address in the network communication also has the level
, and is divided into network address , Physical Address , and port address . Network address indicates which network the target host is on; Physical Address description Target Network
The host in the network is the target host of the datagram, and the port address indicates which application in the target host receives the datagram.
Identifies the IP address on which network the target host is. The IP address is expressed in 4 dotted decimal digits, such as 172.155.32.120. IP Address
Encapsulated in the IP header of the datagram. The IP address has two uses: The network router device uses the IP address to determine the destination network address, and then
Determine which port to forward the message to, and another use is that the source host uses the destination host's IP address to query the destination host's physical address.
The Physical address is encapsulated in the frame header of the datagram. The typical physical address is the MAC address in Ethernet. MAC address in two places makes
Use: The network card in the host is sent to itself by the destination MAC address in the header, and the switch in the network makes
Use the destination MAC address in the header to determine which port the datagram is forwarded to. Instances of other physical addresses are in the Frame relay network
DLCI (Data Link Connection Identifier) address and ISDN (Integrated Services Digital Network: Integrated Services
The SPID (Service Providers profile Identifier) in the Digital Network.
The port address is encapsulated in the TCP header or UDP header of the datagram. The port address is the source host that tells the target host that this datagram is issued to
Which application of the party.
Computer network is the network address, physical address and port address of the joint addressing to complete the data transfer. Missing any one of these
Address, the network is unable to complete the addressing. (Point-to-point connection communication is an additional.) When a peer-to-peer communication occurs, the two hosts use a physical line
The road reaches the other host, the physical address is not necessary)
5.1 IP Address addressing
(not to be continued ...)
This article from "Jimokuangxiangqu" blog, reproduced please contact the author!
Computer Learning (5): Network Addressing (not finished)