ethernet tutorial

55
Ethernet Tutorial

Upload: barb

Post on 23-Jan-2016

49 views

Category:

Documents


1 download

DESCRIPTION

Ethernet Tutorial. Introduction. LANS. Networks usually confined to a small geographic area single building college campus The proliferation of LANs worldwide business education. Protocols. Standards that allow computers to communicate. Defines identify one another on a network - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Ethernet Tutorial

Ethernet TutorialEthernet Tutorial

Page 2: Ethernet Tutorial

IntroductionIntroduction

Page 3: Ethernet Tutorial

LANSLANS•Networks usually confined to a Networks usually confined to a small geographic areasmall geographic area–single building single building

–college campuscollege campus

•The proliferation of LANs worldwideThe proliferation of LANs worldwide–businessbusiness

–educationeducation

Page 4: Ethernet Tutorial

ProtocolsProtocols•Standards that allow computers Standards that allow computers to communicate.to communicate.

•Defines Defines – identify one another on a networkidentify one another on a network–the form that the data should take the form that the data should take in transitin transit

–how this information should be how this information should be processed once it reaches its final processed once it reaches its final destinationdestination

Page 5: Ethernet Tutorial

Protocols (continued)Protocols (continued)

•Defines Defines (continued)(continued)–procedures for handing lost or procedures for handing lost or damaged transmissions or damaged transmissions or “packets”“packets”

•ExamplesExamples–IPXIPX–TCP/IPTCP/IP–DECnetDECnet–AppleTalkAppleTalk–LATLAT

Page 6: Ethernet Tutorial

Protocols (continued)Protocols (continued)

•Protocol independenceProtocol independence–the physical network doesn’t need the physical network doesn’t need to concern itself with the protocols to concern itself with the protocols being carriedbeing carried

–allows multiple protocols to allows multiple protocols to peacefully coexistpeacefully coexist

–allows the builder of a network to allows the builder of a network to use common hardware for a use common hardware for a variety of protocolsvariety of protocols

Page 7: Ethernet Tutorial

What is Ethernet?What is

Ethernet?

Page 8: Ethernet Tutorial

EthernetEthernet•The most popular LAN technologyThe most popular LAN technology –a good balance between speed, price a good balance between speed, price and ease of installationand ease of installation

•The perfect networking technology The perfect networking technology for most computer users todayfor most computer users today–wide acceptance into the computer wide acceptance into the computer marketplacemarketplace

–the ability to support virtually all the ability to support virtually all popular network protocolspopular network protocols

Page 9: Ethernet Tutorial

Ethernet (continued)Ethernet (continued)

•Defined by Defined by the Institute for the Institute for Electrical and Electronic Electrical and Electronic EngineersEngineers (IEEE) (IEEE)

•IEEE Standard 802.3IEEE Standard 802.3–configuring an Ethernetconfiguring an Ethernet

–specifying how elements in a specifying how elements in a network interact with one anothernetwork interact with one another

Page 10: Ethernet Tutorial

Media and TopologiesMedia and Topologies

Page 11: Ethernet Tutorial

TopologiesTopologies•define how define how “nodes”“nodes” are are connected to one anotherconnected to one another–a node is an active device a node is an active device connected to the networkconnected to the network»computercomputer»repeaterrepeater»bridgebridge»routerrouter

»repeaterrepeater»bridgebridge»routerrouter

Page 12: Ethernet Tutorial

Topologies (continued)Topologies (continued)

•Ethernet media are used in two Ethernet media are used in two general configurations or general configurations or topologiestopologies–BusBus

–StarStar

–BusBus

–StarStar

Page 13: Ethernet Tutorial

Bus topologyBus topology•consists of nodes strung consists of nodes strung together in series with each together in series with each node connected to a log cable or node connected to a log cable or busbus

•a break will usually cause the a break will usually cause the entire segment to be inoperableentire segment to be inoperable

Page 14: Ethernet Tutorial

Star topologyStar topology•links exactly two nodes togetherlinks exactly two nodes together

•a break will only affect the two a break will only affect the two nodes on that linknodes on that link

Page 15: Ethernet Tutorial

MediaMedia•Major types of media in use Major types of media in use todaytoday–ThickWireThickWire–Thin coaxThin coax–Unshielded twisted pairUnshielded twisted pair–Fiber opticFiber optic

–ThickWireThickWire–Thin coaxThin coax–Unshielded twisted pairUnshielded twisted pair–Fiber opticFiber optic

Page 16: Ethernet Tutorial

