01_tcp/ip Concept

Source: Internet
Author: User

1. IP Address

In the TCP/IP protocol stack, addressing is defined by the IP protocol. for IPv4, the IP protocol stipulates that each host has a 32-bit Host IP address, which is divided into two parts: <1> network number <2> host number.

Each physical network in the network has a unique value as the network number; each host in the network has a unique host number.

In addition to each host, the IP protocol assigns an IP address to each vro.

 

2. Address Resolution

Address Resolution (Address Resolution) is to translate the Protocol address (IP address) in the computer into a physical address (MAC code, also a media ing address). Address resolution can only be performed within the Internet.

Address Resolution technology:

<1> table-loopup: Applicable to the WAN. It is an array (Protocol address, MAC code) created ).

<2> closeform-computation (similar form calculation)

<3> message-Exchange: This method is applicable to lan and is a distributed processing method. A host sends a resolution request in the form of a broadcast and waits for the response from the host in the network. The ARP Protocol specifies the basic types of information: <1> request <2> response (response)

 

3. Domain Name System

In the TCP/IP protocol family, the domain name system is a distributed database that provides ing information between IP addresses and host names.

You can call a standard library function to view the IP address of the host with the given name. The system also provides an inverse function to view the corresponding host name for the given IP address.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.