02 - Fundamentals of Ethernet LANs

36
 By Muhammad Asghar Khan [email protected] 02 - Fundamentals of Ethernet LANs Reference: Cisco CCENT/C CNA ICND1 100-101 Official Cert Guide B y WENDE LL O DOM © Cisco Press

Transcript of 02 - Fundamentals of Ethernet LANs

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 1/36

By Muhammad Asghar [email protected]

02 - Fundamentals of Ethernet LANs

Reference: Cisco CCENT/CCNA ICND1 100-101 Official Cert Guide By WENDELL ODOM

© Cisco Press

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 2/36

2

Agenda

www.asghars.blogspot.com

Local Area Networks

Overview of EthernetHistory of EthernetCommon Ethernet StandardsEthernet Media RequirementsEthernet UTP Cabling

UTP Cabling Pinouts for 10BASE-T and 100BASE-TUTP Cabling Pinouts for 1000BASE-T

Ethernet Data Link ProtocolsEthernet AddressingEthernet Type FieldError Detection with FCS

Repeaters, Hubs, Bridges & Switches

1/1

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 3/36

3

Local Area Networks

www.asghars.blogspot.com

LANs interconnect host devices over short distances

LANs can support high speed and a fairly large bandwidthLAN traffic can be controlled with bridges and switches orHubs

Ethernet is the undisputed king of LAN standards todayHistorically speaking, several competing LAN standardsexisted, including Token Ring, Fiber Distributed DataInterface (FDDI), and Asynchronous Transfer Mode (ATM)

Eventually, Ethernet won out over all the competing LANstandardsFigure on next slide shows a simple Ethernet LAN or SmallOffice / Home Office (SOHO) LAN

1/3

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 4/36

4

Local Area Networks

www.asghars.blogspot.com

Figure on next slide shows a conceptual view of atypical enterprise LAN in a three-story buildingTo allow communication between floors, each per-floorswitch connects to one centralized distribution switch

2/3

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 5/36

5

Local Area Networks

www.asghars.blogspot.com

3/3

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 6/36

6

Overview of Ethernet

www.asghars.blogspot.com

The term Ethernet refers to a family of standards that

dene the Physical and Data Link layers of the LANnetworksMost of the standards dene a different variation ofEthernet at the Physical Layer, with differences in speed

and types of cablingAdditionally, for the Data Link Layer, the IEEE separates thefunctions into two sublayers:

The 802.3 Media Access Control (MAC) sublayerThe 802.2 Logical Link Control (LLC) sublayer

Ethernet acts like a single LAN technology because it usesthe same data link layer standard (common Ethernetheader and trailer)over all types of Ethernet physical links

1/2

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 7/36

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 8/368

History of Ethernet

www.asghars.blogspot.com

The IEEE in the early 1980s formed two committees that worked

directly on Ethernet —the IEEE 802.3 committee and the IEEE802.2 committeeThe 802.3 committee worked on Physical Layer standards as wellas a subpart of the Data Link Layer called Media Access Control(MAC)

The IEEE assigned the other functions of the Data Link Layer tothe 802.2 committee, calling this part of the data link layer theLogical Link Control (LLC) sublayerThe two early Ethernet standards were 10BASE5 and 10BASE2.

You should not expect to need to implement 10BASE5 or10BASE2 Ethernet LANs today10BASE5 and 10BASE2 had limitations on the total length of acable. With 10BASE5, the limit was 500 m; with 10BASE2, it was185 m

Repeaters were used with 10BASE5 and 10BASE2 standards

1/1

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 9/369

Common Ethernet Standards

www.asghars.blogspot.com

• The T refer to the fact that each of these standards denes the use of UTP cabling,with the T referring to the T in twisted pair.

• While X refer to the fact that these standards defines the use of fiber optic

1/2

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 10/36

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 11/3611

Ethernet Media Requirements

www.asghars.blogspot.com

1/1

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 12/36

12

Ethernet UTP Cabling

www.asghars.blogspot.com

The three most common Ethernet standards used todayare:

