COMMUNICATION NETWORKS NETW 501

Similar documents
Data Communications. Connecting Devices

Chapter 6 Connecting Device

COMMUNICATION NETWORKS NETW 501

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

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

Virtual University of Pakistan. Describe the Hidden Node and Exposed Node problems in Standard? VUSR. [Larry L. Peterson]

Chapter 4. The Medium Access Control Sublayer

Chapter 3 Part 2 Switching and Bridging. Networking CS 3470, Section 1

CSE 461: Bridging LANs. Last Topic

Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

ECE 4450:427/527 - Computer Networks Spring 2017

ECE 333: Introduction to Communication Networks Fall 2001

ECE 158A: Lecture 13. Fall 2015

Medium Access Protocols

Computer Networks. Wenzhong Li. Nanjing University

The Medium Access Control Sublayer

Access Technologies! Fabio Martignon

Summary of MAC protocols

EECS Introduction to Computer Networking. Local Area Networks / Ethernet. Hub

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

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

LAN Overview (part 2) Interconnecting LANs - Hubs

Lecture 9: Switched Ethernet Features: STP and VLANs

3.5 CONNECTING DEVICES

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

This is a sample Lab report from ECE 461 from previous years. L A B 6

Problem Set Name the 7 OSI layers and give the corresponding functionalities for each layer.

Link layer: introduction

Medium Access Control. CSCI370 Lecture 5 Michael Hutt New York Institute of Technology

Networking Technologies and Applications

Chapter 6 Medium Access Control Protocols and Local Area Networks

Introduction to LAN Protocols

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

Introduction to LAN Protocols

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Internetworking Part 1

3. INTERCONNECTING NETWORKS WITH SWITCHES. THE SPANNING TREE PROTOCOL (STP)

Goal and Outline. Computer Networking. What Do We Need? Today s Story Lecture 3: Packet Switched Networks Peter Steenkiste

Politecnico di Milano Scuola di Ingegneria Industriale e dell Informazione. E4 Local Area Networks

Switched Ethernet Virtual LANs

Computer Networks Principles LAN - Ethernet

Network Infrastructure

CHAPTER 2 - NETWORK DEVICES

Connecting LANs. Required reading: Forouzan 17.1 to 17.1 Garcia 6.11 (intro ) CSE 3213, Fall Instructor: N. Vlajic

Lecture 9: Bridging & Switching"

Contention Protocols and Networks

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

Redes de Computadores. Medium Access Control

Chapter 4 NETWORK HARDWARE

Switched LANs A Set of Local Area Networks Interconnected by Switches

Chapter 3 Packet Switching

Bridging and Switching Basics

CSCI 466 Midterm Networks Fall 2011

Distributed Queue Dual Bus

The following steps should be used when configuring a VLAN on the EdgeXOS platform:

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

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

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

LOCAL AREA NETWORKS Q&A Topic 4: VLAN

CMPE 150 Winter 2009

Redes de Computadores (RCOMP) 2016/2017. Laboratory Class Script - PL03

Chapter 6 Local Area Networks and Media Access Control. School of Info. Sci. & Eng. Shandong Univ.

EE 122: Ethernet and

LAN interconnection. Telecommunication Networks Group

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

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

ET4254 Communications and Networking 1

Principles behind data link layer services

Full file at

Practice exercises on Ethernet switching

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

LAN PROTOCOLS. Beulah A AP/CSE

CSCI 466 Midterm Networks Fall 2011

Some portions courtesy Srini Seshan or David Wetherall

Solutions for Exercises of Lecture 5 - Bridges

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

A local area network that employs either a full mesh topology or partial mesh topology

Lecture 7. Reminder: Homework 2, Programming Project 1 due today. Homework 3, Programming Project 2 out, due Thursday next week. Questions?

ECSE-4670: Computer Communication Networks (CCN) Informal Quiz 3

Manual:Interface/Bridge - MikroTik Wiki

CN [Network Devices]

Lecture 9: Bridging. CSE 123: Computer Networks Alex C. Snoeren

CARRIER SENSE MULTIPLE ACCESS (CSMA):

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Data and Computer Communications. Chapter 11 Local Area Network

A B C D E Total / 24 / 23 / 12 / 18 / 3 / 80

Local Area Network Overview

Hubs, Bridges, and Switches (oh my) Hubs

NETWORKING COMPONENTS

Principles behind data link layer services:

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

PASS4TEST IT 인증시험덤프전문사이트

Principles behind data link layer services:

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Protocols for Multiaccess Networks

Computer Science Department 2 nd semester- Lecture13

Top-Down Network Design

Link Layer Review. CS244A Winter 2008 March 7, 2008 Ben Nham

More on LANS. LAN Wiring, Interface

Transcription:

COMMUNICATION NETWOKS NETW 501 TUTOIAL 5 Presented by: Eng. Hana Hesham Eng. Mohamed Atef

LAN Extension For Multiple Users to be connected within the same Network they may suffer from some problems such as: 1) Extension range problems: When some users are connected to other users which are far away. 2) Traffic problems: These problems can arise from one of two reasons: a) Many users exist in the same LAN b) The traffic generated per user increases Mainly LANs use andom Access MAC protocols (ALOHA CSMA, etc.) These protocols can handle a maximum level of traffic and then it saturates and the performance can degrade dramatically

LAN Extension

LAN Extension Solution LAN Extension Large Distance Station A Station B (Problem) Station C Station D Hub (epeater) Station A Station B Station C Station D

