Ethernet Switching Flashcards

(28 cards)

1
Q

What marks a deterministic network?

A

Network access should be very organized and orderly.

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

What is an example for a deterministic approach?

A

The token-ring system where (like in a classroom) a token is given to a device, as long as it has the token, this device is allowed to send and all other devices are quiet.

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

How does a contention-based network work?

A

It works more like a conversation between friends at a table. Every sender tries to find a gap and send when the others are silent. As there are no set restrictions, collision can occur with this method.

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

What are the advantages/disatvantages of a contention based network?

A

Pro:
- Less overhead (no token needed to pass)
- Better usage of the bandwith

Con:
- Can become way more chaotic
- Collision will appear

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

What does Ethernet use to counter the issue with collision?

A

CSMA/CD:
Carrier Sense Multiple Access with Collision Detection

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

What happens when a collision occurs with CSMA/CD?

A
  1. Both devices stop transmitting
  2. Both devices generate a random number (Random Backoff Timer)
  3. The number represents a timer in milliseconds, after the timer hits 0, the devices listens if any other device is transmitting and if not it retransmitts the data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a collision domain? What differences does the use of a hub compared to a switch make?

A

Each are of the network, that shares a single segment.

For example 4 devices that are connected to a hub, are all on the same collision domain. This also means they can all only use half-duplex because otherwise they would hear themselves.

If those 4 devices are connected to a switch tho, each port on that switch is its own collision domain, allowing all 4 devices using full-duplex.

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

What are the 3 types of hubs?

A
  1. Passive hub: Just repeats the signal
  2. Active hub: Repeats and amplifies the signal, allowing more than the 100m limit twisted pair cables pose
  3. Smart hub: Active hub with SNMP capabilities

Hubs are basically dead and no longer used tho.

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

What is a bridge and what layer is it on?

A

Its a Layer 2 device. It has an internal MAC table that allows it to only forward traffic if the destination MAC address is on the other side of the bridge.

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

What is a switch and which layer is it on?

A

Its on Layer 2.
A switch is basically a multiport bridge or a hub that has a bridge on every single port. It connects multiple network segments. Each port is its own collision domain.
Everything on one switch is part of the same broadcast domain.

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

How does the MAC address resolution works with ARP?

A

Adress Resolution Protocol (when all MAC addresses are unknown):
1. PC1 (YY) wants to talk to PC4 (MAC: XX)
2. PC1 sends out an ARP saying i need to talk to MAC address XX
3. The switch gets it and now knows PC1 = YY, the ARP packet gets forwarded to all machines until one answers, “I am XX”, the switch saves the information PC4=XX
4. For every new connection the data can be send directly without disturbing the other devices on the network.

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

What is the main advantage of a router over a switch?

A

A router can separate broadcast domains.

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

What is a Layer3 Switch?

A

Its basically a combination of a router and a switch. It has routing capabilities and connects network segments but each port now is its own broadcast and collision domain.
Less efficient as a router.

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

What standard MTU sizes exist?

A

Wired Ethernet: 1500 bytes
Wireless Network: 1420 bytes
VPN: 1400 bytes
Jumbo Frames: 9000 bytes

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

What happens when a switch receives a frame with a destination MAC not in its CAM table?

A

It floods the frame out all ports except the incoming one.

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

What is the purpose of a VLAN?

A

It logically segments a network into separate broadcast domains for better security and management.

17
Q

What type of traffic is reduced by VLANs?

A

Broadcast traffic.

18
Q

What is a trunk port?

A

A switch port configured to carry traffic for multiple VLANs using tagging.

19
Q

What is an access port?

A

A switch port assigned to a single VLAN, usually for end devices.

20
Q

Why is Spanning Tree Protocol (STP) important?

A

It prevents switching loops and broadcast storms by blocking redundant paths.

21
Q

What is a root bridge in STP?

A

The central switch chosen as the reference point for the spanning tree. Its chosen based on the lowes BID (Bridge ID: Priority Value + MAC)

22
Q

What is port security on a switch?

A

A feature that restricts which MAC addresses can connect to a specific port.

23
Q

What happens if a device with an unauthorized MAC address tries to connect to a port with port security enabled?

A

The switch can block traffic, shut down the port, or restrict access depending on configuration.

24
Q

What is sticky MAC in port security?

A

A feature that allows a switch to dynamically learn and save MAC addresses on a port as if they were manually configured.

25
What is the main advantage of managed switches over unmanaged switches?
Managed switches support features like VLANs, STP, SNMP, and port security, while unmanaged switches only provide basic connectivity.
26
What 3 port types exist in the STP protocol?
- Root Ports (lowest cost port on a non-root bridge) - Designated Ports (all ports on a root bridge) - Non-Designated Ports (blocked ports on a non-root bridge)
27
What are the 4 STP Port states?
- Blocking: Stops forwarding frames - Listening: Learns MAC addresses but doesnt forward frames - Learning: Processes BPDU and determines role in spanning tree - Forwarding: Forwards frames as designated or root port
28
What are the IEEE Standards for Ethernet, WLAN, STP, VLAN (Tagging) & WPAN
Ethernet: 802.3 WLAN: 802.11 STP: 802.1D VLAN (Tagging): 802.1Q WPAN: 802.15