Classless Inter-Domain Routingfleeting
- Référence externe : https://www.educba.com/what-is-cidr/
Classless inter-domain routing (CIDR) is a method for allocating IP addresses and IP routing
It is defined in RFC (Request for comments) 1518 and RFC 4632
It is an address block allocation
CIDR block This block contains IP addresses. This block consists of 3 basic rules.
The 3 basic rules mentioned below:
Rule 1: In the CIDR block, the IP addresses which are allocated to the hosts should be continuous.
Rule 2: The size of the block should be of power 2 and should be equal to the total number of IP addresses.
Rule 3: The size of the block must be divisible by the first IP address of the block.
The general way of representation of the CIDR IP address is
a.b.c.d / n
The CIDR representation is 22.214.171.124/24. Find the IP addresses of the CIDR block?
24 represents the number of bits used for the identification of the network.
The 5 bits are used for the identification of hosts.
The CIDR address is 126.96.36.199/24.
The first IP address is 188.8.131.52
The last IP address is 184.108.40.206
The total cost is 256.
Netmask is 255.255.255.0.