TCP/IP Bridging, Switching and Routing in LANs Alvin Kwan.

Slides:



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

CCNA3: Switching Basics and Intermediate Routing v3.0 CISCO NETWORKING ACADEMY PROGRAM Switching Concepts Introduction to Ethernet/802.3 LANs Introduction.
Chabot College Chapter 2 Review Questions Semester IIIELEC Semester III ELEC
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.
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.
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.
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2007 (Week 4, Tuesday 1/30/2007)
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
© 2002, Cisco Systems, Inc. All rights reserved..
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
Copyright 2003 CCNA 1 Chapter 6, part 2 Ethernet Switching By Your Name.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
Connecting LANs, Backbone Networks, and Virtual LANs
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—1-1 Configuring Catalyst Switch Operations Introducing Basic Layer 2 Switching and Bridging Functions.
Chapter Six NetworkingHardware. Agenda Questions about Ch. 11 Midterm Exam Ch.6 Cable kit.
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 4: Managing LAN Traffic
Connecting LANs, Backbone Networks, and Virtual LANs
Common Devices Used In Computer Networks
1 CISCO NETWORKING ACADEMY PROGRAM (CNAP) SEMESTER 1/ MODULE 8 Ethernet Switching.
CS3502: Data and Computer Networks Local Area Networks - 4 Bridges / LAN internetworks.
Hour 9 Network Hardware. What You’ll Learn in This Hour Bridges Hubs and switches Routers Network Address Translation.
1/28/2010 Network Plus Network Device Review. Physical Layer Devices Repeater –Repeats all signals or bits from one port to the other –Can be used extend.
Repeaters and Hubs Repeaters: simplest type of connectivity devices that regenerate a digital signal Operate in Physical layer Cannot improve or correct.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
Chapter 6 – Connectivity Devices
Module 8: Ethernet Switching
Company LOGO Networking Components Hysen Tmava LTEC 4550.
Chapter Overview Bridging Switching Routing.
CCNA 3 Week 4 Switching Concepts. Copyright © 2005 University of Bolton Introduction Lan design has moved away from using shared media, hubs and repeaters.
Cisco 3 – Switching Concepts Perrine. J Page 16/1/2016 Module 4 The use of bridges and switches for segmentation results in ____? 1.Multiple broadcast.
Networks and Protocols CE Week 2a. Network hardware.
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.
OSI Model. Switches point to point bridges two types store & forward = entire frame received the decision made, and can handle frames with errors cut-through.
PRESENTATION ON:- INTER NETWORK Guided by: Presented by:- Prof. Ekta Agrwal Dhananjay Mishra Prafull Jain Vinod Kumawat.
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.
CCNA 1 v3.0 Module 8 Ethernet Switching. Copyright © 2005 University of Bolton Issues with Ethernet On busier shared ethernet networks, collisions become.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
LAN Switching Concepts. Overview Ethernet networks used to be built using repeaters. When the performance of these networks began to suffer because too.
Cisco Network Devices Chapter 6 powered by DJ 1. Chapter Objectives At the end of this Chapter you will be able to:  Identify and explain various Cisco.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
1. 2 It is a Physical layer device (Layer 1) It is Dummy Device It works with 0’s and 1’s (Bits) It works with broadcasting It works with shared bandwidth.
Copyright 2002Cisco Press: CCNA Instructor’s Manual Year 2 - Chapter 16/Cisco 4 - Module 9 CCNA Certification Exam Review By Your Name.
CCNA Guide to Cisco Networking Chapter 2: Network Devices.
Switching Concepts Introduction to Ethernet/802.3 LANs
Internetworking School of Business Eastern Illinois University © Abdou Illia, Spring 2016 (February 3, 2016)
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
Data Communications is the Real World OSI Layers 1 & 2 a.k.a TCP/IP Network Interface Layer.
CCNA3 v3 Module 4 v3 CCNA 3 Module 4 JEOPARDY K. Martin.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Lec # 25 Computer Network Muhammad Waseem Iqbal. Learn about the Internetworking Devices – Repeaters – Hubs – Switches – Bridges – Routers.
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Network Devices Repeaters, hubs, bridges, switches, routers, NIC’s.
Instructor & Todd Lammle
Networking Devices.
Part III Datalink Layer 10.
Chapter 4 Data Link Layer Switching
Connecting Networks Repeater: physical layer Bridge: data link layer
CS4470 Computer Networking Protocols
Connections Johan Lukkien
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
Connectors, Repeaters, Hubs, Bridges, Switches, Routers, NIC’s
Presentation transcript:

TCP/IP Bridging, Switching and Routing in LANs Alvin Kwan

TCP/IP Bridge

TCP/IP Segmenting with Bridges  A bridge is the middle device between network segments within a LAN It aims to reduce data collisions by separating collision domains between segments It aims to reduce data collisions by separating collision domains between segments It works on the data link layer with the use of the MAC address It works on the data link layer with the use of the MAC address It has a buffer (memory) to keep MAC addresses of the network devices in each network segments through a self-configuring process It has a buffer (memory) to keep MAC addresses of the network devices in each network segments through a self-configuring process

TCP/IP How does Bridging work?  A bridge builds an address table that consists of an up-to-date listing of every MAC address on the LAN, as well as the physical bridge port connected to the segment containing that address by listening to all LAN traffic.  When a frame is addressed to an unknown MAC address, the bridge will propagate that frame to all its attached LAN segments (except the segment from which the frame is received).

TCP/IP Important Remarks  A bridge must adhere to the media access protocol, e.g. an Ethernet bridge must conform to the CSMA/CD media access protocol.  No matter how many bridges are in a network, the entire network will share the same logical broadcast address space.  Bridging may increase a latency 10%-30%.

