More on LANS. LAN Wiring, Interface

Similar documents
Local Area Network(LAN)

Local Area Network Overview

LAN Overview (part 2) Interconnecting LANs - Hubs

ET4254 Communications and Networking 1

Introduction to LAN Protocols

LAN Interconnection. different interconnecting devices, many approaches Vasile Dadarlat- Local Area Computer Networks

CS610- Computer Network Solved Subjective From Midterm Papers

Extending the LAN. Context. Info 341 Networking and Distributed Applications. Building up the network. How to hook things together. Media NIC 10/18/10

CH : 15 LOCAL AREA NETWORK OVERVIEW

Chapter 4 NETWORK HARDWARE

Chapter 15 Local Area Network Overview

2. LAN Topologies Gilbert Ndjatou Page 1

Chapter 6 Connecting Device

Chapter 9. Ethernet. Part II

(Subjective-CS610 Computer Networks)

Local Area Networks. Aloha Slotted Aloha CSMA (non-persistent, 1-persistent, p-persistent) CSMA/CD Ethernet Token Ring

Lecture 8: Switched Ethernet and Collision Domains

Introduction to LAN Protocols

Part3. Local Area Networks (LAN)

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

6.1.2 Repeaters. Figure Repeater connecting two LAN segments. Figure Operation of a repeater as a level-1 relay

LAN Systems. Bus topology LANs

Darshan Institute of Engineering & Technology for Diploma Studies

Lecture 4b. Local Area Networks and Bridges

A LAN is a high-speed data network that covers a relatively small geographic area. It typically connects workstations, personal computers, printers,

Ethernet. Networks: Ethernet 1

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Introduction to Networks and the Internet

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

Networking Devices. Punch_down panels

Review For Exam 2. Internetworking. Summary Questions. School of Business Eastern Illinois University. School of Business Eastern Illinois University

King Fahd University of Petroleum & Minerals Electrical Engineering Department EE 400, Experiment # 2

Medium Access Protocols

ECE 333: Introduction to Communication Networks Fall Lecture 19: Medium Access Control VII

Chapter 11 in Stallings 10 th Edition

Introduction to LAN Topologies Cabling. 2000, Cisco Systems, Inc. 3-1

Guide to Networking Essentials, 6 th Edition. Chapter 7: Network Hardware in Depth

Ethernet. Computer Networks. Lecture 4.

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

Growth. Individual departments in a university buy LANs for their own machines and eventually want to interconnect with other campus LANs.

Concept Questions Demonstrate your knowledge of these concepts by answering the following questions in the space provided.

IT 4504 Section 4.0. Network Architectures. 2008, University of Colombo School of Computing 1

Ethernet Hub. Campus Network Design. Hubs. Sending and receiving Ethernet frames via a hub

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

CN [Network Devices]

Chapter 9 & 12: Wired LAN

Introduction to Networking Devices

Interface The exit interface a packet will take when destined for a specific network.

M242 COMPUTER NETWORS AND SECURITY

Some portions courtesy Srini Seshan or David Wetherall

Direct Link Communication II: Wired Media. Multi-Access Communication

Computer Networks. Wenzhong Li. Nanjing University

IEEE 802 LANs SECTION C

Switching and Forwarding Reading: Chapter 3 1/30/14 1

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

Campus Network Design

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Introductory to Computer Networks Local Area Networks. Lecture 16 Fall Isfahan University of technology Dr.

3.5 CONNECTING DEVICES

Unit 10. Networks. Copyright 2005 Heathkit Company, Inc. All rights reserved.

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

The NIC is the main interface between the computer and the network cable.

Different network topologies

1: Review Of Semester Provide an overview of encapsulation.

Direct Link Communication II: Wired Media. Multi-Access Communication

Computer Science Department 2 nd semester- Lecture13

LAN Interconnection and Other Link Layer Protocols

More on LANs. Roadmap. CPSC Network Programming. ! Hardware Addressing. !LAN Wiring. ! Extending LANs. ! Local Loop Digital Technologies

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Layer 2 functionality bridging and switching

Summary of MAC protocols

CS 416: Operating Systems Design April 11, 2011

Network Media and Layer 1 Functionality

Internet Architecture and Protocol

Media Access Control (MAC) Sub-layer and Ethernet

