1 Introduction to Network Layer Lesson 09 NETS2150/2850 School of Information Technologies.

Slides:



Advertisements
Similar presentations
CSE 413: Computer Networks
Advertisements

Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Module 3.4: Switching Circuit Switching Packet Switching K. Salah.
ECEN “Mobile Wireless Networking”
Semester Copyright USM EEE442 Computer Networks The Data Link / Network Layer Functions: Switching En. Mohd Nazri Mahmud MPhil (Cambridge, UK)
EE 4272Spring, 2003 Chapter 10 Packet Switching Packet Switching Principles  Switching Techniques  Packet Size  Comparison of Circuit Switching & Packet.
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.
Data Communications Packet Switching.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
William Stallings Data and Computer Communications 7th Edition
Telecommunication Technologies
Network Layer4-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross Addison-Wesley,
1 Computer Networks Switching Technologies. 2 Switched Network Long distance transmission typically done over a network of switched nodes End devices.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.5 Routing algorithms m Link state m Distance.
Switching Techniques Student: Blidaru Catalina Elena.
Data Communications and Networking
Network Layer Goals: understand principles behind network layer services: –routing (path selection) –dealing with scale –how a router works –advanced topics:
Communication Networks
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Introduction to Network Layer. Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using bridges? –No!
Chapter 2 – X.25, Frame Relay & ATM. Switched Network Stations are not connected together necessarily by a single link Stations are typically far apart.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 18 Omar Meqdadi Department of Computer Science and Software Engineering University.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
Introduction 1-1 EKT355/4 ADVANCED COMPUTER NETWORK MISS HASNAH AHMAD School of Computer & Communication Engineering.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Data and Computer Communications Chapter 10 – Circuit Switching and Packet Switching (Wide Area Networks)
TELE202 Lecture 5 Packet switching in WAN 1 Lecturer Dr Z. Huang Overview ¥Last Lectures »C programming »Source: ¥This Lecture »Packet switching in Wide.
Sami Al-wakeel 1 Data Transmission and Computer Networks The Switching Networks.
Switching Techniques Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
Switching breaks up large collision domains into smaller ones Collision domain is a network segment with two or more devices sharing the same Introduction.
 Circuit Switching  Packet Switching  Message Switching WCB/McGraw-Hill  The McGraw-Hill Companies, Inc., 1998.
Data and Computer Communications Circuit Switching and Packet Switching.
333: DISCUSS THE FUNDAMENTALS OF NETWORKING.  1. Discuss networking concepts (20 hrs)  2. Discuss hardware & software requirement to setup a Local Area.
Computer Networks with Internet Technology William Stallings
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
4: Network Layer4-1 Schedule Today: r Finish Ch3 r Collect 1 st Project r See projects run r Start Ch4 Soon: r HW5 due Monday r Last chance for Qs r First.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CSCI 465 D ata Communications and Networks Lecture 14 Martin van Bommel CSCI 465 Data Communications & Networks 1.
Packet switching network Data is divided into packets. Transfer of information as payload in data packets Packets undergo random delays & possible loss.
EEC4113 Data Communication & Multimedia System Chapter 7: Network Layer by Muhazam Mustapha, October 2011.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
Forwarding.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
Network Layer4-1 Chapter 4 Network Layer All material copyright J.F Kurose and K.W. Ross, All Rights Reserved Computer Networking: A Top Down.
Computer Communication & Networks Lecture # 03 Circuit Switching, Packet Switching Nadeem Majeed Choudhary
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Data Communication Networks Lec 13 and 14. Network Core- Packet Switching.
@Yuan Xue A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their.
Data and Computer Communications 8 th and 9 th Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching.
Data and Computer Communications Chapter 7 Circuit Switching and Packet Switching.
Data and Computer Communications Eighth Edition by William Stallings Lecture slides by Lawrie Brown Chapter 10 – Circuit Switching and Packet Switching.
Data and Computer Communications Ninth Edition by William Stallings Chapter 10 – Circuit Switching and Packet Switching Data and Computer Communications,
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Muhammad Waseem Iqbal Lecture # 20 Data Communication.
INTRODUCTION NETWORKING CONCEPTS AND ADMINISTRATION CSIS 3723
Data Communication and Networks
Packet Switching Datagram Approach Virtual Circuit Approach
Network Layer Goals: Overview:
CS4470 Computer Networking Protocols
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Chapter 4-1 Network layer
Chapter 20 Network Layer: Internet Protocol
Data Communication Networks
Network Layer I have learned from life no matter how far you go
Switching Techniques.
Presentation transcript:

1 Introduction to Network Layer Lesson 09 NETS2150/ School of Information Technologies

2 Lesson Outline Switching is an effective way of sharing network resources Circuit switching Packet Switching

3 Position of network layer McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

4 Network Layer in an Internetwork McGraw-Hill © The McGraw-Hill Companies, Inc., 2004 Link 1 Link 2Link 3

5 Network layer functions transport packet from sending to receiving hosts network layer protocols in every host, router three important functions: path determination: route taken by packets from source to dest. Routing algorithms forwarding: move packets from router ’ s input to appropriate router output call setup: some network architectures require router call setup along path before data flows network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical application transport network data link physical

