Connecting LANs: Section 15.1. 15.2 Figure 15.1 Five categories of connecting devices.

Slides:



Advertisements
Similar presentations
CCNA3 v3 Module 7 v3 CCNA 3 Module 7 JEOPARDY K. Martin.
Advertisements

Communication Networks Recitation 3 Bridges & Spanning trees.
University of Calgary – CPSC 441.  We need to break down big networks to sub-LANs  Limited amount of supportable traffic: on single LAN, all stations.
CPSC 441 TUTORIAL TA: FANG WANG HUBS, SWITCHES AND BRIDGES Parts of the slides contents are courtesy of the following people: Jim Kurose, Keith Ross:
Bridging. Bridge Functions To extend size of LANs either geographically or in terms number of users. − Protocols that include collisions can be performed.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
Making bigger LANs out of small ones What technology is available to us for connecting small LANs together into larger ones?
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
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)
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
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
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Connecting LANs, (network devices) Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Connecting LANs, Backbone Networks, and Virtual LANs
1 CS 4396 Computer Networks Lab LAN Switching and Bridges.
Section 4 : The OSI Network Layer CSIS 479R Fall 1999 “Network +” George D. Hickman, CNI, CNE.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 7 Spanning-Tree Protocol Cisco Networking Academy.
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.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
 Network Segments  NICs  Repeaters  Hubs  Bridges  Switches  Routers and Brouters  Gateways 2.
Network Devices.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
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.
Computer Networks 15-1 Connecting Devices. Connecting Device We divide connecting devices into five different categories based on the layer in which they.
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.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Connecting LANs, Backbone Networks, and Virtual LANs
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.
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
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., Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
1 Version 3.0 Module 7 Spanning Tree Protocol. 2 Version 3.0 Redundancy Redundancy in a network is needed in case there is loss of connectivity in one.
Topic 5 Spanning tree protocol
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
Ch. 15 Connecting LANs.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
1 Networking and Internetworking Devices we need networking and internetworking devices to extend physical distance and to improve efficiency and manageability.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
Chapter-5 STP. Introduction Examine a redundant design In a hierarchical design, redundancy is achieved at the distribution and core layers through additional.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chapter 16– Connecting LANs
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 17 Connecting Devices And Virtual LANs 17.# 1
Chapter 4 Data Link Layer Switching
: An Introduction to Computer Networks
Chapter 3 Part 1 Switching and Bridging
Connecting LANs, Backbone Networks, and Virtual LANs
Connecting LANs, Backbone Networks, and Virtual LANs
Subject Name: Computer Communication Networks Subject Code: 10EC71
LAN switching and Bridges
NT2640 Unit 9 Activity 1 Handout
Connecting LANs, Backbone Networks,
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
LAN switching and Bridges
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
LAN switching and Bridges
Presentation transcript:

Connecting LANs: Section 15.1

15.2 Figure 15.1 Five categories of connecting devices

Layer 1 (repeaters, hubs)  device simply regenerates signals  defines a collision domain Everything connected by a layer 1 device lies in the same collision domain.  Dumb  Not as common as they once were since more intelligent devices are affordable

15.4 Figure 15.2 A repeater connecting two segments of a LAN

15.5 Figure 15.4 A hierarchy of hubs

Layer 2 (bridges, switches)  Routes based on physical (MAC) addresses.  Implements contention protocol.  defines a broadcast domain.  Routing tables used to determine where to forward frames.

15.7 Figure 15.5 A bridge connecting two LANs

Routing logic  Look for the destination MAC address in a routing table.  If found, send frame out over the specified port.  If not found, send frame out over ALL ports except the one from which it arrived (flooding).

How do routing tables get built?  Manually (static) Only the earliest bridges  Learning Examine the source MAC address of every frame. Store that address and the port over which the frame arrived into the routing table.  Every so often purge the routing tables and repeat in case devices move

15.10 Figure 15.6 A learning bridge and the process of learning

