Subnetting and CIDR notation flashcards

Learn about subnetting and CIDR notation with this set of flashcards designed for college-level computer science students. Each card covers essential concepts and terms that are key to understanding networks.

Dragon92·48 flashcards·48 questions
collegecomputer_sciencenetworks
0
Known
1 / 48
0
Learning
Front

What is subnetting?

Tap to flip
Back

Subnetting is the practice of dividing a network into smaller, manageable sub-networks (subnets) for improved performance and security.

Tap to flip
Got it
Still learning

Quiz(48 questions)

Question 1 of 48

1. What is the purpose of a subnet mask?

Terms in this Study Set(48)

Subnetting Basics(16)

What is subnetting?

Subnetting is the practice of dividing a network into smaller, manageable sub-networks (subnets) for improved performance and security.

Why use subnetting?

Improves performance, enhances security, reduces broadcast traffic, and allows for efficient use of IP addresses.

True or False: Subnets can only use private IP addresses.

False. Subnets can use both private and public IP addresses depending on the network design.

Fill in the blank: A subnet mask determines the _____ of a network.

size and range of IP addresses.

What is a subnet mask?

A subnet mask is a 32-bit number that divides an IP address into network and host portions, commonly written in decimal form.

How does subnetting affect broadcast domains?

Subnetting reduces the size of broadcast domains, allowing for more efficient network management and reduced broadcast traffic.

Class A vs. Class C subnets

- Class A: Supports millions of hosts. - Class C: Supports 254 hosts. Choose based on network size.

What is a default gateway?

A default gateway is the router that connects a local network to external networks, allowing communication outside the subnet.

Calculate the number of subnets with 4 bits.

Use 2n\displaystyle 2^n. So, 24=16\displaystyle 2^4 = 16 subnets.

What is CIDR?

Classless Inter-Domain Routing (CIDR) allows for variable-length subnet masking, improving IP address allocation efficiency.

Effect of subnetting on IP address conservation?

Subnetting conserves IP addresses by allocating only necessary addresses to each subnet, reducing waste.

What are host addresses?

Host addresses are the unique identifiers assigned to devices within a subnet, allowing for communication within that subnet.

True or False: All subnets must have the same size.

False. Subnets can have varying sizes depending on the network's needs and design.

Example: Subnetting a Class B network

A Class B network (e.g., 172.16.0.0) can be subnetted by adding bits. Example: /24 gives 256 subnets.

What does the prefix length (e.g., /24) indicate?

The prefix length indicates the number of bits used for the network portion of the address, affecting the number of hosts available.

Subnetting impact on routing tables?

Subnetting simplifies routing tables by summarizing multiple IP addresses into a single route, improving routing efficiency.

CIDR Notation(16)

What does CIDR stand for?

CIDR stands for Classless Inter-Domain Routing.

True or False: CIDR replaces traditional classful networking.

True - CIDR allows more efficient IP address allocation without fixed classes.

How is CIDR notation expressed?

CIDR notation is expressed as an IP address followed by a slash and a number, e.g., 192.168.1.0/24.

What is the purpose of CIDR?

CIDR reduces the number of routing table entries and improves IP address allocation efficiency.

Fill in the blank: CIDR notation provides __________ flexibility in subnetting.

CIDR notation provides increased flexibility in subnetting.

Compare Classful and CIDR addressing.

Classful: Fixed classes (A/B/C) with specific sizes. CIDR: Variable-length subnet masks.

What does the number in CIDR notation represent?

The number represents the length of the subnet mask in bits, e.g., /24 means 255.255.255.0.

True or False: CIDR can support more IP addresses than traditional classes.

True - CIDR allows for more granular allocation of IP addresses.

What is a supernet in CIDR?

A supernet is the aggregation of multiple smaller networks into a single routing entry in CIDR.

What is the CIDR notation for a subnet mask of 255.255.255.192?

The CIDR notation is /26.

Cause → Effect: CIDR allows aggregation → __________.

Reduced routing table size.

What is the range of addresses in 10.0.0.0/8?

From 10.0.0.0 to 10.255.255.255.

How does CIDR improve route summarization?

CIDR enables combining multiple IP ranges into a single routing entry, simplifying routing tables.

Fill in the blank: CIDR notation helps manage __________ efficiently.

IPv4 address space.

True or False: CIDR is only used with IPv4 addresses.

False - CIDR can also be used with IPv6 addresses.

What is the benefit of using /22 CIDR notation?

It provides 1024 IP addresses (2^(32-22)).

Subnetting Calculations(16)

What is a subnet mask?

A subnet mask defines the network and host portions of an IP address. It is used to determine which part of the IP address refers to the network and which part refers to the host.

Calculate the subnet mask for 192.168.1.0/24.

