Local-Area-Network (LAN) Architecture Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki E-mail:

Slides:



Advertisements
Similar presentations
Network Devices Repeaters, hubs, bridges, switches, routers, NICs.
Advertisements

CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
1 I.S Introduction to Telecommunication in Business Chapter 6 Network Hardware Components Dr. Jan Clark FALL, 2002.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
1 K. Salah Module 4.0: Network Components Repeater Hub NIC Bridges Switches Routers VLANs.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
TCP/IP Reference Model Host To Network Layer Transport Layer Application Layer Internet Layer.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
Connecting LANs, Backbone Networks, and Virtual LANs
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Connecting LANs, Backbone Networks, and Virtual LANs
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
Common Devices Used In Computer Networks
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
Switched network.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
CS 447 Networks and Data Communication
CS 447 Networks and Data Communication Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki
Network – internet – part2  Address at diff. layers  Headers at diff. layers  Equipment at diff. layers.
11 NETWORK CONNECTION HARDWARE Chapter 3. Chapter 3: NETWORK CONNECTION HARDWARE2 NETWORK INTERFACE ADAPTER  Provides the link between a computer and.
Chapter Overview Bridging Switching Routing.
25-Oct-15Network Layer Connecting Devices Networks do not normally operate in isolation.They are connected to one another using connecting devices. The.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
CS 447 Networks and Data Communication ARP (Address Resolution Protocol) for the Internet Department of Computer Science Southern Illinois University Edwardsville.
1 Kyung Hee University Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
LAN Devices  Purposes: Dividing the network into subnets Dividing the network into subnets Joining two networks together Joining two networks together.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
Cisco 3 - Switching Perrine. J Page 16/4/2016 Chapter 4 Switches The performance of shared-medium Ethernet is affected by several factors: data frame broadcast.
1 NETWORKING DEVICES PART-1 FAHEEM ANWAR PTCL ACADEMY.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Computer Networks. Internetworking Devices Network Interface Card (NIC) Repeaters HUB Bridge Switch Router.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
CCNA Guide to Cisco Networking Chapter 2: Network Devices.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
Networks Network Components. Learning Objectives Describe different media for transmitting data and their carrying capabilities. Explain the different.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Ch. 15 Connecting LANs.
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
CHAPTER -II NETWORKING COMPONENTS CPIS 371 Computer Network 1 (Updated on 3/11/2013)
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Network Devices Repeaters, hubs, bridges, switches, routers, NIC’s.
Networking Devices.
Part III Datalink Layer 10.
Connecting Devices LANs or WANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs or WANs, we.
Chapter 4 Data Link Layer Switching
Hubs Hubs are essentially physical-layer repeaters:
Chapter 3 Part 3 Switching and Bridging
(Read Forouzan Chapters 6 and 7)) IP Forwarding Procedure
Hubs Hubs are essentially physical-layer repeaters:
LAN switching and Bridges
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Part III Datalink Layer 10.
Chapter 3 Part 3 Switching and Bridging
Chapter 15. Connecting Devices
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Packet Switch Architectures
Presentation transcript:

Local-Area-Network (LAN) Architecture Department of Computer Science Southern Illinois University Edwardsville Fall, 2013 Dr. Hiroshi Fujinoki Switch & Router/000 CS 447 Networks and Data Communication

Switch and Routers What are the difference between switches and routers? QUESTION Application Presentation Session Transport Network Data-Link Physical Repeater Bridge Router Network Connecting Devices Where is “switch”? Switch Switching Hub Layer-3 Switch Same Switch & Router/001 CS 447 Networks and Data Communication

Connecting Devices in LAN Bridge Router Repeater Low level High level Switch & Router/002 IP address Network-layer address Datalink-layer address MAC address Physical Ports Routers: the network devices that forward (or drop) packets by software Switches: the network devices that forward (or drop) packets by hardware Simple Definitions Information used for decision making CS 447 Networks and Data Communication

Repeater = signal re-former (+ amplifier) Input (segment 1) Output (segment 2) Repeater LAN Segment 2 LAN Segment 1 Repeater One LAN segment Signal with noise Clean signal Repeater Switch & Router/003 CS 447 Networks and Data Communication

