Chapter 6 - TCP/IP Basics Flashcards

1
Q

How many bits does an IPV4 address consists of?

A

32 bits (8 octets).

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

Identify the network ID section of the following IP address and subnet mask : 10.14.12.43-255.255.255.0

A

Network ID : 10.14.12.x
Host ID : x.x.x.43

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

What does ARP stands for?

A

Address Resolution Protocol.

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

Identify the class of the following IP address : 146.203.143.101

A

Class B.

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

What is the maximum number of hosts in a /19 subnet?

A

8190, the all zero and all one hosts are reserved.

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

What is the number 138 in binary?

A

128+8+2 = 10001010

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

When a DHCP discover fails, what process will the client use to generate an address for itself?

A

APIPA (Automatic Private IP Addressing) will start with 169.

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

At which layers of the IP model does the TCP/IP suites sits?

A

Application, Transport and Internet. TCP/IP applications do not include the link layer.

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

Name 3 mains internet layer TCP/IP protocols.

A

IPv4, IPv6, ICMP (Internet Control Message Protocol).

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

Name 2 transport layver TCP/IP protocols.

A

TCP and UDP.

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

What’s the range of a Class A address?

A

1.0.0.0 - 126.255.255.255

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

What’s the range of a Class B address?

A

128.0.0.0 - 191.255.255.255

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

What’s the range of Class C address?

A

192.0.0.0 - 223.255.255.255

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

What’s the range of Class D address?

A

224.0.0.0 - 239.255.255.255

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

What’s the range of Class E address?

A

240.0.0.0 - 254.255.255.255

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

What’s the difference between subnetting and CIDR?

A

Subnetting and CIDR (Classless Inter-Domain Routing) are both techniques used in IP addressing and routing, but they differ in their approaches.

Subnetting:
Subnetting is a method of dividing a larger network into smaller, more manageable sub-networks or subnets. It involves borrowing bits from the host portion of an IP address to create distinct sub-networks. Subnetting is typically associated with classful addressing (Class A, B, or C) and uses fixed subnet masks.

CIDR:
CIDR, on the other hand, is a more flexible addressing scheme that allows for variable-length subnetting. It eliminates the rigid class boundaries and uses a prefix notation to represent IP address blocks. In CIDR, a prefix length is specified in the form of “/X,” where X indicates the number of bits in the network portion of the address.

In summary, subnetting is a method of dividing a network into fixed-size subnets within the traditional classful addressing, while CIDR is a more modern approach that provides flexibility in defining variable-sized subnets using a prefix notation.

17
Q

What protocol would you use for dynamic IP addressing?

A

DHCP (Dynamic Host Configuration Protocol).

18
Q

What’s the 4 way handshake of DHCP?

A

DORA, Discover, Offer, Request Ack.

19
Q

What’s the 3 way handshake of TCP?

A

Syn, Syn Ack, Ack.

20
Q

What is a DHCP relay used for?

A

A DHCP relay is used to facilitate the dynamic assignment of IP addresses in networks where the DHCP (Dynamic Host Configuration Protocol) server is located on a different subnet than the requesting client devices. DHCP operates at the application layer to automatically assign IP addresses and other network configuration information to devices on a network.

The DHCP relay agent helps relay DHCP messages between DHCP clients and servers across different subnets. When a DHCP client sends a DHCP request to obtain an IP address, the relay agent intercepts the request and forwards it to the DHCP server. The DHCP server, which may be on a different subnet, processes the request and sends the DHCP response back to the relay agent. The relay agent then forwards the DHCP response to the client, allowing it to obtain the assigned IP address and other configuration details.

In essence, a DHCP relay enables the centralized management of IP address allocation in a network with multiple subnets by forwarding DHCP messages between clients and servers across different network segments.

21
Q

What are the 2 ways to introduce redundancy in your DHCP servers?

A

You can have a failover (secondary DHCP that remains dormant until the main fails, it has the same scope as the primary), or you can split your scope between multiple DHCP.

21
Q

What are the 2 way to reserve address in a DHCP server?

A

DHCP reservation (block address from the DHCP scope) and MAC reservation (the same MAC address always get the same IP address).