LAN Extension Solution LAN Extension Station A Station B Station C Station D Station E Station F High Traffic Load, Thus lots of collisions and low efficiency (Problem) Bridge (Switch) Station A Station B Station C Station D Station E Station F

Interconnecting LANs There are several ways of interconnecting Networks: 1) When two or more networks are interconnected in the physical layer, the device is called (epeater - Hub) (solving distance extension problem) 2) When two or more networks are interconnected in the Data Link layer, the device is called (Bridge - Switch) (solving the traffic and collision problems) 3) When two or more networks are interconnected in the Network layer, the device is called (outer) (solving higher scalability problems with higher efficiency and lower delays)

Collision Domains Station A Station B Station C Station D Station E Station F Number of Collision Domains = 1 Hub (epater) Station A Station B Station C Station D Station E Station F Number of Collision Domains = 1

Collision Domains Bridge Station A Station B Station C Station D Station E Station F Number of Collision Domains = 2 Bridge (Switch) Station A Station B Station E Station F Station C Station D Number of Collision Domains = 3

Sheet 7 Problem 1 Suppose N stations are connected to an extended Ethernet LAN, as shown below operating at rate of 10 Mbps. Given that the efficiency of the network is about 80% and the required transmission rate of each station is s =100 Kbps. Find the maximum number if stations N. epeat if a hub is used instead of bridge.

Sheet 7 Problem 1

Sheet 7 Problem 1 Hub

Transparent Bridges There are two main types of Bridges: 1) Transparent bridges 2) Source routing bridges (out of scope) The term transparent refers to the fact that the stations are completely unaware of the presence of the bridge in the network. Thus introducing the bridge to the network doesn t require the stations to be configured. Transparent Bridges has 3 basic functions: Learns where the stations are attached (Bridge Learning) Controls the forwards of frames from one LAN to another (Filtering) Prevents loops in the topology (Spanning Tree Algorithm)

Bridge Learning: Sheet 7 Problem 2 Six stations (S1-S6) are connected to an extended LAN through transparent bridges (B1 and B2), as shown in the figure below. Initially, the forwarding tables are empty.

Bridge Learning: Sheet 7 Problem 2

Bridge Learning: Sheet 7 Problem 2 1) S2 to S1 B1 B2 Station Port Station Port S2 1 S2 2

Bridge Learning: Sheet 7 Problem 2 2) S5 to S4 B1 B2 Station Port Station Port S2 1 S2 2 S5 2 S5 1

Bridge Learning: Sheet 7 Problem 2 3) S3 to S5 B1 B2 Station Port Station Port S2 1 S2 2 S5 2 S5 1 S3 2 S3 2

Bridge Learning: Sheet 7 Problem 2 4) S1 to S2 B1 B2 Station Port Station Port S2 1 S2 2 S5 2 S5 1 S3 2 S3 2 S1 1

Bridge Learning: Sheet 7 Problem 2 5) S4 to S3 B1 B2 Station Port Station Port S2 1 S2 2 S5 2 S5 1 S3 2 S3 2 S1 1 S4 2 S4 3

Bridge Learning: Sheet 7 Problem 2 6) S6 to S5 B1 B2 Station Port Station Port S2 1 S2 2 S5 2 S5 1 S3 2 S3 2 S1 1 S4 2 S4 3 S6 1

Bridge Learning: Sheet 7 Problem 2

Bridge Learning: Sheet 7 Problem 2 ii) S1 to S2 B1 Station S2 1 S5 2 S3 2 S1 1 S4 3 S1 3 Port Delete This B2 Station S2 2 S5 1 S3 2 S4 2 S6 1 Port

Bridge Loops and solution: Spanning Tree

Spanning Tree Algorithm Steps 1) Choose oot Bridge: bridge with the lowest bridge ID 2) Choose oot Ports: The other bridges ports with the least cost path (Least number of LANs) to the root bridge. If more than one have the same cost, select the minimum port number. 3) Choose Designated Bridge: For each LAN, it s the bridge that offers minimum cost (Least number of LANs) to the root bridge. If the same, select the minimum bridge ID. Designated ports connects the designated bridge to LANs For no looping, remove links that are not with oot or Destined ports!

Sheet 7 Problem 3 (Spanning Tree) Generate the spanning tree to avoid looping in the following network, given that the cost is the number of LAN s in the path to the root bridge.

Step 1: Choose the root bridge LAN 1 B5 LAN 2 B3 (3) B4 (3) LAN 3 B2 B1 oot Bridge LAN 4

Step 2: Choose the root ports LAN 1 B5 LAN 2 B3 (3) LAN 3 B4 (3) B2 B1 oot Bridge LAN 4

Step 3: Choose the Designated bridges LAN 1 B5 LAN 2 B3 (3) LAN 3 B4 (3) B2 B1 oot Bridge LAN 4

Step 4: Assign the Designated ports LAN 1 D B5 B2 LAN 2 B3 D D (3) D LAN 3 B1 oot Bridge LAN 4 B4 (3)

Step 5: emove the unused links LAN 1 D B5 B2 LAN 2 B3 D D (3) D LAN 3 B1 oot Bridge LAN 4 B4 (3)

Step 6: emove Useless Bridges D B5 B2 LAN 2 B3 D D (3) LAN 1 D LAN 3 B1 oot Bridge LAN 4 B4

Step 7: edraw the Network LAN 1 LAN 2 D (3) D B2 D D B1 B3 LAN 3 oot Bridge LAN 4