lesson 5B Flashcards

1
Q

What is Layer 2 in a network, and what does it do?

A

Layer 2 is the Data Link Layer. It uses MAC addresses to forward data within the same local area (subnet) using switches. It ensures that devices in the same subnet can communicate directly.

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

What is Layer 3 in a network, and what is its main function?

A

Layer 3 is the Network Layer. It uses IP addresses to route data between different subnets and across networks using routers. This layer allows devices in different subnets to communicate.

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

How do switches and routers differ in a network?

A

Switches operate at Layer 2 and use MAC addresses to forward data within a local area (subnet). Routers operate at Layer 3 and use IP addresses to route data between different subnets and networks

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

What is a MAC address, and why is it important?

A

A MAC address is a unique identifier for each device on a network, like a postal code for houses. It is used by switches at Layer 2 to forward data within the same subnet.

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

What is an IP address, and why do we need it?

A

An IP address is a unique address for each device on a network, similar to a full mailing address. It is used by routers at Layer 3 to route data between different subnets and networks

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

What happens if two devices are in the same subnet and want to communicate?

A

If two devices are in the same subnet, they use MAC addresses to communicate directly. The switch forwards data using these MAC addresses within the local area.

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

What is a default gateway, and when is it used?

A

A default gateway is a router that forwards data to other subnets when the destination IP address is different from the source subnet. It is used when devices need to communicate with devices in different subnets.

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

What is ARP, and what does it do?

A

ARP (Address Resolution Protocol) is used to match an IP address to a MAC address within the same subnet. It helps devices find the correct MAC address to send data to.

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

How does ARP work when two devices are in the same subnet?

A

The sending device sends an ARP request asking, “Who has this IP address?” The device with that IP address responds with its MAC address, allowing the sender to forward data correctly.

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

What happens if the destination IP address is not in the same subnet as the source?

A

If the destination IP is different, the source device sends the data to the default gateway (router). The router then forwards the data to the correct subnet or next router based on its routing table.

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

What is unicast addressing?

A

Unicast addressing is when a computer sends a message to one specific computer using its unique IP address. It’s like sending a letter to one friend.

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

What is broadcast addressing?

A

Broadcast addressing sends a message to all computers in a network. It’s like making an announcement that everyone in the school hears.

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

What is a broadcast address?

A

A broadcast address is the special address used to send a message to every computer in a network. It is the last address in the IP address range for that network.

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

How is the broadcast address determined?

A

To find the broadcast address, set all the host bits to 1 in the IP address. For example, with a subnet mask of 255.255.255.240, the last address is the broadcast address.

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

What is multicast addressing?

A

Multicast addressing sends a message to a group of computers that want to receive it. It’s like sending an invitation to all members of a club.

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

How do computers join a multicast group?

A

Computers join a multicast group by using a protocol called IGMP (Internet Group Management Protocol). This tells the network they want to receive the multicast messages.

17
Q

What is anycast addressing?

A

Anycast addressing sends a message to the nearest computer in a group that shares the same IP address. It’s like calling a customer service number and reaching the closest representative.

18
Q

What happens if a switch is not multicast-capable?

A

If a switch is not multicast-capable, it treats multicast messages like broadcast messages and sends them to all ports, like making a loud announcement to everyone.

19
Q

What is the difference between layer 2 and layer 3 addressing?

A

Layer 2 addressing uses MAC addresses for local network communication, while layer 3 addressing uses IP addresses for communication between different networks.

20
Q

What is a broadcast domain?

A

A broadcast domain is a group of computers that can receive broadcast messages. Routers create boundaries for these domains, so broadcast messages don’t go beyond them.