NetworkLayerII Flashcards

1
Q

What is IPv4?

A

The fourth version of the Internet Protocol, using 32-bit addresses.

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

What fields are in an IPv4 datagram header?

A

Version, header length, type of service, total length, identification, flags, fragment offset, TTL, protocol, checksum, source IP, destination IP.

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

What is fragmentation in IP?

A

Breaking down large IP datagrams into smaller fragments to fit into the MTU of a network.

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

Where are IP fragments reassembled?

A

At the destination host.

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

What does TTL (Time To Live) field prevent?

A

Prevents packets from circulating indefinitely by limiting the number of hops.

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

What is CIDR (Classless Inter-Domain Routing)?

A

An addressing scheme that replaces class-based addressing to allow flexible allocation of IP addresses.

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

How does a router forward packets?

A

By matching the destination IP address with the longest prefix match in its forwarding table.

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

What is the main difference between IPv4 and IPv6?

A

IPv6 uses 128-bit addresses and has a simplified, fixed-length header.

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

What does a NAT (Network Address Translation) router do?

A

Translates private IP addresses to a public IP address.

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

What problem does NAT help solve?

A

It helps alleviate the shortage of IPv4 addresses.

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