IP ADDREEING WEEK 11 Flashcards

1
Q

What is an IP address, and why is it essential in computer networks?

A

An IP address is a 32-bit sequence of 0s and 1s used as a unique identifier for devices on a network. It allows devices to communicate and ensures proper data routing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the structure of an IPv4 address. How is it divided?

A

An IPv4 address is divided into four octets, separated by periods (e.g., 192.168.1.10). It consists of a network part and a host part. For example, in 192.168.1.10, “192.168.1” is the network part, and “.10” is the host part.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the address space of IPv4, and how is it calculated?

A

The address space of IPv4 is
2
32
2
32
, which equals 4,294,967,296 unique addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the ranges for Class A, B, and C IP addresses?

A

Class A: 1.0.0.1 to 126.255.255.254
Class B: 128.0.0.1 to 191.255.255.254
Class C: 192.0.0.1 to 223.255.254.254

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How many hosts can be supported by each class of IP address?

A

Class A: 16,777,214 hosts
Class B: 65,534 hosts
Class C: 254 hosts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the significance of reserved IP addresses like 127.0.0.1?

A

Reserved addresses, such as 127.0.0.1, are used for special purposes like loopback testing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a multicast IP address, and in which class do they fall?

A

Multicast IP addresses belong to Class D (224.0.0.0 to 239.255.255.255). They allow a single source to send data to multiple recipients on a network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Compare IPv4 and IPv6 in terms of address length and usage.

A

IPv4: 32 bits, approximately 4.3 billion addresses, not geographically assigned.
IPv6: 128 bits, virtually unlimited addresses, assigned by geographic regions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is subnetting, and why is it used?

A

Subnetting divides a larger network into smaller subnetworks to improve performance, enhance security, and efficiently use IP addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you calculate the number of subnets and hosts in a subnet?

A

Subnets:
2
𝑥
2
x
, where
𝑥
x is the number of bits borrowed for subnetting.
Hosts:
2
𝑦

2
2
y
−2, where
𝑦
y is the number of host bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Calculate the subnet, broadcast address, and host range for IP 192.168.1.193 with a subnet mask of 255.255.255.240.

A

Subnet: 192.168.1.192
Broadcast: 192.168.1.207
Host Range: 192.168.1.193 to 192.168.1.206

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the advantages and disadvantages of subnetting?

A

Advantages: Improved performance, enhanced security, simplified troubleshooting, efficient IP usage.
Disadvantages: Complex configuration, potential communication issues, increased management overhead.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Design a subnet for a company with 50 hosts per network. What subnet mask would you use?

A

Answer: Use a subnet mask of 255.255.255.192 (/26), which provides 62 usable host addresses (
2
6

2
2
6
−2).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How would you assign static and dynamic IP addresses in a network?

A

Static: Manually configured for critical devices like servers.
Dynamic: Assigned by a DHCP server for general devices like laptops and smartphones.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the broadcast address for the subnet 10.0.0.0/25?

A

The broadcast address is 10.0.0.127.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the role of DNS, and what port number does it use?

A

DNS translates domain names into IP addresses and uses port 53.

17
Q

Describe the difference between TCP and UDP in terms of reliability and use cases.

A

TCP: Reliable, used for applications requiring data integrity (e.g., web browsing, file transfer).
UDP: Less reliable, used for real-time applications (e.g., VoIP, streaming).

18
Q

Match the following protocols to their port numbers:

A

FTP: ___
DHCP: ___
SMTP: ___
POP3: ___
Answer:
FTP: 20, 21
DHCP: 68, 69
SMTP: 25
POP3: 110

19
Q

Why is IPv6 adoption important, and what challenges does it address?

A

IPv6 resolves the exhaustion of IPv4 addresses, offering scalability and improved features like simplified header processing and better security.