Tutorial 3 (Ethernet)

The Network Access Layer. In This Lecture. Network Access Layer. Hour 3

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

ก ก Information Technology II

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Introduction. High Speed LANs. Emergence of High-Speed LANs. Characteristics of High Speed LANS. Text ch. 6, High-Speed Networks and

10- and 100-Mbps Ethernet

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Integrating Information Systems: Technology, Strategy, and Organizational Factors

Module 16: Distributed System Structures

CSCD 330 Network Programming Spring 2017

Contention Protocols and Networks

Chapter 10: Local Area Networks

Image courtesy Cisco Systems, Inc. Illustration of a Cisco Catalyst switch

Network Infrastructure

CSE 123A Computer Networks

Section 3.1: Network Adapters

Types of Computer Networks and their Topologies Three important groups of computer networks: LAN, MAN, WAN

Other Protocols. Arash Habibi Lashkari

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

Guide to Networking Essentials, 6 th Edition. Chapter 7: Network Hardware in Depth

Lecture (04) Network Layer (Physical/Data link) 2

Full file at

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Transcription:

More on LANS Chapters 10-11 LAN Wiring, Interface Mostly covered this material already NIC = Network Interface Card Separate processor, buffers incoming/outgoing data CPU might not be able to keep up network speeds! Distributes processing to avoid overburdening CPU Typically has DMA access Wiring ThickNet 10Base5 ; Thick coax cable ThinNet 10Base2 ; Thin coax cable Use BNC connectors, T connectors for bus 10BaseT, 100BaseT Use central hub ; Twisted Pair 1

ThinNet 10BaseT 2

Comparison of Wiring Schemes 10Base2 Separate transceiver allows computer to be powered off or disconnected from network without disrupting other communication Transceiver may be located in an inconvenient place Finding malfunctioning transceiver can be hard Thin coax takes minimum of cable Disconnecting one computer (or one loose connection) can disrupt entire network 10BaseT Hub wiring centralizes electronics and connections, making management easier Easier to pull cable Bottom line - 10Base-T most popular because of cost Wiring Schemes 3

Extending LANs LANs were designed with constraints of speed, distance, cost, and usage Typical distance = 100 to 500 meters CSMA/CD optimal with bursty traffic Works best to connect computers in a single floor or building Possible to improve on LAN performance Scale up to larger amounts of traffic Extend to connect computers across longer distances LAN Distance Length of medium affects strength of electrical signals and noise immunity LANs use shared medium - Ethernet, token ring Length of medium affects consistency and fair, shared access to medium Token passing - circulation time for token increases with long cable CSMA/CD with minimum frame size, if propagation delay too long we won t detect collision while transmitting Standards set a maximum distance for LANs 100 meters for UTP 200 to 500 meters for coax Can extend distances with fiber optic connections Install a fiber modem from computer to transceiver, perhaps in a different building 4

Fiber Modems Fiber modems Convert Ethernet signals to digital signal for fiber Transmit digital signals via fiber optic cable to other modem Most often used to connect two LANs - typically through a bridge - different buildings Fiber is a good choice due to low latency and high bandwidth Extending distance from interface to physical layer Repeaters May want to extend LAN medium Ethernet - timing constraints allow longer medium Signal strength constraints limit length Repeater simplest form is a bidirectional, analog amplifier that retransmits analog signals Simply copy signals between segments; includes noise/collision Do not understand frame formats or addresses Not the case with digital repeaters Hub acts as a repeater One repeater can effectively double the length of an LAN segment, e.g. 100m to 200m 5

Limits on Repeaters Can't extend Ethernet with repeaters indefinitely CSMA/CD requires low delay; if medium is too long, CSMA/CD won't work Run into the problem of not being able to detect collisions while transmitting the frame Ethernet standard includes limit of 4 repeaters between any two Ethernet stations Reasons for limitations Ethernet was designed to connect a floor of a building, or a couple floors, but not across wider distances Will need to go to routers to cross larger distances (connect two separate LANs) Aside from hubs, bridges are used today in favor of repeaters Bridges Bridges operate transparently at the data link layer. They connect two LAN segments that use the same data link and network protocol. They may use the same or different types of cables although generally the media is the same. Bridges learn whether to forward packets, and only forward those messages that need to go to other network segments. 6

