Q1. What is classless IP address?
Answer: also known as Classless IP aliverkkoihin.It is broken down into smaller parts (subnet) addresses network addresses. the rules are simple:-a classful address address information system in the 32-bit address is divided along network ID and host ID, 8-bit limit:
Class Network_ID Host_ID Examples ... ... ... ... ... ... Leftmost_byte_range (a.b.c.d)
(A) ... ... ... ... 8-bit ............. 24-bit .....1.1.1.1, 100.4.5.6 ... ... ... ... 0 ~ 127
(B) ... ... ... 16-bit ... ... 16-bit ... ... 128.1.1.1, 150.1.2.3 ... 128 ~ 191
(C). ...... 24-bit ... ... ... 8 bit ... ... 192.1.1.1, 222.1.2.3 ... 192 ~ 223
-IP Classless enables left bits of the domain name (and less bits host ID). The number of bits Used
The domain name is called the network mask. For example, a.b.c.d/m says "the domain name is the leftmost m-bit."-a classful address and Classless addresses examples:
IP address subnet mask class? The network address of the network ID of the Host ID of this network 100.4.5.6/8/8 grade 100.0.0.0/8 100 4.5.6 16,777,216 100.4.5.6/16/16 Classless 100.4.0.0/16 100,4 100.4.5.6 5/24/24.6 65 536 Classless 100.4.5.0/24 256 100.4.5.6 100.4.5 6/25/25 Classless 100.4.5.0/25 100.4.5.0 hosts 6 128
Q2. Why does Classless?
Answer: Using fixed limit reserve the domain name and host ID of the results of the absence of compromising side bits: IP address of hunger. View this example: a network of 100 computers can be connected to the Internet. they access the category C network 200.1.2.0/24. Then the network grows to 500 PCs. It needs a class b network, i.e. 150.1.0.0/16. 150.1.0.0/16 Covers, however, 65 536 class (b) IP addresses. This network uses only 500 of them.65,036 IP addresses are wasted. This causes a lack of address information for a classful address and the host system fixed networ limit IP address.This problem can be solved by Classless. For example, 150.1.0.0/23 allows the host ID for the 512 cover addresses 150.1.0.0 ~ 150.1.1.255).
Q3. how aliverkkoihin and creates a byte of the crossing, the domain name?
Answer: Aliverkkoihin uses the leftmost bits of the network mask to reserve a domain name.The rules are simple:-Start a classful address address (class a, b or C). -Add more bits addresses network ID bit. ' b ' class uses the leftmost 16 bits of the mask is the domain name./16.Classless, taking into account the network mask of the class b derived from the network may have/16 ~. 31. for example:
150.1.0.0 is a class B network address of The default mask is./16. It covers the 65,536 addresses.
150.1.2.0/24 plant processing rendered fats derived from category B Classless subnet on the network. The mask is a/24 and contains 256 addresses.
150.1.2.128/25 is derived from the class B network Classless subnet. The mask is/25 and 128 addresses. The following table shows the addresses and Classless addresses in a binary format:
ID/mask binary format (32 bits) host ID number of the network ID/class and region
-150.1.0.0/16 is a class B address, network ID 150.1 (16-bit), contains 65,356 hosts (150.1.0.0 ~ 150.1.255.255), the binary is 10010110.00000001.00000000.00000000
-150.1.2.0/24 is Classless class b derived from, the network ID 150.1.2 (24 bits), contains 256 host addresses (150.1.2.0 ~ 150.1.2.255).The binary format is 10010110.00000001.00000010.00000000.
-150.1.2.128/25 is Classless derived from (b) the network ID is 150.1.2.128 (25-bit), contains 128 host addresses (150.1.2.128 ~ 150.1.2.255).the binary format is 10010110.00000001.00000010.10000000
Q4.We can create 150.1.2.3/14 subnetting?Answer: No. a classful address address Aliverkkoihin starts with the system.150.1.2.3 class b address (150 a category b within the region: 128 ~ 191).Class b network mask is/16.Luokan B network address subnetting only reduces network mask, or add the constraint./16 ~/21 is allowed./1 ~/15 is not allowed.
Q5.How a router search classless IP address?
Answer: Let's use examples to explain the router: 1) in the R1 receives the ping sends Jack, it compares the ping's IP address (150.1.2.3/25) to the network listed in the table.
-100.0.0.0/8.most of the 8 bit left 150.1.2.3/25 ' s is 150, not 100. Not a match.
-150.1.0.0/16. the left most of the 16-bit 150.1.2.3/25 ' s is a 150/1 Is a match. R1 forward ping 150.1.0.0/16.2) When R2 receives the ping, it compares the ping's IP address (150.1.2.3/25) with table destination networks routing.-150.1.0.0/24: the left most of the 24-bit 150.1.2.3/25 ' s is 150.1.2, not 150.1.0. Not a match.
-150.1.1.0/24: the left most of the 24-bit 150.1.2.3/25 ' s is 150.1.2, not 150.1.1. There is a match.
-150.1.2.0/24: the left most of the 24-bit 150.1.2.3/25 ' s is 150.1.2.Is a match. R2 forward ping 150.1.2.0/24 network 3) when the R3 receive ping, it compares the ping's IP address (150.1.2.3/25) with the routing table.-150.1.2.128/25: the left most bit 25 150.1.2.3/25 ' s is 150.1.2.0 2, not 150.1.2.128, don't have a match.
-150.1.2.0/25: the left most bit 25 150.1.2.3/25 ' s is a 150.1.2.0. Match. R3 forward ping Rose.
Note: this example it is clear, if the search topology in relation to the simulation.
0 comments:
Post a Comment