3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February 2016 1.

Slides:



Advertisements
Similar presentations
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Advertisements

IP Forwarding Relates to Lab 3.
Internetworking II: MPLS, Security, and Traffic Engineering
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
© Jörg Liebeherr ECE 1545 Packet-Switched Networks.
1 Switching and Forwarding Bridges and Extended LANs.
4-1 Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving side, delivers.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 Introduction to Networks and the Internet.
1 ELEN Lecture 13 LAN Bridges Routers, Switches, Gateways Network layer -IP Reading: 6.7,
CSE331: Introduction to Networks and Security Lecture 6 Fall 2002.
1 Switching and Forwarding Bridges and Extended LANs.
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.
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
Network Devices By Scott Burden & Linnea Wong Hubs Intelligent hubs have console ports, to allow monitoring of the hubs status and port activity. Passive.
CECS 474 Computer Network Interoperability Tracy Bradley Maples, Ph.D. Computer Engineering & Computer Science Cal ifornia State University, Long Beach.
11 CS716 Advanced Computer Networks By Dr. Amir Qayyum.
29-Aug-154/598N: Computer Networks Switching and Forwarding Outline –Store-and-Forward Switches.
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Common Devices Used In Computer Networks
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Virtual Circuit Network. Network Layer 2 Network layer r transport segment from sending to receiving host r network layer protocols in every host, router.
ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 6.1: Internetworking Dr. Nghi Tran.
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.
Fundamentals of Computer Networks ECE 478/578 Lecture #12: Packet Switching Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
Chapter 14 Connection-Oriented Networking and ATM
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Hierarchies Ethernet Switches Must be Arranged in a Hierarchy –Root is the top-level Ethernet Switch Root.
Computer Networks. Internetworking Devices Network Interface Card (NIC) Repeaters HUB Bridge Switch Router.
Forwarding.
1 Chapter 3 Internetworking Computer Networks: A Systems Approach, 5e Larry L. Peterson and Bruce S. Davie Copyright © 2010, Elsevier Inc. All rights Reserved.
CS440 Computer Networks 1 Packet Switching Neil Tang 10/6/2008.
1 Chapter 3: Packet Switching (Switched LANs) Dr. Rocky K. C. Chang 23 February 2004.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
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
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Chapter 3 Part 3 Switching and Bridging
Advanced Computer Networks
Chapter 3: Packet Switching (overview)
COMPUTER NETWORKS CS610 Lecture-15 Hammad Khalid Khan.
Network Layer, and Logical Addresses
Chapter 4 Introduction to Network Layer
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
3. Internetworking (part 1)
Packet Switching Outline Store-and-Forward Switches
3. Internetworking (part 2: switched LANs)
IP Forwarding Covers the principles of end-to-end datagram delivery in IP networks.
Switching and Forwarding Bridges and Extended LANs
CS4470 Computer Networking Protocols
Introduction to Networking
SWITCHING Switched Network Circuit-Switched Network Datagram Networks
Chapter 3 Part 3 Switching and Bridging
IP Forwarding Relates to Lab 3.
Chapter 4 Introduction to Network Layer
Network Core and QoS.
Packet Switch Architectures
Dr. Rocky K. C. Chang 23 February 2004
Network Layer I have learned from life no matter how far you go
EE 122: Lecture 7 Ion Stoica September 18, 2001.
Chapter 3 Part 3 Switching and Bridging
Packet Switching Outline Store-and-Forward Switches
Networking and Network Protocols (Part2)
IP Forwarding Relates to Lab 3.
Virtual LAN (VLAN).
Packet Switch Architectures
Network Core and QoS.
Presentation transcript:

3. INTERNETWORKING (PART 1) Rocky K. C. Chang Department of Computing The Hong Kong Polytechnic University 18 February

2 1. The problem statement How do two hosts that are not directly connected communicate with each other? Some “intelligent” packet forwarding (or switching) engines have to be in place between the two hosts. Part 2 and part 3: Part 2 handles the problem on connected networks of the same or very similar type, e.g., both hosts on a switched Ethernet LAN (or ATM). Part 3 handles the problem on connected heterogeneous networks, e.g., one host on an ATM network and the other on an Ethernet LAN.

3 1. The problem statement Switch 3 Host B Switch 2 Host A Switch 1 Host C Host D Host E Host F Host G Host H

4 2. The problem statement Layer-two or layer-three switches Switching based on the layer-two or layer-three information (headers). The switches between a source and a destination “work together” to deliver packets between them. Approaches to switching packets: Packet switching (a pure connectionless approach), e.g., switched LANs and IP. Virtual circuit (or cell) switching (need connection setup), e.g. ATM.

5 3. Switching and forwarding A switch is a multi-input, multi-output device, which transfers packets from an input to one or more outputs. LAN (layer-two) switches, e.g., switched Ethernet, switched token- ring, switched FDDI, ATM switches, and routers (layer-three switches). In addition to switches, need network protocols for switches to make forwarding decisions.

6 3.1 Packet switching Packet switching refers to a pure connectionless approach. Each packet (header) contains enough information for the routers to make forwarding decisions. When a packet is received, the switch attempts to match it with an entry in its forwarding table. Each entry in the forwarding table mainly consists of destination address, and the interface (or port) where this packet should be forwarded to.

7 3.1 Packet switching Switch 3 Host B Switch 2 Host A Switch 1 Host C Host D Host E Host F Host G Host H

Properties of packet switching Forwarding decision is made packet by packet, even when several packets belonging to the same “stream.” Each packet should contain sufficient information for forwarding purposes. No connection set-up is required before sending packets. The design for the source is very simple. The intelligence lies with the switches. Intermediate switches do not keep any “states” about a certain “connection.”

Routing problem in packet switching Routing problem: How do the switches construct their forwarding tables? For example, Ethernet LAN switches are required to “remember” the frames they saw and to run a spanning tree protocol among themselves. IP routers are required to run a distributed routing protocol among themselves. The forwarding tables are sometimes are called routing tables.

Virtual circuit switching Before sending packets, a source needs to set-up a “connection” to the destination. States about the connection are stored in the switches on the path between the source and destination. An explicit connection set-up and an explicit connection tear-down are required. Unlike the circuit switching, packets from different connections are statistically multiplexed on a link. Need identifiers (Virtual Circuit Identifier, VCI) to distinguish them.

Virtual circuit switching An entry in the forwarding table usually consists of The VCI of an incoming packet, The interface from where the packet is received, The interface where the packet should be forwarded to, and The VCI for the outgoing packet. On a given link, packets belonging to a certain connection should be uniquely identified by a VCI.

Virtual circuit switching Switch 3 Host B Switch 2 Host A Switch 1

Routing problem in V. C. switching Two types of virtual circuits: Permanent Virtual Circuits (PVCs): A long-lived VC, usually pre- configured by administrators. Switched Virtual Circuits (SVCs): An on-demand VC, set-up by a source through signalling. Routing problem: How do the switches know how to forward a “connection set-up” message to the destination? The switches also need to run a distributed routing protocol for this purpose, e.g., P-NNI in ATM.

Properties of virtual circuit switching A source needs to wait for at least one RTT before sending packets. Same as the packet switching, virtual circuit switching also needs a routing protocol for the connection setup. Unlike the destination address for packet switching, the VCI has only local significance. The length of a VCI usually is a lot smaller than that of a complete destination address. A new connection needs to be set up in midst of link/node failures.