TCP/IP Bridge Types  Some major bridge types are as follows: Transparent bridges Transparent bridges  Link together segments of the same LAN type Speed-buffering bridges Speed-buffering bridges  Similar to transparent bridges except that linked LAN segments may be of different speeds Translating bridges Translating bridges  Similar to transparent bridges except that linked LAN segments may be of different LAN types

TCP/IP Bridging Today  Most bridges are two-port device though multi- port bridges are available too.  Bridges are becoming obsolete because their functions have been almost “subsumed” by other networking devices, noticeably LAN switches.  Hubs with high performance up-link ports are in fact bridges in disguise.

TCP/IP Exercise  Connecting network devices arbitrarily to different network segments separated by a bridge will not be able to make the best use of a bridge. Why?

TCP/IP Switch

TCP/IP Segmenting with Switches  A switch is the multiport data link layer device It aims to reduce data collisions by associating each port with its own collision domain It aims to reduce data collisions by associating each port with its own collision domain It uses the MAC address It uses the MAC address It dynamically builds and maintains a MAC filtering table, holding all of the necessary MAC information for each port It dynamically builds and maintains a MAC filtering table, holding all of the necessary MAC information for each port

TCP/IP Switching Issues  Address learning (when a switch is just turned on OR change in network configuration)  Forward/filter decision  Loop avoidance

TCP/IP Address Learning (1/3)

TCP/IP Address Learning (2/3)

TCP/IP Address Learning (3/3)

TCP/IP Forward/Filtering Decisions  When a frame arrives at a switch, the switch checks the destination hardware address, which is compared to the forward/filter MAC database. If the destination hardware address is known, then it will transmit it out the correct port, but if the destination hardware address is not known, then it will broadcast the frame out of all ports, except the one which it received it from. If a device (computer) answers to the broadcast, then the MAC address of that device is added to the MAC database of the switch.

TCP/IP Loop Avoidance  Any potential problem with the following network configuration?

TCP/IP Store & Forward Mode  When the switch receives a frame from one of it's ports, it will store it in memory, check it for errors and corruption, and if it passes the test, it will forward the frame out the designated port, otherwise, if it discovers that the frame has errors or is corrupt, it will discard it.  This method is the safest, but also has the highest latency.

TCP/IP Cut-through Mode  The switch reads the frame until it learns the destination MAC address of the frame it's receiving. Once it learns it, it will forward the frame straight out the designated port without doing any error checking.

TCP/IP Memory Requirement for Switch

TCP/IP Routing

TCP/IP Routing  Concerns with “learning how to get from here to there”  Works on the network layer, i.e. Layer 3.  Two major camps Source routing (less common) Source routing (less common) Hop-to-hop routing (predominately used in TCP/IP networks) Hop-to-hop routing (predominately used in TCP/IP networks)

TCP/IP Routing Principles  Correct route  Most direct route Shortest route Shortest route Route takes the least time Route takes the least time  Most reliable route (which may not be the shortest one)

TCP/IP Routing Requirements over Internet  Static routing cannot help; good routing has to be dynamic dynamic adaptive adaptive decentralized decentralized scale well, and scale well, and resilent resilent

TCP/IP Source Routing  Routing information is collected by the source  Routing information is put into the packets that the source launches toward the destination  Intervening network (with intermediate links and systems) read the routing information from the packets and act on it accordingly  Example: route planning by most people is a kind of source routing

TCP/IP Hop-by-hop Routing  Hop-by-hop routing requires routing protocols that allow end systems and intermediate systems to collect and distribute the information necessary to determine routes routing protocols that allow end systems and intermediate systems to collect and distribute the information necessary to determine routes a routing information base containing information from which routes between end systems can be computed, and a routing information base containing information from which routes between end systems can be computed, and a routing algorithm that uses the information contained in the routing information base to derive routes between end systems a routing algorithm that uses the information contained in the routing information base to derive routes between end systems

TCP/IP Example: Hop-by-hop Routing

TCP/IP Example: Simple Routing  Connected network

TCP/IP Example: Simple Routing  Connected network (no routing is required)  Q: What is the range of addresses that Node B can take such that it can “talk” to Node A?

TCP/IP Example: Simple Routing  Unconnected network As A and C are separately connected to different networks, they are unconnected. As A and C are separately connected to different networks, they are unconnected. Without setting up routing, no communications can be achieved between A and C. Without setting up routing, no communications can be achieved between A and C.

TCP/IP Example: Routing Table

TCP/IP Example: Routing Table

TCP/IP Example: Routing Table

TCP/IP Example: Data Link Frame

TCP/IP

Exercise  Suppose we would like to improve the effective bandwidth of a LAN with no subnet definition, would a switch be more favorable than a router? Why?

TCP/IP Fault Tolerance of Switch

TCP/IP Fault Tolerance of Router (1/2)

TCP/IP Fault Tolerance of Router (2/2)

TCP/IP Broadcast Flood (1/2)

TCP/IP Broadcast Flood (2/2)

TCP/IP Important Remarks  Switching builds logically fat networks whereas routing builds logically hierarchical networks  Switches segment LANs whereas routers tend to segment WANs

TCP/IP Exercise (source: inf.mpg.de/~weidenb/Lan2004/exercise8.pdf)

TCP/IP References  Wikipedia’s pages on network switch and router  /presentations/routing-smith.pdf /presentations/routing-smith.pdf /presentations/routing-smith.pdf  asia/pkg1/06/index_bar.html asia/pkg1/06/index_bar.html asia/pkg1/06/index_bar.html  html html html