Chapter 7 Local Area Networks : The Basics

Slides:



Advertisements
Similar presentations
1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Advertisements

Add Governors Discretionary (1G) Grants Chapter 6.
CALENDAR.
Network Hardware and Physical Media
The 5S numbers game..
1 Chapter One Introduction to Computer Networks and Data Communications.
CP2073 Networking Lecture 5.
Chapter 7 Local Area Networks: The Basics
Chapter 4 Computer Networks
Local Area Networks - Internetworking
Introduction to Network
1 Chapter Overview Network Cables Network Interface Adapters Network Hubs.
Introduction to Computer Administration. Computer Network - Basic Concepts Computer Networks Computer Networks Communication Model Communication Model.
CSE 6007 Mobile Ad Hoc Wireless Networks
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 3 Networking Media.
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
When you see… Find the zeros You think….
Before Between After.
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Local Area Networks Basic Concept. Introduction A local area network is a communication network that interconnects a variety of data communicating devices.
WARNING This CD is protected by Copyright Laws. FOR HOME USE ONLY. Unauthorised copying, adaptation, rental, lending, distribution, extraction, charging.
A Data Warehouse Mining Tool Stephen Turner Chris Frala
1 Non Deterministic Automata. 2 Alphabet = Nondeterministic Finite Accepter (NFA)
Computers Are Your Future © 2008 Prentice-Hall, Inc.
區域網路設備基礎介紹 Data Communications and Computer Networks: A Business User’s Approach Fifth Edition (Chap 7)
Chapter Seven Local Area Networks: The Basics
Shalini Bhavanam. Key words: Basic Definitions Classification of Networks Types of networks Network Topologies Network Models.
1 Chapter 9 Computer Networks. 2 Chapter Topics OSI network layers Network Topology Media access control Addressing and routing Network hardware Network.
1 Chapter 7 Local Area Networks : The Basics Data Communications and Computer Networks: A Business User’s Approach.
Local Area Networks (LAN): The Basics
1 Chapter 7 Introduction to Local Area Networks. 2 Introduction A local area network is a communication network that interconnects a variety of data communicating.
Chapter Seven Local Area Networks: The Basics Data Communications and Computer Networks: A Business User’s Approach Sixth Edition.
Chapter 7 Local Area Networks: The Basics
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 4, Tuesday 1/30/2007)
TDC 461 Basic Communications Systems Local Area Networks 29 May, 2001.
Basic Communications Systems Class 4
Understanding Networks II. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Chapter 7: Local Area Networks: The Basics
1 LAN Topologies, Access methods (Week 1, Wednesday 1/10/2007) © Abdou Illia, Spring 2007.
Core 3: Communication Systems. On any network there are two types of computers present – servers and clients. By definition Client-Server architecture.
1 Computer Networks Course: CIS 3003 Fundamental of Information Technology.
Network Topologies.
1 Chapter 7 Introduction to Local Area Networks. 2 Introduction A local area network is a communication network that interconnects a variety of data communicating.
Network Design Essentials
Chapter 5 Networks Communicating and Sharing Resources
Chapter 9A Network Basics.
SIMS-201 Computer Networks. 2 Introduction to Computer Networks Chapter 19 The Local Area Network  Overview.
Chapter 7 Local Area Networks: The Basics. Topics Definition of LAN Primary function, advantage and disadvantage Difference between Client/Server network.
Local Area Network By Bhupendra Ratha, Lecturer
LOCAL AREA NETWORK A local area network (lan) is a communication network that interconnects a variety of data communicating devices within a small geographic.
Without reference, identify principles relating to Computer Networks with at least 70 percent accuracy.
Basic Concepts of a Computer Network
Data Communications & Computer Networks, Second Edition1 Chapter 7 Local Area Networks: The Basics.
Chapter 7: Local Area Networks: The Basics Data Communications and Computer Networks: A Business User’s Approach Third Edition.
Copyright ©2011 Cengage Learning. All rights reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible web site, in whole.
 LANs – A Definition - A local area network (LAN) is a computer network covering a small physical area, like a home, office, or small group of buildings,