ThickWireThickWire•10 BASE5 Ethernet10 BASE5 Ethernet•used for used for “backbones”“backbones”•up to 500m longup to 500m long•as many as 100 nodesas many as 100 nodes•use use “vampire tap”“vampire tap” to connect to connect new nodesnew nodes

•nodes must be spaced exactly in nodes must be spaced exactly in increments of 2.5mincrements of 2.5m

Page 17: Ethernet Tutorial

Thin CoaxThin Coax•10BASE2 Ethernet10BASE2 Ethernet•lower cost and easier installationlower cost and easier installation•up to 185m longup to 185m long•as many as 30 nodesas many as 30 nodes•each at least 0.5m aparteach at least 0.5m apart•connected or disconnected at the connected or disconnected at the “T” connectors“T” connectors

Page 18: Ethernet Tutorial

Twisted PairTwisted Pair–Level 5: 100MbpsLevel 5: 100Mbps–Level 4: 20MbpsLevel 4: 20Mbps–Level 3: 16MbpsLevel 3: 16Mbps–Level 2 and 1: less than 5MbpsLevel 2 and 1: less than 5Mbps

•10BASE-T Ethernet10BASE-T Ethernet

•uses a star topologyuses a star topology

•up to 100m longup to 100m long

Page 19: Ethernet Tutorial

Fiber OpticFiber Optic•10BASE-FL Ethernet10BASE-FL Ethernet•useful against situations of useful against situations of electro-magnetic interference, electro-magnetic interference, lightning strike and so onlightning strike and so on

•up to 2km longup to 2km long•can use for FDDI and other can use for FDDI and other technologies faster than technologies faster than EthernetEthernet

Page 20: Ethernet Tutorial

TransceiversTransceivers

Page 21: Ethernet Tutorial

TransceiversTransceivers•used to connect nodes to the used to connect nodes to the various Ethernet mediavarious Ethernet media

•known as known as Media Attachment Media Attachment UnitsUnits (MAU) (MAU)

Page 22: Ethernet Tutorial

Transceivers (continued)

Transceivers (continued)

•provide an provide an Application User Application User InterfaceInterface (AUI), connector for the (AUI), connector for the computercomputer

•many interface network cards many interface network cards also contain a buit-in 10BASE-T also contain a buit-in 10BASE-T or 10BASE2 transceiveror 10BASE2 transceiver

Page 23: Ethernet Tutorial

Examples of TransceiverExamples of Transceiver

–LTX-TLTX-T ((Twisted Pair Transceiver)Twisted Pair Transceiver)

–LTX-TALTX-TA((Twisted Pair Mini Transceiver)Twisted Pair Mini Transceiver)

–LTX-2LTX-2 ((Thin Coax Transceiver)Thin Coax Transceiver)

–LTX-2ALTX-2A((Thin Coax Mini Transceiver)Thin Coax Mini Transceiver)

–LTX-5LTX-5 ((ThickWire Transceiver)ThickWire Transceiver)

–LTX-FL LTX-FL ((Fiber Optic Transceiver)Fiber Optic Transceiver)

–LTX-TLTX-T ((Twisted Pair Transceiver)Twisted Pair Transceiver)

–LTX-TALTX-TA((Twisted Pair Mini Transceiver)Twisted Pair Mini Transceiver)

–LTX-2LTX-2 ((Thin Coax Transceiver)Thin Coax Transceiver)

–LTX-2ALTX-2A((Thin Coax Mini Transceiver)Thin Coax Mini Transceiver)

–LTX-5LTX-5 ((ThickWire Transceiver)ThickWire Transceiver)

–LTX-FL LTX-FL ((Fiber Optic Transceiver)Fiber Optic Transceiver)

Page 24: Ethernet Tutorial

RepeatersRepeaters

Page 25: Ethernet Tutorial

RepeatersRepeaters•connect two or more Ethernet connect two or more Ethernet segments of any media typesegments of any media type

•provide the signal amplificationprovide the signal amplification

•Splitting a segment into two or Splitting a segment into two or more with a repeater allows a more with a repeater allows a network to grownetwork to grow

Page 26: Ethernet Tutorial

Repeaters (continued)Repeaters (continued)

•count in the total node limitcount in the total node limit–e.g. . a Thin Coax segmente.g. . a Thin Coax segment

»185m long185m long

»29 nodes and a repeater29 nodes and a repeater

–e.g. . a ThickWire segmente.g. . a ThickWire segment»500m long500m long

»98 nodes and 2 repeaters 98 nodes and 2 repeaters

Page 27: Ethernet Tutorial

