The principles of computer networks
Computer Network
10.6.1.2 explain the purpose and representation of the IP address;
10.6.1.3. Explain the purpose of the domain name system (DNS);
IP address. In order for the computers to find each other in the information exchange process, there is a single addressing system on the Internet based on the use of an IP address.
Each computer connected to the Internet has its own unique 32-bit (in binary) IP address, which uniquely identifies the computer.
For software and hardware devices, an IP address is just an integer to store which is allocated exactly 4 bytes of memory. Those. a number in the range from 0 to 4294967295. It is difficult for a person to memorize such bulky numbers. Therefore, for clarity, the IP address is recorded as a sequence of four numbers separated by dots in the range from 0.0.0.0 to 255.255.255.255. Each of these four numbers corresponds to the value of each byte of the four, in which the whole number is stored.
.
Different IP Addresses
32-bit IP address | 11000000 10101000 00000101 11001000 | |||
IP address broken by octets | 11000000 | 10101000 | 00000101 | 11001000 |
Octets in Decimal | 192 | 168 | 5 | 200 |
IP address in decimal numbers separated by dots | 192.168.5.200 | |||
The IP address contains the network address and the address of the computer on the network (network address and subnet address)
Class | First bites | Lowest network number | Highest network number | Maximum number of nodes in the network |
A | 0 | 1.0.0.0 | 126.0.0.0 | 224 |
B | 10 | 128.0.0.0 | 191.255.0.0 | 216 |
C | 110 | 192.0.1.0 | 223.255.255.0 | 28 |
D | 1110 | 224.0.0.0 | 239.255.255.255 | Multicast (групповой адрес) |
E | 11110 | 240.0.0.0 | 247.255.555.555 | Reserved |
To ensure maximum flexibility in the process of distributing IP addresses, depending on the number of computers on the network, the addresses are divided into classes A, B, C, D, E.
The first bits of the address are allocated to identify the class, and the rest are divided into the network address and the address of the computer on the network.
7
IP-address
193.162.230.115
0..255
0..255
0..255
0..255
w.x.y.z
network number + computer number in the network
Class | w | Network number | Comp number | Quantity network | Quantity comp |
A | 1..126 | w | x.y.z | 126 | 16777214 |
B | 128-191 | w.x | y.z | 16384 | 65534 |
C | 192-223 | w.x.y | z | 2097151 | 254 |
IP-address
Practical task
Askar wrote down the school server’s IP address on a piece of paper and put it in his jacket pocket. Askar’s mom accidentally washed the jacket along with a note. After washing, Askar found four fragments in his pocket with fragments of an IP address. These fragments are labeled A, B, C, and G. Recover the IP address. In the answer, indicate the sequence of letters denoting fragments in the order corresponding to the IP address.
Decision:
DNS (Domain Name System) – domain name system
DNS (Domain Name System) – domain name system
Distributed DNS database
Internet Network Information Center (InterNIC) - Information center of the Internet (international network information center) - an organization dealing with the formation, registration and strategic development of the Internet, including the registration of domain names.
Distributed DNS database
First level:
generic name:
com – commercial organizations
edu – educational institutions
gov – governmental organizations
org – non-profit organizations
net – the organization that supports network
State domains:
Kz – Kazakhstan
ru – Russia
am – Armenia
at – Austria
tv – Tuvalu
io – British Indian ocean territory
me – Montenegro
The working principle of DNS:
To find the desired computer on the Internet custom machines help DNS servers, which are programs that are accessed to seek out the correct IP address for the URL.
DNS work is quite simple, but because of ignorance of its basics, there are a lot of problems and questions when transferring an existing domain name and registering a new one.
Let's stop a little more detail on the description of the scheme.
When a user launches a web browser and enters the domain name of the site, his PC sends a request to the ISP's DNS server to obtain the IP address of the domain (1).
If the provider's DNS servers do not find information about the requested site in their cache, they send a request to the root DNS servers (2).
The root DNS server searches its database for information about the name servers of the hosting provider on which this site is present. Next, it reports them to the provider's caching DNS server (3).
After the caching DNS server of the Internet provider receives information about the name servers of the hosting provider, it polls any of them (4) and, in the case of a positive result of obtaining an IP address (5), places it in the cache.
Caching is used to reduce both the load on Internet channels and to speed up the result of the request. The provider's DNS server then passes the IP address to the user's browser that made the site request (6).
And after that, the browser, having received the IP-address of the requested site, goes to the site itself (7 and 8).
It is important that the update of information about the provider name server is not instantaneous, but after a certain time (for each DNS server, depending on the settings and provider, these values may vary).
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.