Ch-2 Switching Flashcards

1
Q

Switching?

A

Until and unless we have full mesh connections, every endpoint may not communicate with every other endpoint. That’s why we have Switching.

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

Ethernet- 802.3

A
  • It’s a Layer 2 protocol used for Switching.
  • 99% of networks use this
  • Invented by IEEE
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Ethernet header:

A

Ethernet header, packet, trailer
- Header: preamble, Start frame demiliter, dest MAC address, source MAC address, type
Trailer: FCS (Frame check Sequence)

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

Preamble, SFD

A
  • Preamble: 7 bytes
  • SFD: 1 byte
  • used for synchronizing the transmitter and receivers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

MAC addresses:

A
  • Dest and source MAC addresses indicate devices sending and receving the frame.
  • 6 bytes (6 * 8 = 48 bits)
  • also called physical address or burnt in address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

MAC address is 6 bytes

A
  • it is represented in Hexadecimal
  • organizational unique identifier (OUI) : first 3 bytes ( should be able to identify who the manufacturer is)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Type field : 2 bytes

A
  • will indicate what higher layer packet is there.
  • if we’re using ipv4/ipv6
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

FCS :4 bytes

A
  • it’s like a seal when one endpoint is sending data to another endpoint
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Flooding:

A

As soon as the switch receives a frame, without the destination address - the switch doesn’t know where to send the frame. Initially MAC address table is empty.
- since it doesn’t know where to send, it uses something called Flooding (sending the frame to all other interfaces except the interface of which it received).

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

Forwarding:

A
  • As soon as the frame is received on the switch, the switch learns it’s dest mac address and adds it to the MAC address table.
  • the switch then forwards the frame to it’s destination.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Broadcasting:

A

When A wants to send frame to all the other endpoints, it will broadcast.
- dest MAC address: FF:FF:FF:FF:FF:FF
- Multicast (One to Many)

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

What is Switching Logic ?

A

As frame is received on the switch
- Look at Dest MAC, if it’s known (present in MAT) Forward it.
- if it’s unknown, Flood
- Look at source MAC, if it’s not in MAT, add it to the table.

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