CompTIA Network + Chapter 4 Understanding Ethernet.
-
Upload
sarah-melissa-casey -
Category
Documents
-
view
225 -
download
0
Transcript of CompTIA Network + Chapter 4 Understanding Ethernet.
![Page 1: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/1.jpg)
CompTIA Network +
Chapter 4
Understanding Ethernet
![Page 2: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/2.jpg)
Objectives
What are the characteristics of Ethernet networks, in terms of media access, collisions domains, broadcast domains, and distance/speed limitations of various Ethernet Standards?
What functions are performed by Ethernet switch features, such as VLANs, trunks, Spanning Tree Protocol, link aggregation, Power over Ethernet, port monitoring, user authentication, and first-hop redundancy?
![Page 3: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/3.jpg)
Understanding Ethernet
• Odd are, when you are working with local-area networks (LAN), you are working with Ethernet as the Layer 1 technology.
• Over the years, Ethernet has evolved. Several Ethernet standards exist in modern LANs, with a variety if distance and speed limitations.
![Page 4: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/4.jpg)
Principles of Ethernet
• Ethernet was fist developed by Xerox Corporation. The original intent was to create a technology to allow computers to connect with laser printers.
• From this humble beginnings, Ethernet rose to be used to interconnect such devices as computers, printers, wireless access points, servers, switches, routers, video-game systems, and more.
![Page 5: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/5.jpg)
Ethernet Origins
• IEEE 802.3, in general this in is interchangeable with the term Ethernet.
• In the early days, it was called 10BASE5.• 10 = 10 Mbps (10 million bits per second)• BASE = Baseband, one signal on the line at a
time.• 5 = 500 meters of cable max
• The cable use was RG-6, became known as thicknet.
![Page 6: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/6.jpg)
• Another early Ethernet implementation was 10BASE2. • 10 = 10 Mbps (10 million bits per second)• BASE = Baseband, one signal on the line at a time.• 2 = 185 meters of cable max
• The cable use was RG-58, became known as thinnet.
• 10BASE5 and 10BASE2 networks are rarely, if ever, seen today. Other than their 10-Mbps bandwidth limitation, the cables used by these network have been replaced with either UTP or STP cables.
Ethernet Origins
![Page 7: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/7.jpg)
Carrier Sense Multiple Access Collision Detect (CSMA/CD)
• Ethernet was based on the philosophy that all networked device should be eligible at any time, to transmit on a network
• At the core of this philosophy is the bus topology in which Ethernet was designed to operate.
• Ethernet permits only a single frame to be on a network segment at any one time.
![Page 8: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/8.jpg)
Ethernet Network Using a Shared Bus
![Page 9: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/9.jpg)
Collision on an Ethernet Segment
![Page 10: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/10.jpg)
Recovering from a Collision with Random Back Off Timers
![Page 11: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/11.jpg)
CSMA/CD (Carrier Sense Multiple Access with Collision Detection)
• Network access method– Controls how nodes access communications channel– Necessary to share finite bandwidth
• Carrier sense– Ethernet NICs listen, wait until free channel detected
• Multiple access– Ethernet nodes simultaneously monitor traffic, access
media
![Page 12: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/12.jpg)
CSMA/CD (cont’d.)• Collision
– Two nodes simultaneously:• Check channel, determine it is free, begin transmission
• Collision detection– Manner nodes respond to collision– Requires collision detection routine
• Enacted if node detects collision
– Jamming• NIC issues 32-bit sequence• Indicates previous message faulty
![Page 13: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/13.jpg)
CSMA/CD Process
![Page 14: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/14.jpg)
General Definition
• A collision domain -- is a set of network interface cards (NICs) for which a frame sent by one NIC could result in a collision with a frame sent by any other NIC in the same network segment.
• A broadcast domain – is a set of NICs for which a broadcast frame sent by one NIC will be received by all other NICs in the same broadcast domain
![Page 15: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/15.jpg)
HUB
One collision Domain
![Page 16: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/16.jpg)
Switches
Six Collision Domains
![Page 17: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/17.jpg)
Simplex, Half-Duplex, and Duplex• Simplex
– Signal transmission: one direction
• Half-duplex transmission– Signal transmission: both directions
• One at a time– One communication channel
• Shared for multiple nodes to exchange information
• Full-duplex– Signals transmission: both directions simultaneously– Used on data networks
![Page 18: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/18.jpg)
Distance and Speed Limitations
Ethernet Types Bandwidth Capacities
Standard Ethernet 10 Mbps: 10 million bits per second (that is 10 megabits per second)
FastEthernet 100 Mbps: 100 million bits per second (that is 100 megabits per second)
Gigabit Ethernet 1 Gbps: 1 billion bits per second (that is 1 gigabits per second)
10-Gigabit Ethernet
10 Gbps: 10 billion bits per second (that is 10 gigabits per second)
100-Gigabit Ethernet
100 Gbps: 100 billion bits per second (that is 100 gigabits per second)
The type of cabling used in your Ethernet work influences the bandwidth capacity and the distance limitation of your network. See table 4-2, page 115
![Page 19: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/19.jpg)
Ethernet Switch Features
Virtual LANs (VLAN)• Most every Enterprise network today uses the
concept of virtual LANs (VLAN).• Before understanding VLANs, you must have a
very specific understanding of the definition of a LAN
• What is a LAN?– A LAN consists of all devices in the same
broadcast domain.
![Page 20: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/20.jpg)
VLANs
• All ports on a switch form a single broadcast domain.
• To create VLANs the switch separates the ports into many broadcast domains based on configuration settings.
![Page 21: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/21.jpg)
All Ports on a Switch belong to the same Subnet
![Page 22: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/22.jpg)
Ports on a Switch belong to the Different VLANs
![Page 23: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/23.jpg)
Trunking Between Switches
![Page 24: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/24.jpg)
Ethernet Frame
Ethernet_II (DIX) frame
![Page 25: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/25.jpg)
Ethernet Frame with an 802.1q tag
Dest Src Len/E-type Data FSCSegment
Frame
Dest Src E-type Data FSCLen/E-typeTagTagged
Frame
Priority VLAN-ID
![Page 26: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/26.jpg)
Spanning Tree Protocol
• Without the Spanning Tree Protocol (STP), frames would loop for an indefinite period of time in networks with physically redundant links.
• STP blocks some ports form forwarding frames so that only one active path exists between any pair of LAN segments.
![Page 27: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/27.jpg)
MAC Address Table Corruption
Port Mac Addresses
Gig 0/1 AAAA.AAAA.AAAA
Gig 0/2 AAAA.AAAA.AAAA
Port Mac Addresses
Gig 0/1 AAAA.AAAA.AAAA
Gig 0/2 AAAA.AAAA.AAAA
Switch A’s MAC Address Table
Switch B’s MAC Address Table
![Page 28: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/28.jpg)
Segment A
Segment B
PC1
Broadcast frame destined for FFFF.FFFF.FFFF
PC2
Gig 0/1Gig 0/1
Gig 0/2Gig 0/2
(1)
(2)
(3)
Broadcast Storm
![Page 29: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/29.jpg)
STP Terms
• Root Switch• Non-root Switch• Administrative Cost• Root Port• Designated Port• Bridge ID• Hello BPDU
![Page 30: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/30.jpg)
– First STP uses Hello messages, also called switch Protocol Data Units (BPDUs).
– Each switch and switch claims to be the root switch, and the one with the lowest bridge ID is elected root.• The Bridge ID is a combination of a priority (2-byte) and a
MAC address on the switch (6-byte).– STP places all ports on the root switch into a forwarding state.– The ROOT Switch continually sends Hello BPDUs.– Each non-root switch receives and modifies the BPDUs and
passes them on with a new cost inserted.• Cost – port cost assigned to that interface plus the cost listed in a
received Hello message..– Each non-root switch uses the cost to find the lowest cost path
back to the root.
How Spanning Tree Works
![Page 31: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/31.jpg)
STP: Reasons for Forwarding State
Characterization of Port
STP STATE Explanation
All the root switch’s ports Forwarding The root switch is always the designated switch on all connected segments.
Each non-root switch’s root port
Forwarding The port through which the switch has the least cost to reach the root switch.
Each LAN’s designated port Forwarding The switch forwarding the lowest-cost BDPU onto the segment is the designated switch for that segment.
All other ports Blocking The port is not uses for forwarding frames, nor are any frames received on these interfaces considered for forwarding.
![Page 32: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/32.jpg)
Other STP states
• Listening – Listens to incoming Hello messages to ensure that there are no loops, but does not forward traffic or learn MAC addresses on the interface. This is an interim state between blocking and forwarding.
• Learning – Still listens to BPDUs, plus leans MAC addresses from incoming frames. It does not forward traffic. This is an interim state between blocking and forwarding.
• Disabled – Administratively down.
![Page 33: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/33.jpg)
Link Aggregation
If all port on a switch are operating at the same speed, the most likely ports to experience congestion is a port connecting to another switch or router up line from the device.
![Page 34: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/34.jpg)
Link Aggregation
To alleviate congested links between switches, you can logically combine multiple physical connection into a single logical connection.
![Page 35: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/35.jpg)
IPRJ-45
ConnectorRJ-45
Connector
Pin 1 and 2
Pin 3 and 6
Switch with PoE Support
IP Phone
Power over Ethernet (PoE)
1) Switch applied 2.8 -10V DC to two pairs of leads to detect a 25k Ohm resister in the attached device.
2) Next the switch must determine is how much power the attached device need. It does this by applying 15.5 – 20.5V DC, for a brief period.
3) Now the switch can apply the correct voltage, 44–57V DC
![Page 36: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/36.jpg)
Port Monitoring
• For troubleshooting purposes you might want to analyze packets flowing over the network.
• To accomplish this we need to attach a network sniffer to the network.
• A network sniffer is a protocol analyzer, like Wireshark• A sniffer works best if attached to a hub, but most
network don’t use them today.• To attach a sniffer to a switch we need to set the switch
for port mirroring, which allow the switch to copy all packets to a designated port on the switch.
![Page 37: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/37.jpg)
User Authentication
• For security purposes, some switches and AP’s might require users to authenticate themselves before gaining access to the rest of the network.
• With 802.1X enabled, a switch or AP requires a client to authenticate before communicating on the network.• 802.1X terminology
• Supplicant: the device that wants to gain access.
• Client: the device that forwards the supplicant request to the server
• Authenticator: the server that does the authentication.
![Page 38: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/38.jpg)
User Authentication
![Page 39: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/39.jpg)
First Hop Redundancy
![Page 40: CompTIA Network + Chapter 4 Understanding Ethernet.](https://reader036.fdocuments.in/reader036/viewer/2022062408/56649efc5503460f94c0fb55/html5/thumbnails/40.jpg)
Summary The origins of Ethernet, which included a discussion of
Ethernet’s CSMA/CD features. A variety of Ethernet standards were contrasted in terms
of media type, network bandwidth, and distance limitation.
Various features that might be available on modern Ethernet switches. These features include VLANs, trunking, STP, link aggregation, PoE, port monitoring, user authentication, and first hop redundancy.