Repeater Hub Repeater Hub = a multi-port repeater Ports Internal shared bus Repeater Broadcast messages go through a hub (or Repeater) Hub Switch & Router/004 (Repeater-HUB) CS 447 Networks and Data Communication

Bridge (switch) = a packet localizer (packet filter) LAN 1 LAN 2 ABC XYZ 1 2 Bridge HOST PORT A B C X Y Z Bridge (switch) Switch & Router/005 Switching Table CS 447 Networks and Data Communication

LAN 1 LAN 2 ABC XYZ 1 2 Bridge Bridge Example: if A sends data to B The bridge will NOT forward packet to LAN2 HOST PORT A B C X Y Z A tries to send data to Host B Switch & Router/006 CS 447 Networks and Data Communication

LAN 1 LAN 2 ABC XYZ 1 2 Bridge The bridge will forward the packet to LAN2 A tries to send data to Host Y HOST PORT A B C X Y Z Bridge Example: if A sends data to Y Switch & Router/007 CS 447 Networks and Data Communication

Bridge = a packet localizer (packet filter) LAN 1 LAN 2 ABC XYZ 1 2 Bridge HOST PORT A B C X Y Z 1 2 A C Data Origin Destination A C Data A Z A Z Origin Destination Switch & Router/008 CS 447 Networks and Data Communication

LAN 1 LAN 2 ABC XYZ 1 2 Bridge HOST PORT A B C X Y Z 1 2 Z X Data Z X Origin Destination 2 Bridge = a packet localizer (packet filter) Switch & Router/009 CS 447 Networks and Data Communication

Switching Hub Switching Hub = a multi-port bridge Ports Hub Switch & Router/010 (Switching-HUB) Multi-Port Bridge Switching Table A BCD E ADADBEBE CS 447 Networks and Data Communication

Router = intelligent packet forwarding device between two network domains The problem of repeaters and bridges (what repeaters and bridges can’t do?) Your destinations must be only one-hop away! You Repeater/Bridge Your Destination What if your destination is more than one-hop away? Switch & Router/011 Your Destination Internet Request Response Request (1) Response with tag (2) Request (3) Response (4) Internet Request Response You Internet Request Response Request (1) Response with tag (2) Request (3) Response (4) Internet Request Response Network 1 Network N Repeater/Bridge ? CS 447 Networks and Data Communication

Switch & Router/012 Receiver Sender Routers exchange routing tables Router Network D Network C Network (= LAN or WAN) A Network B Router = intelligent packet forwarding device between two network domains CS 447 Networks and Data Communication

Switch and Routers Now we know: Layer-3 Switch Switch Router Bridge Repeater Switching Hub Switch & Router/013 CS 447 Networks and Data Communication

Switch and Routers What is the definition of “switch”, then?  Network connecting device  Packet forwarding is performed by hardware  Cut-Through forwarding (not store-and-forward) forwarding  MAC-address is used as address Switch & Router/014 CS 447 Networks and Data Communication

MAC Frame Switch and Routers What is MAC address?  It’s a hardware address associated to each NIC (usually hardwired in a ROM chip on a NIC)  The address used in Data-Link layer  Address deeply related to hardware We can never change it! Source MAC Address Frame Preamble Payload 8 bytes6 bytes bytes Switch & Router/015 CS 447 Networks and Data Communication

Switch and Routers MAC Address (48 bits) 8 bits Vendor ID Model # Serial # 00 AA00 474E85 00 A0 24 – 3COM 00 AA Intel C0 -- SMC 47 – EtherExpress16 4E 85 = 20101th card Switch & Router/016 What is MAC address? How does it look like? CS 447 Networks and Data Communication

Router Router_Switch/017 Internal structure of typical router CPU Routing Algorithm Routing Table Routing Protocol Memory Output Buffer Input Lines Output Lines CS 447 Networks and Data Communication

Internal structure of typical router Definition of the procedure for how to calculate the best path Define what is “the best path” Routing Algorithm Routing Table Routing Protocol Information the CPU uses to calculate the best path It’s implemented as software It’s data-structure (usually as “table” format) It’s software that constructs and maintains the routing table Routing protocol talks to other routers to collect the latest routing information in a network Entries in the routing table is network-layer addresses (e.g., IP addresses) Router_Switch/018 CS 447 Networks and Data Communication