Day10 LAN. Why? Allow more than one machine to share –Resources –Internet connectivity –Information.
What is a Network? Living Online Lesson 1 Mrs. Elzey.
1 Chapter 7 Local Area Networks : The Basics Data Communications and Computer Networks: A Business User’s Approach.
By: M.Nadeem Akhtar1 Data Communication Ch 10. By: M.Nadeem Akhtar2 Networks?  LAN  MAN  WAN.
Chapter2 Networking Fundamentals
Summary - Part 2 - Objectives The purpose of this basic IP technology training is to explain video over IP network. This training describes how video can.
Local Area Networks: Monil Adhikari. Primary Function of a LAN File serving – large storage disk drive acts as a central storage repository Print serving.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2016 (February 3, 2016)
Data and Computer Communications Eighth Edition by William Stallings Chapter 15 – Local Area Network Overview.
Computer Networks and Internet. 2 Objectives Computer Networks Computer Networks Internet Internet.
COMPUTER NETWORKS Lecture-8 Husnain Sherazi. Review Lecture 7  Shared Communication Channel  Locality of Reference Principle  LAN Topologies – Star.
Introduction Chapter 1. Introduction  A computer network is two or more computers connected together so they can communicate with one another.  Two.
INTRODUCTION TO COMPUTER NETWORKS BY: SAIKUMAR III MSCS, Nalanda College.
Computer Networks.
Presentation transcript:

Chapter 7 Local Area Networks : The Basics Data Communications and Computer Networks: A Business User’s Approach Chapter 7 Local Area Networks : The Basics

Last time Types of errors and their prevention Error detection Parity – 50% CRC – can detect nearly all errors Error correction 1. Do nothing 2. Return an error message to the transmitter 3. Fix the error with no further help from the transmitter

Three Major Types of Networks Local Area Network (LAN) Serves users within a confined geographical area (usually within a mile). Metropolitan Area Network (MAN) Covers a geographic area the size of a city or suburb. The purpose of a MAN is often to bypass local telephone companies when accessing long-distance service. Wide Area Network (WAN) Covers a wide geographical area, such as a state or a country. Examples: Tyment, Telenet, Uninet, and Accunet.

Emphasis Definition of a Local Area Network (LAN) Physical and Logical LAN Topologies Different Medium Access Control Protocols Common LAN Systems Ethernet (1st commercially available LAN) Token ring FDDI (fiber data distributed interface) ring

Introduction A local area network is a communication network that interconnects a variety of data communicating devices within a small geographic area and broadcasts data at high data transfer rates very low error rates. (WANs now do this too) Since the local area network first appeared in the 1970s, its use has become widespread in commercial and academic environments.

Functions of a Local Area Network Data Communications and Computer Networks Chapter 7 Functions of a Local Area Network File server - A large storage disk drive that acts as a central storage repository. Print server - Provides the authorization to access a particular printer, accept and queue print jobs, and provides a user access to the print queue to perform administrative duties. Interconnection - A LAN can provide an interconnection to other LANs and to wide area networks.

Functions of a Local Area Network Data Communications and Computer Networks Chapter 7 Functions of a Local Area Network Video transfers - High speed LANs are capable of supporting video image and live video transfers. Manufacturing support - LANs can support manufacturing and industrial environments. Distributed processing - LANs can support network operating systems which perform the operations of distributed processing.

Advantages of Local Area Networks Data Communications and Computer Networks Chapter 7 Advantages of Local Area Networks Ability to share hardware and software resources. Individual workstation might survive network failure. Component and system evolution are possible. Support for heterogeneous forms of hardware and software. Access to other LANs and WANs (Figure 7-1). Private ownership. Secure transfers at high speeds with low error rates.

Data Communications and Computer Networks Chapter 7