10BASE-T (Ethernet)100BASE-T (Fast Ethernet, or FE), and

1000BASE-T (Gigabit Ethernet, or GE)These three standard use UTP cablingTo create electrical circuit, Ethernet defines how to usethe two wires inside a single twisted pair of wires asshown in figureTo send data, the two devices follow an encodingscheme

1/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 13/36

13

Ethernet UTP Cabling

www.asghars.blogspot.com

Ethernet link has three basic components i.e. cable,connectors on the ends of cable and matching ports onthe devices

2/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 14/36

14

Ethernet UTP Cabling

www.asghars.blogspot.com

CableCable holds some copper wires, grouped as twisted pairs10Base-T and 100Base-T require two pairs of wires, while1000Base-T requires four pairs

ConnectorsEthernet UTP cables use an RJ-45 connector on both endsRJ-45 connector has eight physical locations into whicheight wires in the cable can be inserted, called pin

positionsPorts

PCs often include the Ethernet ports as part of NIC

3/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 15/36

15

Ethernet UTP Cabling

www.asghars.blogspot.com

UTP Cable, RJ-45 Connectors and Ports

4/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 16/36

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 17/36

17

Ethernet UTP Cabling

www.asghars.blogspot.com

Used when the devices on the ends of the cable use

opposite pins when they transmit data10Base -T and 100Base-T use two pair of wires in UTP cable,one for each direction as shown in figure

In the figure on last slide, the PC transmits using the top pair,and the switch on the right transmits using the bottom pair

6/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 18/36

18

Ethernet UTP Cabling

www.asghars.blogspot.com

As a rule, Ethernet NIC transmitters use the pair connected

to pins 1 and 2, while NIC receivers use a pair of wires at pinposition 3 and 6While the switch knowing those facts do the opposite, theirreceivers use the pins 1 and 2, and their transmitters use the

pins 3 and 6Figure shows the straight through cable pinout

7/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 19/36

19

Ethernet UTP Cabling

www.asghars.blogspot.com

Crossover Cable PinoutMostly used when connecting like devices like switch toswitchBecause like devices both transmit on over the same pins,therefore; a Crossover cable is used

8/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 20/36

20

Ethernet UTP Cabling

www.asghars.blogspot.com

It crosses the pair at the transmit pins on each device to the

receive pins on the opposite deviceThe figure shows the crossover cable b/w two switches

9/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 21/36

21

Ethernet UTP Cabling

www.asghars.blogspot.com

10/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 22/36

22

Ethernet UTP Cabling

www.asghars.blogspot.com

For exam, you should be well prepared to choose which

type of cable is needed in each part of networkHere the key is to know whether a device acts like a PCNIC or like a switch

Table lists the devices and the pin pairs they use

Cisco switches have feature called auto-mdix that noticeswhen the wrong cable is used and automatically changesits logic to make the link work

11/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 23/36

23

Ethernet UTP Cabling

www.asghars.blogspot.com

UTP Cabling Pinouts for 1000BASE-T

1000BASE-T differs from 10BASE-T and 100BASE-T as far as thecabling and pinoutsStraight-Through Cable Pinouts

The straight-through cable connects each pin with the samenumbered pin on the other side, but it does so for all eight pinsIt keeps one pair at pins 1 and 2 and another at pins 2 and 6,just like in the erlier writing. It adds a pair 4 and 5 and the finalpair at pins 7 and 8

Crossover Cable PinoutsCrossover cables crosses the same two-wire pairs as in theprevious Ethernet standards, but it also crosses the two newpairs as well (pair at pins 4,5 with pair at pins 7,8)

12/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 24/36

24

Ethernet UTP Cabling

www.asghars.blogspot.com

13/13

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 25/36

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 26/36

26

Ethernet Data Link Protocols

www.asghars.blogspot.com

2/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 27/36

27

Ethernet Data Link Protocols

www.asghars.blogspot.com

Ethernet AddressingEthernet LAN addressing identies either individualdevices or groups of devices on a LANEach address is 6 bytes long, is usually written in

