L6CN :LOCAL AREA NETWORK (ETHERNET)

Embed Size (px)

Citation preview

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    1/12

    LECTURE 6LOCAL AREA NETWORK (ETHERNET)

    To ics

    LAN: characteristics, basic rinci les

    Protocol architecture

    Topologies

    LAN Systems: Ethernet

    Extending LANs: repeater, bridge, router

    Virtual LANs

    LAN technolo ies

    Data link layer so far:

    services, error detection/correction, multiple access

    Next: LAN technologies

    addressing

    hubs, bridges, switches

    802.11

    PPP ATM

    What is LAN

    - A network serving a home, building or campus

    is considered a Local Area Network (LAN)

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    2/12

    Ethernet

    History

    -

    Roots in Aloha packet-radio network Standardized by Xerox, DEC, and Intel in 1978

    LAN standards define MAC and physical layer connectivity

    IEEE 802.3 (CSMA/CD - Ethernet) standard originally 2Mbps

    IEEE 802.3u standard for 100Mbps Ethernet

    IEEE 802.3z standard for 1,000Mbps Ethernet

    CSMA/CD: Ethernets Media Access Control (MAC) policy

    CS = carrier sense (Send only if medium is idle)

    MA = multiple access

    =

    LAN standardization in IEEE Project 802

    Data link layer subdivision

    Medium Access Control (MAC)

    IEEE Pro ect 802

    Ethernet

    Wh Ethernet:

    cheap, high speed shared bus widely used (Most popularacket-switched LAN technology)

    multiple access protocol: CSMA/CD medium independent (i.e., can run over coaxial cable, twistedpair, or fiber optics - any medium that supports collisiondetection)

    Bandwidths: 10Mbps, 100Mbps, 1Gbps Max bus length: 2500m

    m segmen s w repea ers Bus and Star topologies are used to connect hosts

    Problem: Distributed algorithm that provides fair access

    Generations of Ethernet

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    3/12

    LAN

    xp a n pro oco a a un s an

    encapsulation

    Framin

    Frame: (Protocol Data Unit PDU) on the physical

    link Manageable unit of transmission (Slice raw bit stream up into

    frames)

    Sample Issues:

    how big is a frame? what demarks the end of the frame?

    Ethernet by definition is a broadcast protocol

    Framin

    ,

    encapsulate datagram into frame, adding

    header, trailer

    implement channel access if shared medium,

    physical addresses used in frame headers to

    identify source, destination different from IP address!

    Character count for frame boundary header can indicate number of bytes

    of frame (Preamble). Preamble used to synchronize receiver, sender clock rates

    IEEE 802.3 MAC Frame Format

    Data link layer frame

    6 bytes (48-bit) addresses Written as 00:90:27:25:3c:4e or 00-90-27-25-3c-4e Multicast (8th bit is 1), unicast, or broadcast (all 1s)

    Type: indicates the higher layer protocol, mostly IP (Novell IPX and AppleTalk)

    Length/PDU Length if less than 1518

    IEEE 802.3 format Otherwise PDU type

    , , CRC-32: checked at receiver, if error is detected, the frame is simply dropped

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    4/12

    Note

    rame engt :

    Minimum: 64 bytes (512 bits)

    ,

    13.13

    . xamp e o an erne a ress n exa ec ma no a on

    13.14

    . n cas an mu cas a resses

    13.15

    Note

    e east s gn cant t o t e rst yte

    defines the type of address.

    ,

    otherwise, it is multicast.

    13.16

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    5/12

    Note

    e roa cast est nat on a ress s a spec a case o

    the multicast address in which all bits are 1s.

    13.17

    Traditional Ethernet

    10 Mb/s

    CSMA/CD access Manchester coding

    Bus 10Base5 (thick coax)

    ase n coax Star 10Base-T (twister pair)

    ase- er n

    Ethernet - Network Media

    10 Base 5 Thick Ethernet heavily shielded, expensive

    10 Base 2

    -

    100 Base T Thin Ethernet coax cable cheap

    requires CAT5 twisted pair(higher quality spec.)

    more efficient encodin : ; :(~200) meters cable length

    Thin coaxial cable in a busto ology

    Gigabit Ethernet transmits at 1 Gbps www.gigabit-ethernet.org

    10 Base T

    Twisted Pair Ethernet cable: twisted pair

    . ase mp emen a on

    13.20

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    6/12

    . ase mp emen a on

    13.21

    . ase- mp emen a on

    13.22

    . ase- mp emen a on

    13.23

    Table 13.1 Summary of Standard Ethernet implementations

    13.24

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    7/12

    CHANGES IN THE STANDARDCHANGES IN THE STANDARD

    TheThe 1010--MbpsMbps StandardStandard EthernetEthernet hashas gonegone throughthrough

    severalseveral changeschanges beforebefore movingmoving toto thethe higherhigher datadata ratesrates..TheseThese changeschanges actuallyactually openedopened thethe roadroad toto thethe evolutionevolution

    ofof thethe EthernetEthernet toto becomebecome compatiblecompatible withwith otherother highhigh--

    datadata--raterate LANsLANs..

    Switched Ethernet

    Full-Duplex Ethernet

    13.25

    . ar ng an w

    13.26

    . ne wor w an w ou a r ge

    13.27

    . o s on oma ns n an un r ge ne wor an a r ge ne wor

    13.28

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    8/12

    . w c e erne

    13.29

    . u - up ex sw c e erne

    13.30

    FAST ETHERNETFAST ETHERNET

    protocolsprotocols suchsuch asas FDDIFDDI oror FiberFiber ChannelChannel.. IEEEIEEE createdcreated

    FastFast EthernetEthernet underunder thethe namename 802802..33uu.. FastFast EthernetEthernet isisbackwardbackward--compatiblecompatible withwith StandardStandard Ethernet,Ethernet, butbut itit cancan

    transmittransmit datadata 1010 timestimes fasterfaster atat aa raterate ofof 100100 MbpsMbps..

    MAC Sublayer

    Physical Layer

    13.31

    Fast Ethernet IEEE 802.3u

    ast t ernet as tec no ogy very s m ar to10Mbps Ethernet Uses different h sical la er encodin 4B5B

    Many NICs are 10/100 capable

    Can be used at either speed

    100 Mb s

    CSMA/CD

    Compatibility

    Autonegotiation 10/100 Mb/s, full/half duplex, etc

    Two-wire and four-wire

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    9/12

    . as erne opo ogy

    13.33

    . as erne mp emen a ons

    13.34

    Table 13.2 Summary of Fast Ethernet implementations

    13.35

    GIGABIT ETHERNETGIGABIT ETHERNET

    TheThe needneed forfor anan eveneven hi herhi her datadata raterate resultedresulted inin thethe

    designdesign of of thethe GigabitGigabit EthernetEthernet protocolprotocol ((10001000 Mbps)Mbps)..

    TheThe IEEEIEEE committeecommittee callscalls thethe standardstandard 802802..33zz..

    Physical Layer

    Ten-Gigabit Ethernet

    13.37

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    10/12

    Gi abit Ethernet

    Uses standard framing and CSMA/CD algorithm Distances are severely limited

    ypica y use or ac ones an inter-router connectivity

    Becoming cost competitive

    How much of this bandwidth is realizable?

    1 Gb/s

    Full duplex without CSMA/CD

    Mostly used

    Half-duplex with CSMA/CD

    Two-wire and four-wire

    Note

    In the full-duplex mode of Gigabit Ethernet, there is no

    co s on;

    the maximum length of the cable is determined by the

    in the cable.

    13.39

    Figure 13.22 Topologies of Gigabit Ethernet

    13.40

    . ga erne mp emen a ons

    13.41

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    11/12

    .

    13.43

    10G Ethernet IEEE802.3ae

    Serial transmission

    10GBase-SR, 10GBase-SW, 10GBase-LR, 10GBase-LW, 10GBase-ER,

    10GBase-EW

    S: Short wavelength (850 nm multimode, 300 m)

    : ong wave engt nm s ngemo e, m

    E: Extra long wavelength (1550 nm singlemode, 40 km)

    WAN/LAN varieties

    , -

    R: LAN

    64B/66B coding

    10GBase-LX4

    8B/10B coding

    4 3.125 Gb s W-WDM Wide Wave Division Multi lexin.

    Table 13.4 Summary of Ten-Gigabit Ethernet implementations

    13.46

    Ex eriences with Ethernet

    Ethernets work best under light loads (Utilization over 30% is considered

    Network capacity is wasted by collisions

    Most networks are limited to about 200 hosts while Specification allows for

    u to 1024

    Most networks are much shorter (5 to 10 microsecond RTT)

    Transport level flow control helps reduce load (number of back to back

    packets)

    Ethernet is inexpensive, fast and easy to administer!

    Ethernet Problems

    Ethernets peak utilization is pretty low (like Aloha)

    Peak throughput worst with

    - More hosts (More collisions needed to identify single sender)- Smaller packet sizes (More frequent arbitration)

    - Longer links (Collisions take longer to observe, more wasted bandwidth

    Efficiency is improved by avoiding these conditions

  • 7/31/2019 L6CN :LOCAL AREA NETWORK (ETHERNET)

    12/12

    Extendin LANs

    Why not one LAN?

    Signal quality and network performance Declines with number of connected devices and network diameter

    e a y

    Several self-contained units

    Security

    Separation of traffic

    Geography

    Connect LANs at different locations

    Extendin LANs

    Repeaters and hubs

    Connects segments of the same LAN Signal regeneration

    -

    Routing at the data link layer

    Connects LANs that use same type of data link addresses

    Router (three-layer switches)

    Routing at the network layer

    Connects LANs (or links in general) of different technologies

    Beware: terminology is getting blurred!

    Smart switches, dual-speed hubs,