CSE 30264 Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 7 – February 2, 2010.

Slides:



Advertisements
Similar presentations
CSCI-1680 Switching Based partly on lecture notes by David Mazières, Phil Levis, John Jannotti Rodrigo Fonseca.
Advertisements

Switching and Forwarding
Spring 2003CS 4611 Switching and Forwarding Outline Store-and-Forward Switches Bridges and Extended LANs Cell Switching Segmentation and Reassembly.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Wireless LANs and Introduction to IP Slide Set 7.
1 Switching and Forwarding Bridges and Extended LANs.
1 Chapter 3 Switching and Forwarding Outline 3.1 Switching and Forwarding 3.2 Bridges and LAN Switches 3.3 Cell Switching (ATM) 3.4 Implementation and.
1 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
ECE544: Communication Networks-II, Spring 2006 D. Raychaudhuri & Max Ott Lecture II Includes teaching materials from L. Peterson.
Spring 2002CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
20 – Collision Avoidance, : Wireless and Mobile Networks6-1.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
6: Wireless and Mobile Networks6-1 Chapter 6: Wireless and Mobile Networks Background: r # wireless (mobile) phone subscribers now exceeds # wired phone.
CSE331: Introduction to Networks and Security Lecture 6 Fall 2002.
Spring 2003CS 4611 Shared Access Networks Outline Bus (Ethernet) Token ring (FDDI) Wireless (802.11)
1 Switching and Forwarding Bridges and Extended LANs.
5-1 Data Link Layer r What is Data Link Layer? r Wireless Networks m Wi-Fi (Wireless LAN) r Comparison with Ethernet.
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
6: Wireless and Mobile Networks6-1 Elements of a wireless network network infrastructure wireless hosts r laptop, PDA, IP phone r run applications r may.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
Univ. of TehranIntroduction to Computer Network1 Introduction to Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser.
Adapted from: Computer Networking, Kurose/Ross 1DT066 Distributed Information Systems Chapter 6 Wireless, WiFi and mobility.
ECE 4450:427/527 - Computer Networks Spring 2015
Wi-Fi Wireless LANs Dr. Adil Yousif. What is a Wireless LAN  A wireless local area network(LAN) is a flexible data communications system implemented.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
CS448 Computer Networking Chapter 1 Introduction to Computer Networks Instructor: Li Ma Office: NBC 126 Phone: (713)
CPS 356: Introduction to Computer Networks Lecture 7: Switching technologies Ch 2.8.2, 3.1, 3.4 Xiaowei Yang
1 Flow Identification Assume you want to guarantee some type of quality of service (minimum bandwidth, maximum end-to-end delay) to a user Before you do.
CSS432: Switching and Bridging 1 Switching and Bridging Textbook Ch3.1 and 3.4 Professor: Munehiro Fukuda.
Wireless and Mobility The term wireless is normally used to refer to any type of electrical or electronic operation which is accomplished without the use.
1 Other LANs Token Rings Wireless –Wireless LAN (802.11, WiFi) –Broadband Wireless (802.16) –Bluetooth.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
Lecture # 13 Computer Communication & Networks. Today’s Menu ↗Last Lecture Review ↗Wireless LANs ↗Introduction ↗Flavors of Wireless LANs ↗CSMA/CA Wireless.
Mozafar Bag-Mohammadi University of Ilam
1 Chapter 3 Internetworking Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
Bridges and Extended LANs
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
CS440 Computer Networks 1 Packet Switching Neil Tang 10/6/2008.
1 Shared Access Networks: Token ring, Wireless Sections 2.7 & 2.8.
1 Link Layer 3 Mozafar Bag-Mohammadi University of Ilam.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
1 Chapter 4 MAC Layer – Wireless LAN Jonathan C.L. Liu, Ph.D. Department of Computer, Information Science and Engineering (CISE), University of Florida.
1 Introduction to Computer Networks University of Ilam By: Dr. Mozafar Bag Mohammadi Packet Switching.
CS440 Computer Networks 1 Wireless LAN (IEEE ) Neil Tang 10/01/2008.
1 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
Fall, 2001CS 6401 Switching and Routing Outline Routing overview Store-and-Forward switches Virtual circuits vs. Datagram switching.
1 Packet Switching Outline Switching and Forwarding Bridges and Extended LANs.
Chapter 3 Part 1 Switching and Bridging
Chapter 3: Packet Switching (overview)
The University of Adelaide, School of Computer Science
Advanced Computer Networks
Wireless LANs Wireless proliferating rapidly.
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
Switching and Forwarding Bridges and Extended LANs
Chapter 3 Part 1 Switching and Bridging
Medium Access Control (MAC) Sub-layer
EEC-484/584 Computer Networks
Measured Capacity of an Ethernet: Myths and Reality
Bridges and Extended LANs
Switching and Forwarding
EEC-484/584 Computer Networks
Packet Switching Outline Store-and-Forward Switches
Mozafar Bag-Mohammadi University of Ilam
Bridges Neil Tang 10/10/2008 CS440 Computer Networks.
Virtual LAN (VLAN).
HWP2 – Application level query routing
Presentation transcript:

