Ethernet LAN Switching Flashcards
Which field of an ethernet frame provides reciever clock synchronization ?
Preamble (7 bytes of 1010101) (usually not considered part of the header)
Which field of an ethernet frame is used to detect errors that occured during trasmission ?
FCS (Frame Check Sequence)
How long is the physical address of a network device ?
48 bits / 6 bytes
How many bytes/bits of the MAC address is the OUI ?
24 bits / 3 bytes
Which field of an ethernet frame is used by a switch to populate is MAC address table ?
Source MAC address
What kind of frame does a switch flood out of all interfaces except the one recieved on ?
Unknown unicast
What are all the fields of an ethernet frame ?
Preamble (7 bytes)
Start Frame Delimeter (SFD) (1 byte) (usually not considered part of the header)
Destination MAC address (6 bytes) - Header
Source MAC address (6 bytes) - Header
Type (2 bytes) - Header
Frame Check Sequence (FCS) (4 bytes) - Trailer
What is the minimum size of an Ethernet Frame (Header + Data + Trailer) ?
64 bytes
Header + Trailer = 18 bytes
Minimum Data Payload Size = 46 bytes
If data is smaller than 46 bytes then padding bytes are used
What protocol is used to discover the layer 2 (MAC) address of a known layer 3 (IP) address ?
Address Resolution Protocol (ARP)
It consists of 2 messages:
ARP Request (broadcast)
ARP Reply (unicast)
ARP Type: 0x0806
How to view ARP table ?
arp -a
What are the 2 messages sent with a ping ?
ICMP Echo Request
ICMP Echo Reply
What is it called when MAC addresses are removed from a switches MAC address table after 5 minutes of no traffic ?
Aging
Protocol Data Units (PDUs)
Data
Segment - Layer 4
Packet - Layer 3
Frame - Layer 2
Bits - Layer 1
Ethernet Frame
Ethernet Header:
* Preamble
* Start Frame Delimiter (SFC)
* Destination
* Source
* Type
Ethernet Trailer
* FCS
Ethernet Header - Start Frame Delimiter (SFC)
1 byte
Marks the end of the Preamble
(usually not considered part of the header)
Ethernet Header - Destination and Source
Destination and Source MAC Address
6 bytes each
Ethernet Header - Type / Length
2 bytes
1500 or less indicated the LENGTH of the encapsulated packet
1536 or more indicates the TYPE of encapsulated packet (IPv4 or IPv6)
IPv4: 0x0800
IPv6: 0x86DD
Ethernet Trailer - Frame Check Sequence (FCS)
4 bytes
Detects corrupted data by running a Cyclical Redundancy Check (CRC) algorithm
What is the destination MAC address of an unkown device ?
FFFF.FFFF.FFFF
Interface Errors ?
Runts: Frames that are smaller than the minimum frame size 64 bytes
Giants: Frames that are larger than the maximum frame size 1518 bytes
CRC: Frames that failed the CRC check
Frame: Frames that have an incorrect format
Input Errors: Total errors from the various counters
Output Errors: Frames that the switch tried to send but couldn’t because of error
How to set speed and duplex on an interface ?
speed speed
duplex duplex
(auto / half / full)