Router Internal structure of typical router CPU Memory Input Lines Output Lines Routing Algorithm Routing Table Routing Protocol Router_Switch/019 IP address Data Procedure CS 447 Networks and Data Communication

Layer-2 Switch (Bridge) Internal structure of typical switch Switching Fabric Output Buffer Output Lines Crossbar switch, TDM switch, Bus switch, etc. Switch Control Unit Input Lines Switching Table Short-Term-Buffer (STB) Router_Switch/020 CS 447 Networks and Data Communication

The component where frames are switched Usually implemented by hardware (e.g., crossbar switch and bus switch) Checks the packet header Control switching fabric using the information in the switching table and the packet header Tells the switch control unit the correct output port (Destination MAC Address) + (Output Port #) STB Switching Fabric Switch Control Unit Switching Table Temporary buffer Internal structure of typical switch Router_Switch/021 CS 447 Networks and Data Communication

Layer-2 Switch (Bridge) Input Lines Output Lines Switch Control Unit Switching Table Router_Switch/022 Internal structure of typical switch CS 447 Networks and Data Communication

Switch Control Unit Switching Table Router_Switch/023 Port #1 Port #2 Port #3 Dest. MACPort# Sent to Host X Copy destination MAC Address Host X MAC=4A3D 4A3D 1 Switching Fabric STB Internal structure of typical switch CS 447 Networks and Data Communication

Layer-3 switches Router_Switch/024 Layer-3 switches = Switches that use layer-3 information (IP address) for forwarding The network devices that perform forwarding are traditionally routers Why not router any more? - LAN speed keeps increasing (10Mbps  100Mbps  1,000Mbps) - Intra-LAN repeaters and switches have been doing a good job in keeping up to the speed (because they are hardware devices) - Routers become throughput bottleneck Let switches take care of (replace) routers CS 447 Networks and Data Communication

Layer-3 switches Router_Switch/025 LAN Backbone Leaf-level Ethernet becomes faster Routers become performance bottleneck CS 447 Networks and Data Communication

Layer-3 switches Router_Switch/026 LAN Backbone Internet/WAN We still need a router here. (why?) CS 447 Networks and Data Communication

Two different types of Layer-3 switches - As core switches for virtual-circuit networks (ATM, FrameRelay)  Switching Router  Routing Switch It is a router that has built-in switch Route first and switch all the rest Typical applications: It is a switch that has built-in router It implements routing protocol (can communicate with other routers) Switches that know other networks (or sub-networks) more than one-hop away (this is the difference between L2 and L3 switches) It does not implement routing protocol (Routing table must be set up manually) Router_Switch/027 CS 447 Networks and Data Communication

Internal Structure of Switching Router CPU Routing Algorithm Routing Table Routing Protocol Memory Session Mngmnt Switching Fabric SW Ctrl Unit Switching Table Router_Switch/028 Switch Router CS 447 Networks and Data Communication

(For Virtual Circuit Packet Switching) CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt Switching Table Router_Switch/029 Internal Structure of Switching Router CS 447 Networks and Data Communication

Virtual Circuit SenderS1S2SnSnReceiver Time      Signaling Message A transmitting station needs to set up a path first Path set-up at switch S1 Router_Switch/030 CS 447 Networks and Data Communication

CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt Signaling message arrived STEP 1 Switching Table Router_Switch/031 CS 447 Networks and Data Communication

CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt STEP 2 Signaling message stored at STB Switching Table Router_Switch/032 No switching entry For this packet CS 447 Networks and Data Communication

CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt STEP 3 Signaling message sent to memory Routing will be performed for this packet Router_Switch/033 CS 447 Networks and Data Communication

CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt STEP 4 Router_Switch/034 CS 447 Networks and Data Communication

CPU Routing Algorithm Routing Table Routing Protocol Switching Fabric Memory SW Ctrl Unit Session Mngmnt STEP 5 Destination Host Address Output Port # Sender Host Address Output Port # Router_Switch/035 CS 447 Networks and Data Communication

SenderS1S2SnSnReceiver Path set-up at this switch Path set-up at this switch Path set-up at this switch Sender Host Address Output Port # Destination Host Address Output Port # Router_Switch/036 CS 447 Networks and Data Communication