CSE Computer Networks Prof. Aaron Striegel Department of Computer Science & Engineering University of Notre Dame Lecture 7 – February 2, 2010

Today’s Lecture Project 1 –Q&A Packet Forwarding –Shared Access –Chapter 3.1 Spring 2010CSE Physical Data Network Transport Application Read Chapter 3.2 for Thursday

Project 1 Example –Client –Telnet to debug port (7000) Spring 2010CSE

Spring 2010CS Shared Access Networks Outline Bus (Ethernet) Token ring (IBM, FDDI, RPR) Wireless (802.11, WiMAX)

Spring 2010CS Wi-Fi IEEE : 2.4 GHz band, 1 Mb/s IEEE b: 2.4GHz band, 11Mb/s IEEE a: 5GHz band, 54Mb/s IEEE g: 2.4GHz band, 54Mb/s IEEE n: Dual band (2.4, 5), 270 Mb/s MIMO Block Ack

Spring 2009CS Spread Spectrum Idea –Spread signal over wider frequency band than required –Originally designed to thwart jamming Frequency Hopping –Transmit over random sequence of frequencies –Sender and receiver share… Pseudorandom number generator Seed – uses 79 x 1MHz-wide frequency bands

Spring 2009CS Spread Spectrum (cont) Direct Sequence –For each bit, send XOR of that bit and n random bits –Random sequence known to both sender and receiver –Called n-bit chipping code – defines an 11-bit chipping code

Spring 2009CS Collision Avoidance Similar to Ethernet Problem: hidden and exposed nodes

Spring 2009CS MACA Multiple Access with Collision Avoidance Sender transmits RequestToSend (RTS) frame Receiver replies with ClearToSend (CTS) frame Neighbors… –see CTS: keep quiet –see RTS but not CTS: ok to transmit Receiver sends ACK when has frame –neighbors silent until see ACK Collisions –no collision detection –known when CTS not received –exponential backoff In general, bad, bad, bad

Spring 2009CS Supporting Mobility Case 1: ad hoc networking Case 2: access points (AP) –Tethered –Each mobile node associates with an AP

Spring 2009CS Mobility (cont) Scanning (selecting an AP) –Node sends Probe frame –All AP’s w/in reach reply with ProbeResponse frame –Node selects one AP; sends it AssociateRequest frame –AP replies with AssociationResponse frame –New AP informs old AP via tethered network When –Active: when join or move –Passive: AP periodically sends Beacon frame

Spring 2009CS Up to 2312 bytes of data 32-bit CRC 4 addresses, usage depends on mode: –Addr1 is target, Addr2 is source –Addr1 is ultimate target, Addr2: immediate sender, Addr3 is intermediate target, Addr4: original source

Spring 2009CS WiMAX Worldwide Interoperability for Microwave Access Standardized by WiMAX Forum, IEEE Typical distance: 1-6miles, up to 30miles “subscriber stations” (e.g., antenna on roof) Up to 70Mbps Time Division Duplexing (TDD) Frequency Division Duplexing (FDD)

