Week 5: IP Addressing and Subnetting Flashcards
Which of the following best describes an IP address?
A) A random number assigned to a device.
B) A unique identifying number assigned to every device connected to the internet.
C) A number that changes every time a device connects to the internet.
D) A number used only for local network communication.
B) A unique identifying number assigned to every device connected to the internet.
Explanation: An IP address is a logical address used to identify a device on a network, similar to a postal address. It is a 32-bit number written in dotted decimal notation for IPv4 (e.g., 172.16.254.1) and in a different format for IPv6.
How many classes are there in the IP addressing scheme?
A) 3
B) 4
C) 5
D) 6
C) 5
Explanation: The IP addressing scheme is divided into five classes: Class A, Class B, Class C, Class D, and Class E. Each class has a different purpose and range of addresses.
Which of the following is true about Class A IP addresses?
A) They are designed for small networks.
B) The first octet is the network ID, and the remaining three octets are the host ID.
C) They can accommodate more than 16 million hosts.
D) They are used for multicasting.
B) The first octet is the network ID, and the remaining three octets are the host ID.
Explanation: Class A addresses are designed for very large networks. The first octet is the network ID, and the remaining three octets are the host ID, allowing for more than 16 million hosts per network.
Which of the following is true about Class B IP addresses?
A) The first octet is the network ID.
B) They can accommodate more than 65,000 hosts.
C) They are used for research and development.
D) They are used for multicasting.
B) They can accommodate more than 65,000 hosts.
Explanation: In a Class B address, the first two octets are used as the network ID, and the second two octets are used as the host ID. Each Class B address can accommodate more than 65,000 hosts.
Which of the following is true about Class C IP addresses?
A) They are designed for very large networks.
B) They can accommodate only 254 hosts.
C) They are used for research and development.
D) They are used for multicasting.
B) They can accommodate only 254 hosts.
Explanation: In a Class C address, the first three octets are used for the network ID, and the fourth octet is used for the host ID. Each Class C network can accommodate only 254 hosts.
What is the network address represented by in the host portion of the address?
A) All bits as ONES
B) All bits as ZEROS
C) The first bit as ONE
D) The first bit as ZERO
B) All bits as ZEROS
Explanation: The network address is represented with all bits as ZEROS in the host portion of the address, while the broadcast address is represented with all bits as ONES in the host portion.
What is the purpose of a subnet mask?
A) To encrypt network communication.
B) To differentiate the network portion and host portion of an IP address.
C) To assign IP addresses dynamically.
D) To manage the routing of data packets.
B) To differentiate the network portion and host portion of an IP address.
Explanation: A subnet mask is used to differentiate the network portion and host portion of an IP address. It is represented with all 1’s in the network portion and all 0’s in the host portion.
What is the default subnet mask for a Class B IP address?
A) 255.0.0.0
B) 255.255.0.0
C) 255.255.255.0
D) 255.255.255.255
B) 255.255.0.0
Explanation: The default subnet mask for a Class B IP address is 255.255.0.0.
What is subnetting?
A) The process of encrypting network communication.
B) The process of dividing one big network into smaller, more manageable subnetworks.
C) The process of assigning IP addresses dynamically.
D) The process of managing the routing of data packets.
B) The process of dividing one big network into smaller, more manageable subnetworks.
Explanation: Subnetting is the process of dividing one big network (IP address block) into smaller, more manageable subnetworks, called subnets.
What is the first step in subnetting?
A) Determine the new subnet mask.
B) Calculate subnet increment (block size).
C) Determine how many subnets or hosts you need.
D) List the subnets.
C) Determine how many subnets or hosts you need.
Explanation: The first step in subnetting is to determine how many subnets or hosts you need.
How many bits do you need to borrow to create 4 subnets?
A) 1
B) 2
C) 3
D) 4
B) 2
Explanation: To create 4 subnets, you need to borrow 2 bits from the host portion, as 2^2 = 4.
What is the new subnet mask if you borrow 2 bits from a Class C IP address?
A) 255.255.255.0
B) 255.255.255.128
C) 255.255.255.192
D) 255.255.255.224
C) 255.255.255.192
Explanation: If you borrow 2 bits from a Class C IP address, the new subnet mask is 255.255.255.192.
How do you calculate the subnet increment (block size)?
A) Subtract the subnet mask value of the last octet from 256.
B) Add the subnet mask value of the last octet to 256.
C) Multiply the subnet mask value of the last octet by 2.
D) Divide the subnet mask value of the last octet by 2.
A) Subtract the subnet mask value of the last octet from 256.
Explanation: To calculate the subnet increment (block size), subtract the subnet mask value of the last octet from 256.
What is the network address of the second subnet if the original IP address is 192.168.1.0 and the subnet increment is 64?
A) 192.168.1.0
B) 192.168.1.64
C) 192.168.1.128
D) 192.168.1.192
B) 192.168.1.64
Explanation: The network address of the second subnet is 192.168.1.64, as the subnets increment by 64 in the last octet.
How many usable hosts are there in each subnet if the subnet mask is 255.255.255.192?
A) 62
B) 64
C) 126
D) 128
A) 62
Explanation: Each subnet has 64 IPs total, but only 62 are usable hosts (1 for network address and 1 for broadcast address).