eee449 computer networks local area network (lan)
Post on 21-Dec-2015
253 views
TRANSCRIPT
![Page 1: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/1.jpg)
EEE449 Computer Networks
Local Area Network (LAN)
![Page 2: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/2.jpg)
LAN
• Topology• The way in which the end points attached to the
network are interconnected• Common topologies are bus, tree, ring and star
![Page 3: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/3.jpg)
LAN Topologies
![Page 4: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/4.jpg)
LAN Topology
• Bus– Use of a multipoint medium– All stations are attached directly to a linear
transmission medium through a tap– Full duplex operation between the station and the tap
allows data to be transmitted onto the bus and received from the bus
– A transmission from any station propagates the length of the medium in both directions and can be received by all other stations
– At each end of the bus is a terminator which absorbs any signal and remove it from the bus
![Page 5: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/5.jpg)
LAN Topology
• Tree– The transmission medium is a branching cable with
no closed loops– The layout begins at a point known as the headend– One or more cables start at the headend, and each of
these may have branches– The branches in turn may have additional branches – A transmission from any station propagates
throughout the medium and can be received by all other stations
![Page 6: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/6.jpg)
LAN Topology
• Ring– The network consists of a set of repeaters joined by
point-to-point links in a closed-loop– Links are unidirectional– Each stations attached to the network at a repeater
and transmit data onto the network through the repeater
– A transmission circulates past all the other stations until it returns to the source station, where it is removed
– Need medium access control
![Page 7: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/7.jpg)
LAN Topology
• Star– Each station is directly connected to a
common central node typically via two point-to-point links
![Page 8: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/8.jpg)
Transmission
![Page 9: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/9.jpg)
Transmission
![Page 10: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/10.jpg)
LAN interconnections
• Bridges and routers interconnect LANs and connect LAN to WAN
• Bridge for interconnecting LANs• Routers – interconnecting variety of LANs and
WANs• Bridge
– Between LANs that use identical protocols for the physical and link layers
• reasons for use: reliability, performance, security, geography
![Page 11: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/11.jpg)
LAN interconnect
![Page 12: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/12.jpg)
LAN interconnections
• Bridge – no modification to frame content or format– no encapsulation– exact bitwise copy of frame– Large buffer space for minimal buffering to
meet peak demand– contains routing and address intelligence– may connect more than two LANs– bridging is transparent to stations
![Page 13: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/13.jpg)
LAN interconnections
• Router– Connect two networks that may or may not be
similar– Employs internet protocol – Network layer (layer 3) device– More later
![Page 14: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/14.jpg)
LAN interconnections
• Hubs– active central element of star layout– each station connected to hub by two lines– hub acts as a repeater– limited to about 100 m – optical fiber may be used out to 500m– Can have multiple levels involving a header
hub and intermediate hubs
![Page 15: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/15.jpg)
![Page 16: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/16.jpg)
LAN interconnections
• Layer 2 switches– Has replaced hub in popularity particularly for high-speed LANs– aka a switching hub– Multiplying capacity of LAN– store-and-forward switch
• accepts frame on input line, buffers briefly, routes to destination port• see delay between sender and receiver• better integrity
– cut-through switch• use destination address at beginning of frame• switch begins repeating frame onto output line as soon as
destination address recognized• highest possible throughput • risk of propagating bad frames
![Page 17: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/17.jpg)
LAN interconnections
![Page 18: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/18.jpg)
LAN interconnections
• Layer 2 switches– no change to attached devices to convert bus
LAN or hub LAN to switched LAN• e.g. Ethernet LANs use Ethernet MAC protocol
– have dedicated capacity equal to original LAN– scales easily
• additional devices attached to switch by increasing capacity of layer 2
![Page 19: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/19.jpg)
LAN interconnections
• Layer 3 switch– Implements packet-forwarding function of the router in
hardware– packet by packet
• operates like a traditional router
– flow-based switch • enhances performance by identifying flows of IP packets with
same source and destination• by observing ongoing traffic or using a special flow label in
packet header (IPv6)• a predefined route is used for identified flows to speed up
flow
![Page 20: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/20.jpg)
LAN interconnections
![Page 21: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/21.jpg)
LAN Protocol
![Page 22: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/22.jpg)
LAN Protocol
• Includes physical, MAC and LLC layers• Physical layer –
– Encompasses topology and transmission medium
• MAC – Control access to the medium for an orderly and
efficient use of the capacity– Centralised or decentralised control– Synchronous (dedicated capacity) or asynchronous
(on demand)– Synchronous access is not suitable for LAN due to
unpredictable station demand
![Page 23: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/23.jpg)
LAN Protocol
• MAC – Asynchronous access can be based on round
robin, reservation or contention
• Round robin– Efficient when many stations have data to
transmit over an extended period of time– Considerable overhead in passing turns when
only few stations transmit
![Page 24: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/24.jpg)
LAN Protocol
• Reservation– Time on the medium is divided into slots– Stations can reserved future slots – Suitable for streaming
• Contention– All stations contend for the time slots– Suitable for bursty traffic
![Page 25: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/25.jpg)
LAN Protocol
• LLC– transmission of link level PDUs between
stations– must support multiaccess, shared medium– but MAC layer handles link access details– addressing involves specifying source and
destination LLC users• referred to as service access points (SAP)• typically higher level protocol
![Page 26: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/26.jpg)
LAN protocol
![Page 27: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/27.jpg)
Bridge protocol
• IEEE 802.1D• Station address is designated at the MAC level • bridge does not need LLC layer• can pass frame over external comms system
– capture frame– encapsulate it– forward it across link– remove encapsulation and forward over LAN link– e.g. WAN link
![Page 28: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/28.jpg)
Bridge protocol
![Page 29: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/29.jpg)
High-Speed LANs
– Ethernet (IEEE 802.3 10-Mbps)– Fast Ethernet (IEEE 802.3 100-Mbps)– Gigabit Ethernet– 10-Gbps Ethernet
![Page 30: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/30.jpg)
Ethernet
• most widely used LAN standard• developed by IEEE 802.3
• IEEE 802.3 MAC – use CSMA/CD– Station continues to listen to the medium while transmitting– If the medium is idle, transmit– Otherwise if the medium is busy, continue to listen until the
channel is idle and then transmit immediately– If a collision is detected during transmission, transmit a brief
jamming signal to assure that all stations know that there has been a collision and then cease transmission
– After transmitting the jamming signal, wait a random amount of time (Backoff) then attempt to transmit again
![Page 31: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/31.jpg)
Ethernet
![Page 32: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/32.jpg)
Ethernet
Preamble: A 7-octet pattern of alternating 0s and 1s used by the receiver to establish bit synchronization.Start Frame Delimiter (SFD): The sequence 10101011, which indicates the actual start of the frame and enables the receiver to locate the first bit of the rest of the frame.Destination Address (DA): Specifies the station(s) for which the frame is intended. It may be a unique physical address, a group address, or a global address.Source Address (SA): Specifies the station that sent the frame.Length/Type: Length of LLC data field in octets, or Ethernet Type field, LLC Data: Data unit supplied by LLC.Pad: Octets added to ensure that the frame is long enough for proper CD operation.Frame Check Sequence (FCS): A 32-bit cyclic redundancy check, based on all fields except preamble, SFD, and FCS.
![Page 33: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/33.jpg)
Ethernet IEEE 802.3 10Mbps
10BASE5 10BASE2 10BASE-T 10BASE-FP
Transmissionmedium
Coaxial cable (50ohm)
Coaxial cable (50ohm)
Unshielded twistedpair
850-nm optical fiberpair
Signalingtechnique
Baseband(Manchester)
Baseband(Manchester)
Baseband(Manchester)
Manchester/on-off
Topology Bus Bus Star Star
Maximum segmentlength (m)
500 185 100 500
Nodes per segment 100 30 — 33
Cable diameter(mm)
10 5 0.4 to 0.6 62.5/125 µm
<data rate in Mbps> <signaling method><max segment length in hundreds of meters>
![Page 34: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/34.jpg)
Ethernet IEEE 802.3 10Mbps
• Alternatives for 10-Mbps are:
• 10BASE5: Specifies the use of 50-ohm coaxial cable and Manchester digital signaling. The maximum length of a cable segment is set at 500 meters. Can extend using up to 4 repeaters.
• 10BASE2: lower-cost alternative to 10BASE5 using a thinner cable, with fewer taps over a shorter distance than the 10BASE5 cable.
• 10BASE-T: Uses unshielded twisted pair in a star-shaped topology, with length of a link is limited to 100 meters. As an alternative, an optical fiber link may be used out to 500 m.
• 10BASE-F: Contains three specifications using optical fibre
![Page 35: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/35.jpg)
Fast Ethernet (IEEE 802.3 100Mbps)
100BASE-TX 100BASE-FX 100BASE-T4
Transmissionmedium
2 pair, STP 2 pair, Category5 UTP
2 optical fibers 4 pair, Category3, 4, or 5 UTP
Signalingtechnique
MLT -3 MLT -3 4B5B, NRZI 8B6T, NRZ
Data rate 100 Mbps 100 Mbps 100 Mbps 100 Mbps
Maximumsegment length
100 m 100 m 100 m 100 m
Network span 200 m 200 m 400 m 200 m
•a low-cost, Ethernet-compatible LAN operating at 100 Mbps
•All of the 100BASE-T options use the IEEE 802.3 MAC protocol and frame format.
![Page 36: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/36.jpg)
Fast Ethernet (IEEE 802.3 100Mbps)
•100BASE-X refers to a set of options that use two physical links between nodes;
one for transmission and one for reception.
•100BASE-TX makes use of shielded twisted pair (STP) or
high-quality (Category 5) unshielded twisted pair (UTP).
•100BASE-FX uses optical fiber.
•For all of the 100BASE-T options, the topology is similar to that of 10BASE-T,
namely a star-wire topology.
![Page 37: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/37.jpg)
Gigabit Ethernet
• defines a new medium and transmission specification• retains the CSMA/CD protocol and Ethernet format
of its 10-Mbps and 100-Mbps predecessors. • compatible with 100BASE-T and 10BASE-T,
preserving a smooth migration path. • As more organizations move to 100BASE-T, putting
huge traffic loads on backbone networks, demand for Gigabit Ethernet has intensified.
![Page 38: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/38.jpg)
Gigabit Ethernet
A 1-Gbps switching hub provides backbone connectivity for central servers and
high-speed workgroup hubs.
Each workgroup LAN switch supports both 1-Gbps links, to connect to the backbone
LAN switch and to support high-performance workgroup servers, and 100-Mbps links,
to support high-performance workstations, servers, and 100-Mbps LAN switches.
![Page 39: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/39.jpg)
Gigabit Ethernet
![Page 40: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/40.jpg)
Gigabit Ethernet• 1000BASE-SX: This short-wavelength option supports duplex links of up
to 275 m using 62.5-µm multimode or up to 550 m using 50-µm multimode fiber. Wavelengths are in the range of 770 to 860 nm.
• • 1000BASE-LX: This long-wavelength option supports duplex links of up to 550 m of 62.5-µm or 50-µm multimode fiber or 5 km of 10-µm single-mode fiber. Wavelengths are in the range of 1270 to 1355 nm.
• • 1000BASE-CX: This option supports 1-Gbps links among devices located within a single room or equipment rack, using copper jumpers (specialized shielded twisted-pair cable that spans no more than 25 m). Each link is composed of a separate shielded twisted pair running in each direction.
• • 1000BASE-T: This option makes use of four pairs of Category 5 unshielded twisted pair to support devices over a range of up to 100 m.
![Page 41: EEE449 Computer Networks Local Area Network (LAN)](https://reader033.vdocument.in/reader033/viewer/2022042502/56649d6a5503460f94a48766/html5/thumbnails/41.jpg)
10-Gbps Ethernet
Higher-capacity backbone pipes will help relieve congestion for workgroup switches, where Gigabit Ethernet uplinks can easily become overloaded, and for server farms, where 1-Gbps network interface cards are already in widespread use. The goal for maximum link distances cover a range of applications: from 300 m to 40 km