Routing Logic for a bridge/switch  Look up destination address in routing table.  If the address corresponds to the port over which it arrived, ignore it.  If the address corresponds to a different port, send the frame out that port.  If the address does not exist in the routing table, send it out all ports (flooding) except the one over which it arrived.  In any case, store the frame’s source address in the routing table along with the port over which it arrived.

 Should avoid loops in the LAN topology

15.13 Figure 15.7 Loop problem in a learning bridge

 A system admin might want redundant bridges as backups if one fails.  Redundant bridges means multiple routes and, hence, loops.  IEEE created a standard by which bridges can execute an algorithm that creates a spanning tree a minimum set of connection among all LANs  IEEE 802.1d802.1d  Cisco Cisco

 It’s a clever algorithm in which bridges flood the network, sending information about themselves and the LANs to which they connect.  No time to cover this, so you can skip it.  Also, lifetime of such devices is usually measured in years so failures are rare.

Bridging different LANs (legacy)  Change frame formats.  Sometime remove a priority field (losing it) or adding a default priority.  If frame was too large to route onto another LAN Further limit frame size at originating device beyond the normal protocol limit – loses transparency. Divide frame and reassemble (router function). Sometimes the term brouter (bridge/router) was used.

Layer 3 (routers)  Routing tables based on IP addresses  Slower that switches since there are more layers to process  Unlike switches, can be connected in loops  have logic to detect recirculating packets  For example, an Internet packet has a TTL (time-to- live) field that decrements each time it passes through a router.  If it decrements to 0, the router drops it.

Backbone networks Section 15.2  Not much in this section  That part of the network that connects other components of the network

15.19 Figure Bus backbone

VLANS Section 15.3  Nice reference at WUSTLWUSTL  Historically, LAN constrained by physical location and a LAN defined a broadcast domain.  LANs were separated for better security and efficiency.

15.21 Figure A switch connecting three LANs

 A VLAN is a collection of devices that behave as though they were connected to the same LAN  Ethernet frame extended to include a VLAN ID. Above layer 2, but below layer 3.  Bridge port usually determines which VLAN, but MAC addresses and protocols used can be the deciding factor.

15.23 Figure A switch using VLAN software

Some advantages  smaller broadcast domain  issues in one VLAN don’t affect another  Another layer of security  limits “reach” of devices within layer 2 (going beyond the reach requires layer 3 device where administration can enforce more policies).

 May help to contain viruses since many are spread by broadcast traffic.  Campus uses up to 35 VLANs in res-life (or, at least, used to)  Touring companies for Weidner activities. Their PCs are often infected and a VLAN helps isolate the problems.

Spanning Tree Algorithm Outline (SKIP)  Assign a cost to a bridge port. (might be inversely proportional to bit rate, reflect queue sizes or other bridge design factors, or just =1)  Cost of sending a message = sum of costs of bridge ports (sending only)  Visualize LAN topology as a graph

 Bridges elect a root bridge. Each bridge sends BPDUs (contains Bridge ID, port ID over which BPDU first sent, accumulated cost of ports over which BPDU is received-this is cost back to sender)  Bridge receives BPDU: If own ID is larger than that in BPDU, stop sending its own BPDUs, update received one, and forward on all other out ports. If own ID smaller or equal, then do not forward. Packets could circulate endlessly, so drop if cost > threshhold value.

 After a time, only one bridge is sending BPDUs and all others receive BPDUs from only 1 source. All know identity of root bridge and cost to get there.  Determine designated bridge for each LAN (bridge to forward frames from each LAN). Bridges send other BPDUs over each LAN to which they are connected (not one connected via root port). Each BPDU contains cost to root bridge.. Bridge with cheapest cost to root bridge is the designated bridge for that LAN.

 Can use timers to periodically reconfigure.  Less practical than they once were since switches are so reliable. Also backup will have been idle for a very long time and connections can go bad.  Time to execute sp tree algorithms causes timeouts  More useful if there are multiple switches in a hierarchy.