hexadecimal, typically is written with periods separatingeach set of four hex digits. For example, 0000.0C12.3456is a valid Ethernet addressEthernet address are also known as Hardware Addresses,

Physical Addresses or MAC AddressesUnicast Ethernet Addresses

Identify a single LAN card

3/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 28/36

28

Ethernet Data Link Protocols

www.asghars.blogspot.com

Each LAN card comes with a burned-in address (BIA) that is

burned into the ROM chip on the cardBIAs sometimes are called universally administeredaddresses (UAA) because the IEEE universally (well, at leastworldwide) administers address assignment

4/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 29/36

29

Ethernet Data Link Protocols

www.asghars.blogspot.com

Group AddressesIdentify more than one LAN interface card. The IEEE denestwo general categories of group addresses for Ethernet Broadcast Addresses: The most often used of the IEEE groupMAC addresses, the broadcast address, has a value ofFFFF.FFFF.FFFF (hexadecimal notation). The broadcastaddress implies that all devices on the LAN should processthe frameMulticast Addresses: Multicast addresses are used to allow a

subset of devices on a LAN to communicate. When IPmulticasts over an Ethernet, the multicast MAC addressesused by IP follow this format: 0100.5exx.xxxx, where anyvalue can be used in the last half of the address

5/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 30/36

30

Ethernet Data Link Protocols

www.asghars.blogspot.com

LAN MAC Address Terminology and Features

Ethernet Type FieldThe Ethernet type field or Ethernet type sits in the Ethernetdata link layer header

6/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 31/36

31

Ethernet Data Link Protocols

www.asghars.blogspot.com

Its purpose is to help the network processing on routers

and hosts i.e. It identifies the type of network layer (Layer3) packet inside the Ethernet frameThe device originating the Ethernet frame insert a value(a hexadecimal number) to identify the type of packetencapsulated inside the Ethernet frameIEEE manages a list of EthernetType valuesAs shown in figure, a host can send one Ethernet frame

with IPv4 packet and the next Ethernet frame with IPv6packet, each of these frame will have different EthernetType field value, reserved by the IEEE

7/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 32/36

32

Ethernet Data Link Protocols

www.asghars.blogspot.com

Error Detection with FCSEthernet Frame Check Sequence (FCS) field gives the

receiving node a way to compare results with the sender,to discover whether errors occurred in the frameNote Error detection does not mean error recovery,Ethernet defines that the errored frame should be

discarded, recovery is task of TCP

8/8

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 33/36

33

Repeaters, Hubs, Bridges & Switches

www.asghars.blogspot.com

RepeatersRepeaters was used with 10BASE5 and 10BASE2 standardsRepeaters connect to multiple cable segments, receivethe electrical signal on one cable, interpret the bits as 1s

and 0s, and generate a brand-new, clean, strong signalout the other cableA repeater does not simply amplify the signal, becauseamplifying the signal might also amplify any noise picked

up along the wayRepeaters propagate the collisions

1/4

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 34/36

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 35/36

35

Repeaters, Hubs, Bridges & Switches

www.asghars.blogspot.com

BridgesBridges create one collision domain per port and canforward data frames only on the outbound port thatreaches the destination of the frame, as opposed tohubs, which send the frame out on all portsA bridge is slower than a switch because it uses softwareinstead of hardware application-specific integratedcircuits (ASICs)

3/4

8/12/2019 02 - Fundamentals of Ethernet LANs

http://slidepdf.com/reader/full/02-fundamentals-of-ethernet-lans 36/36

Repeaters, Hubs, Bridges & Switches

h bl t

SwitchesCreate one collision domain per port and can forward dataframes only on the outbound port that reaches the destinationof the frame

Switches can buffer frames in memory, switches cancompletely eliminate collisions on switch ports that connect toa single device

As a result, LAN switches with only one device cabled to eachport of the switch allow the use of full-duplex operation. Fullduplex means that anEthernet card can send and

receive concurrently

4/4