Bridges Looks like one LAN to all systems Bridges Bridges are a combination of both hardware and software, typically a black box that sits between the two networks, but can also be a computer with two NICs and special software. Bridges can perform filtering and can be used to segment a LAN as we will see in a moment 7

Switches Like bridges, switches operate at the data link layer (generally). Switches connect two or more computers or network segments that use the same data link and network protocol. They may connect the same or different types of cable. Incoming frame switches to appropriate outgoing line Most switches enable all ports to be in use simultaneously, making them faster than bridges. Unused lines can also be used to switch other traffic Ex: with two pairs of lines in use, overall capacity is now 20Mbps instead of 10Mbps Switches are currently the hot thing in LANs! Switches 8

Switched Hubs No change to software or hardware of devices Each device has dedicated capacity Scales well Store and forward switch Accept input, buffer it briefly, then output Cut through switch Take advantage of the destination address being at the start of the frame Begin repeating incoming frame onto output line as soon as address recognized May propagate some bad frames How do switches know which input line to connect to which output line? Switched Ethernet Other solutions include to speed up server access: Full Duplex Ethernet - full duplex over traditional 10BaseT. 10/100 Switched Ethernet (combines 10Base-T and 100Base-T). This is often used to provide 10 Mbps to the clients and 100 Mbps to the server. 9

Full Duplex Ethernet Intel Express 460T Switch about $800 24 Ports Auto-negotiating 10/100 Ports Auto-configuration Built-in management via web browser Expansion modules Extend with the 100Base-FX expansion module or uplink to Gigabit Ethernet IGMP Snooping Reduce congestion when multicasting traffic to multiple desktops. Wire-speed performance Each user receives dedicated 100Mbps full-duplex performance even during high traffic bursts. 10

Bridges Ability to expand beyond single LAN Provide interconnection to other LANs/WANs Use Bridge or router Bridge is simpler Connects similar LANs Identical protocols for physical and link layers Router more general purpose Interconnect various LANs and WANs Can even change data link protocols (but same network protocol) see later Why Bridge? Reliability Partition network into self-containing units Performance Cluster internetworks together, performance decreases as the number of devices on the wire increases Security Can keep different traffic (e.g. accounting, strategic planning) on different networks Geography Need a way to support networks in two different locations, could use a bridge to link them 11

Functions of a Bridge Bridge interfaces are promiscuous and read all packets Collisions aren t forwarded meaning: Network isolation Bridges learn which packets belong to which side More network isolation Bridges have a spanning tree algorithm with own link-layer protocols, dynamically forms a tree to prevent loops allows redundant bridges Bridge Operation 12

Bridge Learning Algorithm Receive some data packet on some input port Look at the packet s source MAC address. If it s not a broadcast or multicast address then: Lookup address in internal lookup table If not in the table, store it in the table using the address and the port it is on If it is in the table, change the entry if it s on a different port Bridge Forwarding Algorithm Receive some data packet on some input port Look at the packet s destination MAC address. If it s a broadcast or multicast address then forward it to the other port Lookup destination address in internal lookup table If not in the table, forward it to the other port If it is in the table If the destination address is on the same segment as the input segment, discard the packet Otherwise, forward the packet to the other port 13

Bridge Operation Example Bridge Protocol Architecture IEEE 802.1D Pretty complex, IEEE spec 378 pages long MAC level Station address is at this level Bridge does not need LLC layer It is relaying MAC frames 14

Multiple LANs Multiple Bridges Anything wrong with this picture? 15

Bridge Routing Complex large LANs need alternative routes Load balancing Fault tolerance Bridge must decide whether to forward frame Bridge must decide which LAN to forward frame on Fixed Routing - Routing selected for each sourcedestination pair of LANs Done in configuration Usually least hop route Only changed when topology changes Spanning Tree Bridge automatically develops routing table Automatically update in response to changes Done by constructing a spanning tree For any connected graph there is a spanning tree that maintains connectivity but contains no closed loops Each bridge assigned unique identifier (MAC address), used to identify other bridges in the tree Initially block normal data traffic, exchange BPDU (bridge protocol data units) between bridges to establish spanning tree 16

Switches and Bridges? Most switches (at least store-and-forward) also act just like a bridge Segments traffic Typically implements spanning tree algorithm Has more ports than a bridge 17