Disadvantages of Local Area Networks Data Communications and Computer Networks Chapter 7 Disadvantages of Local Area Networks Equipment and support can be costly. Level of maintenance continues to grow. Private ownership? Some types of hardware may not interoperate. Just because a LAN can support two different kinds of packages does not mean their data can interchange easily. A LAN is only as strong as it weakest link, and there are many links.

Basic Network Topologies Data Communications and Computer Networks Chapter 7 Basic Network Topologies Topology: the geometric configuration Separate from protocols! Local area networks are interconnected using one of four basic configurations: 1. Bus/tree 2. Star-wired bus 3. Star-wired ring 4. Wireless

Basic Network Topologies Logical vs physical design (topologies) 1. Logical design: how the data moves around the network from workstation to workstation 2. Physical design: how the network physically appears if drawn on a sheet of paper (laid out) Names of topologies usually refer to the physical design.

Bus/Tree Topology Data Communications and Computer Networks Chapter 7 Bus/Tree Topology The original topology – 1970’s Workstation has a network interface card (NIC) provides a physical connection to a network Data can be transferred using either baseband digital signals broadband analog signals.

Bus/Tree Topology Data Communications and Computer Networks Chapter 7 Bus/Tree Topology Workstation has a network interface card (NIC) provides a physical connection to a network Attaches to the bus (a coaxial cable) via a tap. NIC is an electronic device that performs the necessary signal conversions and protocols operations so that the workstation can send and receive data on the network. Tap is a passive device Does not alter the signal Does not require electricity to operate

Data Communications and Computer Networks Chapter 7

LAN Topologies: Bus Consists of a single wire to which individual stations are attached Each end has a terminator attached to it Data travels the entire length of the cable Transmission from any stations travels entire medium (both directions) Inexpensive and easy to install Ethernet is the common form of a bus topology system

Data Communications and Computer Networks Chapter 7

Bus/Tree Topology Baseband signals Digital signals – 10 Mbps Bidirectional and more outward in both directions from the workstation transmitting. Easy to install and maintain Fewer than 100 workstations Buses can be split and joined, creating trees.

Data Communications and Computer Networks Chapter 7

Bus/Tree Topology Broadband signals Usually uni-directional and transmit in only one direction. Analogy and FDM for multiple channels (amplification necessary). Because of this, special wiring considerations are necessary. 100 to 1000 workstations over larger distances due to easy amplification Buses can be split and joined, creating trees.

Data Communications and Computer Networks Chapter 7 Twice the propagation delay of baseband

Data Communications and Computer Networks Chapter 7

Advantages/disadvantages of a bus Data Communications and Computer Networks Chapter 7 Advantages/disadvantages of a bus Difficult to add new devices if no tap exists. No tap existing means cutting into the line As such, this topology is loosing popularity Plenty still around; Ethernet uses this.

Star-wired Topologies Data Communications and Computer Networks Chapter 7 Star-wired Topologies Stars versus a single line Two types: Star-wired bus (often call the star topology) Star-wired ring

Star-wired Bus Topology Logically operates as a bus, but physically looks like a star. Star design is based on hub. All workstations attach to hub. Hub is an unintelligent device that immediately transmits whatever data it receives to all connections Unshielded twisted pair usually used to connect workstation to hub. Hub takes incoming signal and immediately broadcasts it out all connected links. Hubs can be interconnected to extend size of network. Very popular!

Star-wired bus physical topology for a LAN

Interconnection of two hubs in a star-wired bus LAN

Star-wired Bus Topology Data Communications and Computer Networks Chapter 7 Star-wired Bus Topology Modular connectors and twisted pair make installation and maintenance of star-wired bus better than standard bus. Hubs can be interconnected with twisted pair, coaxial cable, or fiber optic cable. Biggest disadvantage: when one station talks, everyone hears it. This is called a shared network. All devices are sharing the network medium.

Star-wired Ring Topology Data Communications and Computer Networks Chapter 7 Star-wired Ring Topology Logically operates as a ring but physically appears as a star. Star-wired ring topology is based on MAU (multi-station access unit) which functions similarly to a hub. Where a hub immediately broadcasts all incoming signals onto all connected links, the MAU passes the signal around in a ring fashion in one direction. Like hubs, MAUs can be interconnected to increase network size.