6 Switching in Wide Area Switched Networks McGraw-Hill © The McGraw-Hill Companies, Inc., 2004

7 Switching Networks Long distance transmission is typically done over a network of switched nodes not through dedicated mesh lines Nodes not concerned with content of data Data routed by being switched from node to node

8 Switching Nodes Switching nodes may connect to other nodes only, or to end systems and other nodes Some redundant connections are desirable for reliability Two different switching technologies: Circuit switching Packet switching

9 An Example Network

10 Circuit Switching Developed for voice traffic Provides dedicated communication path between two stations Connected sequence of links Resources reserved for exclusive use Done at the physical layer Transparent connection Three phases in communication Establish Transfer Disconnect

11 Circuit Switching (2) Connection setup takes time Once connected, transfer is transparent Developed for voice traffic (phone)

12 Public Circuit Switched Network Twisted-pair (subscriber line) Subscribers, subs. Line, exchanges, and trunks Multiple voice frequency circuits

13 Circuit Establishment Local call Long-distance call Line c + one channel on the trunk to the ex

14 Circuit switching Disadvantages Circuit switching designed for voice Resources dedicated to a particular call Much of the time a data connection is idle, unused capacity is wasted Data rate is fixed Both ends must operate at the same rate Solution: Packet Switching

15 Packet Switching Principles Developed for bursty data traffic Data transmitted in small packets Typically 1000 octets Longer messages split into series of packets Each packet contains a portion of user data plus some control info (header) Control info Routing (addressing) info Packets are received, stored briefly (buffered) and passed on to the next node Store and forward Not concerned with the content of the data

16 The use of packets

17 A packet ’ s trip from Src to Dest Source Destination

18 Packet Switching … Source and Dest. layer 2 addresses Source and Dest. IP addresses Routing table

19 Advantages Line efficiency Single node to node link can be shared by many packets over time Packets queued and transmitted Data rate conversion Each end system connects to the local node at its own speed Nodes buffer data if required to equalize rates Packets are accepted even when network is busy (as opposed to call dropping) Delivery may slow down Priorities can be used Based on the priority, some packets can experience less delay

20 Packet Switching Technique End system breaks a long message into packets Packets sent one at a time to the network Packets handled in two modes: Datagram  used in today ’ s Internet Virtual circuit  used in ATM, frame-relay, X.25

21 Datagram Mode: the Internet model No call setup at network layer Each packet treated independently No reference to packets handled before from the same message no network-level concept of “ connection ” Packets can take any practical route Packets may arrive out of order Packets may go missing: Best-effort service! Up to receiver to re-order packets and recover from missing packets

22 Datagram Mode Illustration Packets for same destination may not follow the same route May arrive out of sequence Exit node or the destination does the re-ordering Exit node Pkt re-ordered

23 Virtual Circuit Mode Preplanned route established before any packets sent Call request and clear packets to establish and drop circuit (handshake) Each packet contains a virtual circuit identifier instead of destination address Every router on source-dest path maintains “ state ” for each passing virtual circuit (VC) No routing decisions required for each packet transport-layer connection only involved two end systems link, router resources (bandwidth, buffers) may be allocated to VC to get circuit-like performance. Non-dedicated path

24 Virtual circuits: signaling protocols used to setup, maintain teardown VC used in ATM, frame-relay, X.25 not used in today ’ s Internet application transport network data link physical application transport network data link physical 1. Initiate call 2. incoming call 3. Accept call4. Call connected 5. Data flow begins 6. Receive data

25 Virtual Circuit Diagram

26 Packet Size Packet size and transmission time Breaking a message into smaller packets Transmission time drops Too many smaller packets is not good either! Processing and queuing delays increase when there are more packets to handle, for a single message

27 Packet Size & Transmission time … Total tx time: 43*3=129 octet-times 92 octet- times 77 octet-times 84 octet-times! More and smaller packets mean more of the headers, increasing the octet-time

28 Virtual Circuits vs Datagram Virtual circuits Network can provide sequencing and error control Packets are forwarded more quickly No routing decisions to make Less reliable Loss of a node looses all circuits through that node Datagram No call setup phase Better if few packets More flexible Routing can be used to avoid congested parts of the network

29 Datagram or VC network: why? Internet data exchange among computers “ elastic ” service, no strict timing req. “ smart ” end systems (computers) can adapt, perform control, error recovery simple inside network, complexity at “ edge ” many link types different characteristics uniform service difficult ATM evolved from telephony human conversation: strict timing, reliability requirements need for guaranteed service “ dumb ” end systems telephones complexity inside network

30 Circuit v Packet Switching Performance comparison involves: Propagation delay Transmission time Node processing delay Constant factors Variable factor

31 Event Timing Sequence Node delay Single block Packetised data

32 Network layer functions transport packet from sending to receiving hosts network layer protocols in every host, router three important functions: path determination: route taken by packets from source to dest. Routing algorithms forwarding: move packets from router ’ s input to appropriate router output call setup: some network architectures require router call setup along path before data flows network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical network data link physical application transport network data link physical application transport network data link physical

33 Required Reading Circuit Switching Packet Switching Virtual circuit Datagram Read Stallings 10.1,10.2, and 10.6 Next: Routing