Lecture 5. Network Layer. IPv4 addressing Flashcards

(18 cards)

1
Q

Q: What are the four basic operations of the network layer?

A

A:
1. Addressing end devices,
2. encapsulation,
3. routing,
4. de-encapsulation.

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

Q: Which are the principal network layer protocols?

A

A: IPv4 and IPv6.

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

Q: What is an IPv4 address and how many bits does it have?

A

A: A unique identifier for a device on a network, consisting of 32 bits.

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

Q: How is an IPv4 address typically represented?

A

A: In four octets, e.g., 192.168.1.1, each octet being 8 bits.

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

Q: What is a subnet mask?

A

A: A sequence that defines which part of an IPv4 address is the network portion and which is the host portion.

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

Q: How do you identify the network and host portions of an IPv4 address?

A

A: The network portion corresponds to the subnet mask’s binary “1”s; the remainder are host bits.

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

Q: What is a prefix length?

A

A: The number of bits set to “1” in the subnet mask, e.g., /24 means 24 “1”s.

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

Q: Name the legacy IPv4 address classes and their use.

A

A: Class A (large networks), Class B (medium), Class C (small), Class D (multicast), Class E (experimental).

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

Q: What replaced classful addressing and why?

A

A: Classless addressing (CIDR) for better address utilization.

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

Q: What are network, broadcast, first and last usable addresses?

A

A:
- Network address: the first address in a subnet
- Broadcast address: the last address in a subnet
- First usable: one after the network address
- Last usable: one before the broadcast address

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

Q: Explain Unicast, Multicast, and Broadcast addresses.

A

A:
- Unicast: one recipient
- Multicast: group of addresses (224.0.0.0 to 239.255.255.255)
- Broadcast: sent to all devices in a network (last address in subnet)

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

Q: What is VLSM and why is it important?

A

A: Variable Length Subnet Masking allows subnets of different sizes, optimizing address allocation.

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

Q: Steps for VLSM subnetting?

A

A:
1. Find subnet mask/prefix length.
2. Identify network address.
3. Find first address.
4. Find last address.
5. Find broadcast address.

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

Q: What are private and public IPv4 addresses?

A

A:
Private: usable only within LAN, not routable on the Internet.
Public: globally routable.

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

Q: What is a default gateway?

A

A: The router device IP on a LAN used to send traffic outside the local network.

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

Q: What is the special use and range for loopback and link-local addresses?

A

A:
Loopback: 127.0.0.0/8 (used to check a device’s own TCP/IP stack)
Link-local: 169.254.0.0/16 (automatic addressing when DHCP fails)

17
Q

Q: What is ICMP and what is it used for?

A

A: Internet Control Message Protocol, used for error and diagnostic messages (e.g., destination unreachable, time exceeded).

18
Q

Q: What does the traceroute tool use to determine packet paths?

A

A: ICMP Time Exceeded messages and decrementing TTL (Time To Live) field.