Repeaters (continued)Repeaters (continued)

•necessary in star topologiesnecessary in star topologies–one endone end the repeater the repeater –the otherthe other the computer w/ a the computer w/ a transceivertransceiver

•monitor Ethernet to run correctlymonitor Ethernet to run correctly–e.g. . when a break occurse.g. . when a break occurs

»limit the effect of inoperable problems limit the effect of inoperable problems by by “segmenting”“segmenting”, disconnecting the , disconnecting the problem segmentproblem segment

Page 28: Ethernet Tutorial

Repeaters (continued)Repeaters (continued)

•The IEEE 802.3 specifications The IEEE 802.3 specifications –describe rules for the maximum describe rules for the maximum number of repeaters in a number of repeaters in a configurationconfiguration

–e.g. . e.g. . the transmission path the transmission path between two nodes between two nodes

the maximum number the maximum number of network segments of network segments between two nodesbetween two nodes

4 4

55

Page 29: Ethernet Tutorial

BridgesBridges

Page 30: Ethernet Tutorial

BridgesBridges•Function:Function: To connect separate To connect separate

Ethernet togetherEthernet together

• Goal:Goal: To achieve what To achieve what appears toappears to the network the network users to be a users to be a seamless networkseamless network

Page 31: Ethernet Tutorial

Bridges (continued)Bridges (continued)

•map the Ethernet addresses of map the Ethernet addresses of the nodes residing on each the nodes residing on each network segmentnetwork segment

•then, allow only the necessary then, allow only the necessary traffic to pass through the bridgetraffic to pass through the bridge

Page 32: Ethernet Tutorial

Bridges (continued)Bridges (continued)

•When a packet is received by the When a packet is received by the bridge:bridge:–the bridge determines the the bridge determines the destination and source segmentsdestination and source segments

– If the segments are the sameIf the segments are the same»the packet is dropped (the packet is dropped (“filtered”“filtered”))

– If the segments are differentIf the segments are different»the packet is the packet is “forwarded”“forwarded” on on

Page 33: Ethernet Tutorial

Bridges (continued)Bridges (continued)

•prevent all bad or misaligned prevent all bad or misaligned packets form spreading from one packets form spreading from one segment to the otherssegment to the others

•called called “store-and-forward”“store-and-forward” devicesdevices– look at the whole Ethernet packet look at the whole Ethernet packet before making their filtering or before making their filtering or forwarding decisionsforwarding decisions

Page 34: Ethernet Tutorial

Ethernet SwitchesEthernet Switches

Page 35: Ethernet Tutorial

Ethernet SwitchesEthernet Switches•““Cut-through”Cut-through” switches switches–examining the address information examining the address information contained at the start of the contained at the start of the Ethernet packetEthernet packet

–decrease the amount of time decrease the amount of time required to determine if a packet required to determine if a packet should be filtered or forwarded, should be filtered or forwarded, “latency”“latency”

Page 36: Ethernet Tutorial

Ethernet Switches (continued)

Ethernet Switches (continued)

•The term The term “Ethernet Switch”“Ethernet Switch”–any device of multiple ports which any device of multiple ports which is able to filter and forward packets is able to filter and forward packets at nearly the speed of Ethernet at nearly the speed of Ethernet ((“wirespeed”“wirespeed”) regardless of the ) regardless of the techniquetechnique»because store-and-forward bridges because store-and-forward bridges have now increased their speedhave now increased their speed

Page 37: Ethernet Tutorial

Ethernet Switches (continued)

Ethernet Switches (continued)

•The term The term “Bridge”“Bridge”–two-port devices which use the two-port devices which use the store and forward techniquestore and forward technique

Page 38: Ethernet Tutorial

RoutersRouters

Page 39: Ethernet Tutorial

RoutersRouters•filter out network trafficfilter out network traffic

•filter by specific protocolfilter by specific protocol

•born out of the necessity for born out of the necessity for dividing networks logically dividing networks logically instead of physicallyinstead of physically

Page 40: Ethernet Tutorial

Routers (continued)Routers (continued)

•An IP router An IP router –divide a network into various subnets divide a network into various subnets

–only traffic destined for particular IP only traffic destined for particular IP addresses can pass between segmentsaddresses can pass between segments

–takes more time than a switch or takes more time than a switch or bridge which only looks at the MAC bridge which only looks at the MAC layerlayer

Page 41: Ethernet Tutorial

Routers (continued)Routers (continued)