Ring topology viewed logically

NIC Repeaters for Star-wired Ring Data Communications and Computer Networks Chapter 7 NIC Repeaters for Star-wired Ring All data must pass through a NIC repeater Performs basic functions: Bypass: data does not copy to the workstation, used for inactive devices Copy: data from ring copied to workstation Write: data from the workstation copied to the ring Regenerates: recopies data back onto ring

Three possible operations of the workstation repeater on a ring topology

Physical organization of a ring topology Looks like a star!

Multi-station access unit on a ring topology The MAU replaces the hub for this topology

Wireless Topology Data Communications and Computer Networks Chapter 7 Wireless Topology Not really a specific topology since a workstation in a wireless LAN can be anywhere as long as it is within transmitting distance to an access point. Range varies from 50 to 800 ft with speeds of 2 to 11 Mbps Most wireless LANs include a wired LAN backbone Usually requires a wireless NIC

Stanford’s wireless network

Wireless Topology – different forms Data Communications and Computer Networks Chapter 7 Wireless Topology – different forms Newer IEEE 802.11 and 802.11b (Wi-Fi) standard defines various forms of wireless LAN connections. Speeds up to 11 Mbps with 802.11b standard. Workstations reside within a basic service set, while multiple basic service sets create an extended service set.

Wireless Topology Data Communications and Computer Networks Chapter 7 Wireless Topology Acceptable transmission ranges broken up into areas: Basic service set – that surrounding an access point Extended service set – collection of basic service sets Workstations reside within a basic service set, while multiple basic service sets create an extended service set.

Wireless Topology Data Communications and Computer Networks Chapter 7 Wireless Topology Two basic components necessary: the client radio, usually a PC card with an integrated antenna, and the access point (AP), which is an Ethernet port plus a transceiver. The AP acts as a bridge between the wired and wireless networks and can perform basic routing functions. Workstations with client radio cards reside within a basic service set, while multiple basic service sets create an extended service set.

Single-cell wireless LAN configuration

Multiple-cell wireless LAN configuration

Ad-hoc configuration for a wireless LAN

Wireless Topology Data Communications and Computer Networks Chapter 7 Wireless Topology With directional antennae designed for point-to-point transmission (rare), 802.11b can work for more than 10 miles. With an omni-directional antenna on a typical AP, range may drop to as little as 100 feet. Distance is inversely proportional to transmission speed - as speed goes up, distance goes down.

Wireless Topology Data Communications and Computer Networks Chapter 7 Wireless Topology In actual tests, 11 Mbps 802.11b devices managed 5.5 Mbps To provide security, most systems use Wired Equivalent Privacy (WEP), which provides either 40- or 128-bit key protection. (how good?) What will Bluetooth’s impact be on 802.11b (Wi-Fi)?

Other Wireless Standards IEEE 802.11 (older 2 Mbps) IEEE 802.11b (11 Mbps, 2.4 GHz) Also called Wi-Fi (wireless fidelity) IEEE 802.11a (54 Mbps, 5 GHz, in 2002) IEEE 802.11g (54 Mbps, 2.4 GHz, in 2002) HiperLAN/2 (European standard, 54 Mbps in 5 GHz band)

Data Communications and Computer Networks Chapter 7

Summary of topologies Logical vs physical topologies Bus and star-rings - old technologies Still some around You’ll probably use Star-wired bus (star) With bus or routers (now much easier to use) Wireless network (Wi-fi)

Protocols Last time topologies Now how the data actually flows

Medium Access Control (MAC) Protocols Data Communications and Computer Networks Chapter 7 Medium Access Control (MAC) Protocols How does a workstation get its data onto the LAN medium? A medium access control protocol is the software that allows workstations to “take turns” at transmitting data. Since a LAN is a broadcast network, it’s imperative that only one workstation at a time be allowed to transmit data onto the network. (for multiple channels, one channel per workstation) Switches have changed that, but we’ll take about that in Ch8.

