Curs 2
Curs 2
Course 2 Networks,
Spanning Tree Protocol,
and VLANs
Ethernet
Networks
Ethernet
• the family of LAN products covered by the IEEE 802.3 standard.
• enables devices to communicate with each other via a protocol.
• describes how network devices can format and transmit data packets -> other devices belonging to the same
network segment can recognize, receive and process them.
• defines two units of transmission: packet and frame.
• is currently used for approximately 85 % of the world's LAN-connected PCs and workstations.
• is the major LAN technology because:
• is easy to understand, implement, manage, and maintain
• allows low-cost network implementation
• provides extensive topological flexibility for network installation
• guarantees successful interconnection and operation of standards-compliant products, regardless of
manufacturer
the original Ethernet was developed as an experimental coaxial
cable network in the 1970s by Xerox Corporation
Topologie
s and since the early 1990s, the network configuration of choice
has been the star-connected topology;
Structure
s all connections in a star network are point-to-point links
implemented with either twisted-pair or optical fiber cable;
The Basic • Preamble - used to allow the transmitter and receiver to synchronize their
communication; is an alternating pattern of binary 56 ones and zeros.
Ethernet • Start-of-frame delimiter (SFD) - is always 10101011; used to indicate the beginning of
Frame the frame information.
Format • Destination address (DA) - is the MAC address of the machine receiving data.
• Source addresses (SA) - is the MAC address of the machine transmitting data.
• Length/Type - also known as Ethertype;
• Data/Padding (a.k.a. Payload) - sequence of n bytes of any value, where n 1500 ;
if n<46, the Payload field must be extended by adding a filler (a pad) sufficient to bring
the Payload length to 46 bytes.
• Frame check sequence (FCS) - contains a 32-bit cyclic redundancy check (CRC) value,
which is created by the sending MAC and is recalculated by the receiving MAC to check
for damaged frames; the FCS is generated over the DA, SA, Length, and Payload.
Ethernet frame types
• Ethernet supports two frame types, and they have been standardized;
• The 16-bit field that follows the source address (SA) indicates whether
the frame is Ethernet II or 802.3:
• If the value is 1500 or less, the frame is treated as 802.3.
• If the value is greater than 1500, the frame is treated as Ethernet II.
• The Ethernet II frame is normally used for transmission of IP datagrams.
• Ethernet 802.3 was developed by the IEEE from the original Ethernet
standard in 1983.
The two Ethernet frame standards: 802.3 and
Ethernet II.
• 802.3 has a frame defined by IEEE and is used mainly for IPX.
• Ethernet II: Length has been replaced by Type to identify upper-layer protocols; is the most commonly used frame today.
• Ethernet uses a Type field to tell the receiver what to do with the frame.
The IEEE 802.3
Relationship to
the OSI Reference
Model
- once the spanning tree is built, links that are not part of the tree are disabled.
- if a link that is part of the spanning tree fails, a new tree is constructed, and some formerly disabled links may now return to service.
- was invented in 1985 by Radia Perlman and was first published as a standard by the IEEE as 802.1D.
- revisions were published in 1998 and 2004;
- the Rapid Spanning Tree Protocol (RSTP) was introduced in 1998 as IEEE 802.1w.
- in 2004, the IEEE incorporated the changes of RSTP into the STP and removed previous versions (published as IEEE 802.1D-2004).
Spanning Tree topology
• can be thought of as a tree that includes the following components:
• A root (a root bridge/switch)
• Branches (LANs and designated bridges/switches)
• Leaves (end nodes)
• there are no disconnected components that are considered part of the tree.
• the tree encompasses all its leaves (end nodes) and there is usually only one tree for any Ethernet network.
• there are no loops in the tree.
• if you trace a path from one leaf (end node) to any other leaf (end node), you’ll find there is only one
possible path.
• STP organizes and connects switches into a loop-free topology while leaving no segments isolated.
Selecting a Root Bridge
• key concept!
• the root bridge in a STP is important because it is the root bridge that
serves as the starting point for building the STP tree.
• the way a root bridge is selected in based on a numeric value called the
bridge ID (BID) - determines its priority for root bridge selection.
• the bridge with the lowest BID becomes the root bridge.
The root bridge is selected based on the lowest bridge priority