•The term The term “brouters”“brouters”–devices which have both bridging devices which have both bridging and routing capabilityand routing capability»however switches and bridges however switches and bridges frequently have some router-like frequently have some router-like features such as selective protocol features such as selective protocol filteringfiltering

Page 42: Ethernet Tutorial

Network Switch Example

Network Switch Example

Sun (G) Sun (H)Microvax

(F)Workstation (E)

Netware File Server (C)

Macintosh (D)

PC (A) Microvax(B)

LSB4 Switch

LTX-2

LTX-2 LTX-

2LTX-

2

LTX-2

LTX-2

LTX-5

LTX-5

LTX-5

LTX-5

LTX-5

LTX-5

Page 43: Ethernet Tutorial

The Spanning Tree

The Spanning Tree

Page 44: Ethernet Tutorial

The Spanning TreeThe Spanning Tree•The Spanning Tree Algorithm The Spanning Tree Algorithm –a software device for describing how a software device for describing how switches & bridges can communicate switches & bridges can communicate to avoid network loopsto avoid network loops

–By exchanging packets called BPDUs, By exchanging packets called BPDUs, the switches & bridges establish a the switches & bridges establish a singular path for reaching each singular path for reaching each network segment.network segment.

Page 45: Ethernet Tutorial

The Spanning Tree (continued)

The Spanning Tree (continued)

•A switches or bridge port is A switches or bridge port is turned off turned off

– if another pathway to that segment if another pathway to that segment already existsalready exists

Page 46: Ethernet Tutorial

The Spanning Tree (continued)

The Spanning Tree (continued)

•The process of passing the BPDU The process of passing the BPDU packets is continuouspackets is continuous–so if a switch or bridge suddenly so if a switch or bridge suddenly fails, fails,

–then the remaining devices will then the remaining devices will reconfigure pathways to allow each reconfigure pathways to allow each segment to be reachedsegment to be reached

Page 47: Ethernet Tutorial

The Spanning Tree (continued)

The Spanning Tree (continued)

•network managers design loops network managers design loops into a bridged network into a bridged network –so if a switch or bridge does fail, so if a switch or bridge does fail,

–the Spanning Tree will calculate the Spanning Tree will calculate the alternate route into the the alternate route into the network configuration.network configuration.

Page 48: Ethernet Tutorial

Spanning Tree Example

Spanning Tree Example

LTX-5 LTX-5

LTX-5 LTX-5

LB2 #1

LB2 #2

LB2 #3LB2 #4

LTX-2

LTX-2

LTX-2

LTX-2 10BASE2

10BASE210BASE5

10BASE5

AUI CABLEAUI CABLE

AUI CABLE

AUI CABLE

Page 49: Ethernet Tutorial

Terminal & Printer Servers

Terminal & Printer Servers

Page 50: Ethernet Tutorial

Terminal & Printer Servers

Terminal & Printer Servers

•support the use of following on support the use of following on networksnetworks–terminalsterminals–printersprinters–modems, andmodems, and–other serial devicesother serial devices

•have own network addresseshave own network addresses

•perform more than just a physical perform more than just a physical connection or signalforwarding functionconnection or signalforwarding function

Page 51: Ethernet Tutorial

Terminal serverTerminal server•a server which provides network a server which provides network access to serial devicesaccess to serial devices

•support serial printers as well as support serial printers as well as serial terminals serial terminals

•bidirectional devicesbidirectional devices

Page 52: Ethernet Tutorial

Printer serverPrinter server•is expected to have at least one is expected to have at least one parallel portparallel port

•may also have one or more serial may also have one or more serial portsports

•unidirectional devicesunidirectional devices

Page 53: Ethernet Tutorial

AdvantagesAdvantages•Saving on long-distance cablingSaving on long-distance cabling–because of its multiple portsbecause of its multiple ports

•Enhanced remote monitoring and Enhanced remote monitoring and controlcontrol–because of its inherent intelligencebecause of its inherent intelligence

•Easier to manageEasier to manage–because of its support for protocols because of its support for protocols like SNMPlike SNMP

Page 54: Ethernet Tutorial

Advantages (continued)

Advantages (continued)

•Local communicationsLocal communications–able to broadcast messages to all able to broadcast messages to all devices connected to the serversdevices connected to the servers

•Sharing resources and balancing Sharing resources and balancing workloadsworkloads

Page 55: Ethernet Tutorial

Advantages (continued)

Advantages (continued)

•Supporting multiple protocolsSupporting multiple protocols

•Supporting workstationsSupporting workstations

•Protocol conversionProtocol conversion

•Staying flexibleStaying flexible