Subnet mask is 255.255.255.0. - Network bits: 24 - Host bits: 8

True or False: CIDR allows for variable-length subnet masking.

True. CIDR supports subnetting with different prefix lengths, optimizing IP address usage.

Convert 255.255.255.0 to CIDR notation.

The CIDR notation is /24, indicating 24 bits for the network part.

What are the valid host addresses for 192.168.1.0/26?

Valid host addresses range from 192.168.1.1 to 192.168.1.62. - Total hosts: 62 - Network: 192.168.1.0 - Broadcast: 192.168.1.63

Fill in the blank: A subnet with a mask of /22 can host ____ addresses.

A subnet with a mask of /22 can host 1024 addresses (2^(32-22)).

What is the purpose of subnetting?

Subnetting improves network performance and security by dividing a large network into smaller, manageable segments.

Compare /28 and /30 subnet masks.

/28 allows 16 IPs (14 usable), while /30 allows only 4 IPs (2 usable). - /28: 255.255.255.240 - /30: 255.255.255.252

Calculate the first usable IP for 10.0.0.0/8.

First usable IP is 10.0.0.1. - Network: 10.0.0.0 - Broadcast: 10.255.255.255

What is the effect of using a smaller subnet mask?

Using a smaller subnet mask increases the number of networks but decreases the number of hosts per network.

True or False: A /16 subnet mask can support 65,536 hosts.

False. A /16 subnet can support 65,534 hosts (2^(32-16) - 2).

What is the last usable address for 172.16.1.0/20?

The last usable address is 172.16.1.14. - Network: 172.16.1.0 - Broadcast: 172.16.1.15

Calculate the number of subnets in a /24 network when using a /26 mask.

Number of subnets = 4. - 2(26−24)=4\displaystyle 2^{(26-24)} = 4

Fill in the blank: The default subnet mask for Class C is ____.

The default subnet mask for Class C is 255.255.255.0.

What are the advantages of CIDR over traditional subnetting?

CIDR allows for efficient IP address allocation and reduces wastage. It promotes hierarchical routing and simplifies routing table sizes.

Calculate the total number of hosts in a /18 subnet.

Total hosts = 16,382. - 2(32−18)−2\displaystyle 2^{(32-18)} - 2 = 16,382

Questions in this Study Set(48)

1. What is the purpose of a subnet mask?

A.To define the network and host portions of an IP address
B.To encrypt data packets
C.To determine the speed of the network
D.To assign IP addresses automatically

2. What does CIDR allow in terms of IP address allocation?

A.More efficient use of IP addresses
B.Fixed class allocation
C.No subnetting
D.Limited address space

3. What does subnetting primarily achieve?

A.Dividing a network into smaller parts
B.Increasing broadcast traffic
C.Limiting device connectivity
D.Standardizing IP addresses

4. How many usable IP addresses are available in a /29 subnet?

A.6
B.8
C.4
D.2

5. How is a subnet mask represented in CIDR notation?

A.As an integer only
B.As a word followed by a number
C.As an IP address followed by a slash and a number
D.As a decimal fraction

6. Which statement about subnetting is true?

A.It can only be used with Class A networks
B.It enhances security by isolating network segments
C.It requires a fixed number of hosts
D.It is only for private IP addresses

7. What is the CIDR notation for a subnet mask of 255.255.255.240?

A./28
B./24
C./30
D./26

8. Which of the following is NOT a characteristic of CIDR?

A.Variable-length subnet masks
B.Aggregation of IP addresses
C.Fixed class sizes
D.Increased flexibility

9. Fill in the blank: A subnet mask is used to define the _____ of a network.

A.type
B.size
C.location
D.protocol

10. Which of the following subnet masks provides the largest number of hosts?

A.255.255.255.0
B.255.255.255.128
C.255.255.255.192
D.255.255.255.240

11. What is the CIDR notation for a subnet mask of 255.255.255.224?

A./27
B./26
C./28
D./25

12. What is the purpose of a default gateway?

A.To filter network traffic
B.To connect a local network to external networks
C.To assign IP addresses
D.To increase broadcast traffic

13. If you have a network 192.168.0.0/22, how many subnets can you create if you switch to a /26 subnet mask?

A.16
B.8
C.4
D.2

14. True or False: CIDR notation can support both IPv4 and IPv6 addresses.

A.True
B.False
C.Only IPv4
D.Only IPv6

15. How many subnets can be created with 3 bits?

A.8
B.4
C.2
D.16

16. True or False: A subnet mask of /30 can accommodate 2 usable IP addresses.

A.True
B.False
C.True, but only in specific cases
D.False, it supports 0 usable addresses

17. What does a longer CIDR prefix length indicate?

A.More IP addresses in the subnet
B.Fewer IP addresses in the subnet
C.Better routing efficiency
D.Less flexibility