Spring 2009CS Cell Phone Technologies Uses base stations, area served called “cell” 1G: analog 2G, 2.5G (e.g., GSM): digital GPRS: General Packet Radio Service (typically 30-70Kbps) 3G: –UMTS (Universal Mobile Telecommunications System)

Spring 2009CSE Switching and Forwarding Outline Store-and-Forward Switches Bridges and Extended LANs

Scalability Shared Access –More users -> worse performance –Why -> more competition –Fairness vs. quality of access? Spring 2010CSE A B C D A  B, C  D AB CD AB CD

Spring 2010CSE Switch

Scalability Spring 2010CSE A B C D A B C D Switch allows us to logically separate the network Allows us to “connect on demand” Demand = Destination Address

Spring 2010CSE Scalable Networks Switch –Forwards packets from input port to output port –Port selected based on address in packet header Advantages –Cover large geographic area (tolerate latency) –Support large numbers of hosts (scalable bandwidth)

Spring 2010CSE Source Routing Use, rotate Pop, fwd Point, fwd

Spring 2009CSE Source Routing Output Interface Output Interface Output Interface

Spring 2009CSE Virtual Circuit Switching Set up and tear down Circuit on demand Connection-oriented model Analogy: phone call Each switch maintains a VC table Host A Host B Switch 3 Switch 2Switch

Spring 2009CSE Example Tables Circuit Table (switch 1, port 2) Forwarding Table (switch 1)

Spring 2009CSE Datagram Switching No connection setup phase Each packet forwarded independently Sometimes called connectionless model Analogy: postal system Each switch maintains a forwarding (routing) table

Spring 2009CSE Virtual Circuit Model Typically wait full RTT for connection setup before sending first data packet. While the connection request contains the full address for destination, each data packet contains only a small identifier, making the per-packet header overhead small. If a switch or a link in a connection fails, the connection is broken and a new one needs to be established. Connection setup provides an opportunity to reserve resources.

Spring 2009CSE Datagram Model There is no round trip delay waiting for connection setup; a host can send data as soon as it is ready. Source host has no way of knowing if the network is capable of delivering a packet or if the destination host is even up. Since packets are treated independently, it is possible to route around link and node failures. Since every packet must carry the full address of the destination, the overhead per packet is higher than for the connection-oriented model.

Spring 2009CSE Bridges and Extended LANs LANs have physical limitations (e.g., 2500m) Connect two or more LANs with a bridge –accept and forward strategy –level 2 connection (does not add packet header) Ethernet Switch = Bridge on Steroids

Spring 2009CSE Learning Bridges Do not forward when unnecessary Maintain forwarding table HostPort A1 B1 C1 X2 Y2 Z2 Learn table entries based on source address Table is an optimization; need not be complete Always forward broadcast frames

Spring 2009CSE Spanning Tree Algorithm Problem: loops Bridges run a distributed spanning tree algorithm –Select which bridges actively forward –Developed by Radia Perlman –Now IEEE specification

Spring 2009CSE Algorithm Overview Each bridge has unique id (e.g., B1, B2, B3) Select bridge with smallest id as root Select bridge on each LAN closest to root as designated bridge (use id to break ties) Each bridge forwards frames over each LAN for which it is the designated bridge

Spring 2009CSE Algorithm Details Bridges exchange configuration messages –id for bridge sending the message –id for what the sending bridge believes to be root bridge –distance (hops) from sending bridge to root bridge Each bridge records current best configuration message for each port Initially, each bridge believes it is the root

Spring 2009CSE Algorithm Detail (cont) When learn not root, stop generating config messages –in steady state, only root generates configuration messages When learn not designated bridge, stop forwarding config messages –in steady state, only designated bridges forward config messages Root continues to periodically send config messages If any bridge does not receive config message after a period of time, it starts generating config messages claiming to be the root

Spring 2009CSE Configuration

Spring 2009CSE Broadcast and Multicast Forward all broadcast/multicast frames –Current practice Learn when no group members downstream Accomplished by having each member of group G send a frame to bridge multicast address with G in source field

Spring 2009CSE Limitations of Bridges Do not scale –Spanning tree algorithm does not scale –Broadcast does not scale Do not accommodate heterogeneity Caution: beware of transparency