Medium Access Control Protocols Data Communications and Computer Networks Chapter 7 Medium Access Control Protocols Three basic categories: 1. Contention-based protocols (1st come; 1st serve) 2. Round robin protocols (take your turn!!) 3. Reservation protocols (requests please!)

Contention-Based Protocols Data Communications and Computer Networks Chapter 7 Contention-Based Protocols Essentially first come first served. Most common example is Carrier Sense Multiple Access with Collision Detection (CSMA/CD). If no one is transmitting, a workstation can transmit. If someone else is transmitting, the workstation “backs off” and waits. Half duplex protocol.

Contention-Based Protocols If two workstations transmit at the same time, a collision occurs. When the two workstations hear the collision, they stop transmitting immediately. Each workstation backs off a random amount of time and tries again. Workstations use a persistence algorithm to decide when to resubmit. Hopefully, both workstations do not try again at the exact same time. CSMA/CD is an example of a non-deterministic protocol (cannot calculate time at which a workstation will transmit)

Collisions Data Communications and Computer Networks Chapter 7 Collisions Collision window is the interval during which a workstation’s signal can propagate down the bus and back. During this period a workstation might falsely hear no one transmitting and retransmit a signal. Changes for collisions go up when every workstation wants to send something – heavy traffic!

Data Communications and Computer Networks Chapter 7

Collisions Busy CSMA/CD networks can waste over half their time dealing with collisions.

Round Robin Protocols Data Communications and Computer Networks Chapter 7 Round Robin Protocols Each workstation takes a turn transmitting and the turn is passed around the network from workstation to workstation. Most common example is token ring LAN in which a software token is passed from workstation to workstation. Token ring is an example of a deterministic protocol. Token ring more complex than CSMA/CD. What happens if token is lost? Duplicated? Hogged? Token ring LANs are losing the battle with CSMA/CD LANs.

Token Passing Protocols Before workstation can transmit it must possess the one and only token Two types: Token ring Token bus

Data Transmission on a token ring LAN Station A has just released the token Station M copies the data meant for it from B B removes the data it sent and releases the token

Why CSMA/CD more popular than Token Ring Data Communications and Computer Networks Chapter 7 Why CSMA/CD more popular than Token Ring 1st LAN MAC method, more installations and equipment. Token rings have almost always lagged behind in transmission speed. CSMA/CD less expensive to implement because of widespread marketing and acceptance. CSMA/CD is a simpler protocol. Wireless CSMA/CD now exists

Token Bus Data Communications and Computer Networks Chapter 7 Token Bus Just like the token ring, but a bus instead Each workstation maintains a list of neighbors that one passes the token to (logical not physical) neighbor Designed primarily for manufacturing plants since a non-deterministic protocol is not acceptable there. Why?

Reservation Protocols Data Communications and Computer Networks Chapter 7 Reservation Protocols Workstation places a reservation with central server. Workstation cannot transmit until reservation comes up. Under light loads, this acts similar to CSMA/CD. Under heavy loads, this acts similar to token ring. Powerful access method but again losing out to CSMA/CD. Most common example of reservation protocol is demand priority protocol.

Problems with the OSI model for LANs Problems with broadcast networks! Routing (no decisions have to be made) Data link and physical link tightly coupled Need to specify hardware! Ugh! Broadcast networks need to be have a medium access control to decide who talks

Medium Access Control Sublayer Data Communications and Computer Networks Chapter 7 Medium Access Control Sublayer To better support local area networks, the data link layer of the OSI model was broken into two sublayers: 1. Logical link control sublayer 2. Medium access control (MAC) sublayer Medium access control sublayer defines the frame layout and is more closely tied to a specific medium at the physical layer. Thus, when people refer to LANs they often refer to its MAC sublayer name, such as 10BaseT.

Modification of OSI model to split data link layer into two sublayers