18. What does CIDR stand for?

A.Classless Inter-Domain Routing
B.Class Integrated Domain Routing
C.Class Internal Data Routing
D.Class Inter-Domain Regulation

19. What is the last usable IP address in a /24 subnet for 10.1.1.0?

A.10.1.1.254
B.10.1.1.255
C.10.1.1.0
D.10.1.1.1

20. What is the effect of using CIDR for route summarization?

A.Increased routing complexity
B.Reduced routing table size
C.More IP addresses required
D.Less efficient address allocation

21. Which of the following is NOT a benefit of subnetting?

A.Improves performance
B.Enhances security
C.Increases IP address waste
D.Reduces broadcast traffic

22. How many total hosts can a /17 subnet support?

A.32,766
B.32,768
C.32,000
D.32,512

23. True or False: CIDR is used solely for internal network architectures.

A.True
B.False
C.Only in private networks
D.Only in public networks

24. What are host addresses?

A.Addresses for routers
B.Unique identifiers for devices in a subnet
C.Addresses for subnets
D.Reserved IP addresses

25. What is the primary advantage of CIDR over traditional class-based subnetting?

A.It allows for more efficient IP address allocation
B.It is easier to remember
C.It requires less hardware
D.It simplifies network speeds

26. Which CIDR notation allows for the largest number of addresses?

A./8
B./16
C./24
D./30

27. True or False: All subnets in a network must have the same size.

A.True
B.False
C.It depends on the network
D.Only for Class A networks

28. Fill in the blank: A subnet with a mask of /23 can provide ____ usable addresses.

A.510
B.512
C.511
D.508

29. What does the CIDR notation /22 represent in terms of usable IP addresses?

A.1024 addresses
B.2048 addresses
C.512 addresses
D.256 addresses

30. What is the impact of subnetting on routing tables?

A.It complicates routing
B.It has no effect
C.It simplifies routing by summarizing addresses
D.It increases the number of routes

31. What is the effect of increasing the subnet mask length?

A.Decreases the number of available hosts
B.Increases the number of available hosts
C.No effect on the network
D.Decreases the number of subnets

32. Fill in the blank: CIDR notation allows for __________ in subnet design.

A.Increased fragmentation
B.Greater flexibility
C.More complexity
D.Less efficiency

33. Which prefix length indicates a subnet that allows for 256 addresses?

A./24
B./16
C./30
D./8

34. Which of the following IP addresses is a valid host address in a /26 subnet?

A.192.168.1.1
B.192.168.1.62
C.192.168.1.63
D.192.168.1.0

35. How does CIDR improve IP address conservation?

A.By limiting subnet sizes
B.By aggregating networks
C.By enforcing fixed classes
D.By increasing broadcasting

36. Which class of IP addresses supports the largest number of hosts?

A.Class A
B.Class B
C.Class C
D.Class D

37. How many bits are used for the host portion in a /26 subnet?

A.6
B.26
C.32
D.10

38. Which of the following represents a valid CIDR notation?

A.192.168.1.0/24
B.192.168.1.0:24
C.192.168.1.0;24
D.192.168.1.0 24

39. How does subnetting affect broadcast domains?

A.It increases their size
B.It has no effect
C.It reduces their size
D.It merges them into one

40. What is the network address of 172.16.2.5/20?

A.172.16.0.0
B.172.16.2.0
C.172.16.2.5
D.172.16.2.15

41. What would the CIDR notation be for a subnet having a subnet mask of 255.255.255.128?

A./25
B./26
C./27
D./28

42. In subnetting, what does it mean to add bits?

A.To make a subnet larger
B.To create more subnets
C.To improve security
D.To decrease efficiency

43. What is the total number of subnets that can be created from a /24 network when using a /30 subnet mask?

A.4
B.2
C.8
D.16

44. Which of the following CIDR notations provides the smallest subnet?

A./30
B./24
C./16
D./8

45. Which of the following is an example of a subnet mask?

A.255.255.255.0
B.192.168.1.1
C.172.16.0.0
D.10.0.0.1

46. Which of the following subnet masks allows for the maximum number of usable IP addresses?

A./24
B./28
C./30
D./26

47. In CIDR notation, what happens when the prefix length increases?

A.The number of available IP addresses increases
B.The subnet becomes larger
C.The subnet mask becomes more specific
D.The routing table entries decrease

48. What does a subnet mask of 255.255.255.0 signify for a network?

A.It allows for 256 addresses in the subnet.
B.It allows for 512 addresses in the subnet.
C.It allows for 128 addresses in the subnet.
D.It allows for 64 addresses in the subnet.

Related Study Sets

Create Your Own Study Set

Upload a PDF, paste your notes, or describe a topic – AI generates flashcards, quizzes and more in seconds.