Question
Download Solution PDFWhich of the following best describes CIDR (Classless Inter-Domain Routing)?
This question was previously asked in
Beltron Programmer 1 Oct 2023 Official Paper
Answer (Detailed Solution Below)
Option 1 : Allocating IP address in variable sized blocks regardless of class.
Free Tests
View all Free tests >
Beltron Programmer Mock Test
0.8 K Users
20 Questions
20 Marks
24 Mins
Detailed Solution
Download Solution PDFThe correct answer is Option 1) Allocating IP address in variable sized blocks regardless of class.
Key Points
- CIDR (Classless Inter-Domain Routing) was introduced in 1993 to replace the outdated classful IP addressing system.
- Under classful addressing:
- Class A used a default subnet mask of /8 (e.g., 255.0.0.0)
- Class B used /16
- Class C used /24
- This rigid structure led to significant wastage of IP addresses.
- CIDR removed the dependency on fixed classes and allowed the assignment of IP addresses in variable-sized blocks — this is known as Variable Length Subnet Masking (VLSM).
- CIDR addresses are written in the format:
IP_address/prefix_length
, where prefix_length indicates the number of bits used for the network portion. - Example:
192.168.10.0/22
means:- The first 22 bits are for the network ID
- The remaining 10 bits are for host IDs
- This allows for 1024 IP addresses (210) in this block
Additional Information
- Why CIDR is better than classful addressing:
- Efficient IP allocation: Blocks can be allocated exactly based on need (e.g., /29 for 6 hosts instead of wasting a full Class C /24)
- Scalability: Supports hierarchical IP address allocation to reduce routing table entries
- Aggregation: Multiple CIDR blocks can be summarized into a single route entry (route aggregation or supernetting)
- Incorrect Options:
- Option 2: Refers to the classful model, which CIDR was explicitly designed to replace.
- Option 3: CIDR is part of IP addressing and routing; DHCP is for dynamic IP assignment.
- Option 4: CIDR and subnetting are related, but CIDR is more flexible and comprehensive than traditional subnetting.
- Real-world example: An ISP may assign a customer a /29 CIDR block, giving them 6 usable IP addresses (instead of 254 in a /24 block), which saves a lot of IP space.
Last updated on Nov 25, 2024
-> BELTRON Programmer 2024 Notification has been released on the official website.
-> The Bihar State Electronics Development Corporation Limited (BELTRON) has announced a recruitment drive for Programmer positions on a contractual basis.
-> Specific vacancy details will be shared separately.
-> Interested candidates can apply online from November 11, 2024, to December 10, 2024.
-> The Minimum age of the candidates should be 21 years and maximum age should be 59 year of age.