IEEE 802 Frame Formats Data Communications and Computer Networks Chapter 7 IEEE 802 Frame Formats The IEEE 802 suite of protocols defines the frame formats for CSMA/CD (IEEE 802.3) and token ring (IEEE 802.5). Each frame format describes how the data package is formed. Note how the two frames are different. If a CSMA/CD network connects to a token ring network, the frames have to be converted from one to another.

Frame format for IEEE 802.3 CSMA/CD Protocol

Frame Format for IEEE 802.5 Token Ring Protocol

Local Area Network Systems Data Communications and Computer Networks Chapter 7 Local Area Network Systems The entire system with protocol and topology

Local Area Network Systems Data Communications and Computer Networks Chapter 7 Local Area Network Systems Ethernet or CSMA/CD Most common form of LAN today. Star-wired bus is most common topology but bus topology also around. Ethernet comes in many forms depending upon medium used and transmission speed and technology.

Ethernet Data Communications and Computer Networks Chapter 7 Ethernet Originally, CSMA/CD was 10 Mbps. Then 100 Mbps was introduced. Most NICs sold today are 10/100 Mbps. Then 1000 Mbps (1 Gbps) was introduced. 10 Gbps is now available.

Ethernet Data Communications and Computer Networks Chapter 7 Ethernet 1000 Mbps introduces a few interesting wrinkles: Transmission is full duplex (separate transmit and receive), thus no collisions. Prioritization is possible using 802.1p protocol. Topology can be star or mesh (for trunks).

Ethernet Data Communications and Computer Networks Chapter 7 Ethernet Cabling can be either UTP (unshielded twisted pair) or optical (but 10 Gbps Ethernet may not work over UTP due to radio frequency interference). Where 10 Mbps Ethernet has less than 30% utilization due to collisions, 1000 Mbps is limited only by traffic queueing. Distance with 10 Mbps is limited by CSMA/CD propagation time, whereas 1000 Mbps limited only by media.

Ethernet Standards Key XXXBase or XXX Broad XXX 10 means 10Mbps

Local Area Network Systems Data Communications and Computer Networks Chapter 7 Local Area Network Systems IBM Token Ring Deterministic LAN offered at speeds of 4, 16 and 100 Mbps using star-ring topology. Very good throughput under heavy loads. More expensive components than CSMA/CD. Losing ground quickly to CSMA/CD. May be extinct soon.

Local Area Network Systems Data Communications and Computer Networks Chapter 7 Local Area Network Systems FDDI (Fiber Distributed Data Interface) Based on the token ring design using 100 Mbps fiber connections. Allows for two concentric rings - inner ring can support data travel in opposite direction or work as backup. Token is attached to the outgoing packet, rather than waiting for the outgoing packet to circle the entire ring.

FDDI dual ring topology

Local Area Network Systems Data Communications and Computer Networks Chapter 7 Local Area Network Systems 100VG-AnyLAN Deterministic LAN based on demand priority access method. Similar to hub topology (star design). Two levels of priority - normal and high. Supports a wide-variety of media types. Losing ground quickly to CSMA/CD. Will be extinct soon?

Data Communications and Computer Networks Chapter 7

LANs In Action : A Small Office Solution Data Communications and Computer Networks Chapter 7 LANs In Action : A Small Office Solution What type of system will interconnect twenty workstations in one room and 15 workstations in another room to a central server, which offers: Internal e-mail A database that contains all customer information High quality printer access

Data Communications and Computer Networks Chapter 7

Data Communications and Computer Networks Chapter 7

LANs In Action : A Home Office Local Area Network Solution Data Communications and Computer Networks Chapter 7 LANs In Action : A Home Office Local Area Network Solution What if you have two computers at home and want both to share a printer and a connection to the Internet. Some type of “network-in-a-box” solution might solve this problem. Essentially a LAN with a 2- or 3-port hub, connecting cables, and software. In some models the hub also acts as a router to the Internet.

Data Communications and Computer Networks Chapter 7

What we covered Topologies Protocols Systems Star-bus Wireless Protocols CSMA/CD Systems Ethernet Next time: wireless networks?