Internet address for learning networks with cainiao

Source: Internet
Author: User

Now, everyone knows the IP address. I had an aunt last week and asked me to help her change the IP address. It seems that the Internet is so powerful that everyone knows about it. Each host on the TCP/IP Internet is assigned a unique 32-bit Internet address, which is used for all communications with the host.

The IP address prefix identifies a network. The IP addresses of all hosts in the same network share the same prefix. For example, a Class address is 1, B Class address is 10, C Class address is 110, D Class address is 1110, and f Class address is 1111.

For Class A addresses, the 7-bit network number + 24-bit host number (host number exceeds 2 ^ 24-2), for example: 1.0.0.0-126.0.0.0; Class B address, 14-bit network number + 16-bit host number (host 2 ^ 14-2), such as 128.1.0.0-191.255.0.0; Class C address, 21-bit network number + 8-bit host number (the host number is less than 2 ^ 8-2), for example, 192.0.1.0-223.255.255.0.


The IP address with the host number 0 is reserved for the network, and the IP address with the host number 1 is retained as the targeted broadcast (that is why the number of hosts above is less than 2 ). When a group is sent to such an address, a copy of the group is transmitted from the source station along the internet. In another situation, the broadcast address is a local broadcast address, which consists of 32 addresses.


One full 1 represents all, just like all hosts on the network, while Internet software interprets all 0 fields as cost (this ). The IP address 0 indicates the current host, and the Internet with the network ID 0 indicates the current network.


The network prefix 127.0.0.0 is retained for loop back, used to test TCP/IP and communication between local processes,

The logical connection between the two networks and the Internet backbone network. Each network is assigned an IP address. As shown in

ARPANET (10.0.0.0), which belongs to Class A address, Ethernet (128.10.0.0), belongs to Class B address, a ring network (192.5.48.0), and belongs to Class C address.

Indicates the host connected to these networks and the Inernet address allocated to each network connection.

 

The four hosts connected to the network are Arthur, Merlin, guenevere, And Lancelot. taliesyn is the router connected to the arpatent and the ring. gliatisant is the router connecting the Ring Network to the Ethernet, this task is used to select a route for the traffic between the Ethernet and the ring.

To exchange binary data between machines, TCP/IP is a standard byte sorting of integers in the protocol field. Before sending a group, the host must convert all binary data from the internal format to the standard network byte sequence, and then convert it from the standard network byte sequence to the internal format after receiving the group.

Related Article

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.