CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 24 Introduction to Computer Networks.

Slides:



Advertisements
Similar presentations
The Network Layer Chapter 5. Network Layer Design Issues Store-and-Forward Packet Switching Services Provided to the Transport Layer Implementation of.
Advertisements

TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
COS 461 Fall 1997 Routing COS 461 Fall 1997 Typical Structure.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Network Layer – IPv4 Dr. Sanjay P. Ahuja, Ph.D.
1 Quality of Service Requirements Techniques for Achieving Good Quality of Service Integrated Services Differentiated Services Label Switching and MPLS.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Two Types of Fragmentation
Network Layer Packet Forwarding IS250 Spring 2010
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
The Network Layer Chapter 5. The IP Protocol The IPv4 (Internet Protocol) header.
Chapter 5 The Network Layer.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Spring 2003 Week 6 Introduction to Networks and the Internet.
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 23 Introduction to Computer Networks.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 15 Introduction to Networks and the Internet.
CMPE Introduction to Computer Networks
EEC-484/584 Computer Networks Lecture 10 Wenbing Zhao (Part of the slides are based on Drs. Kurose & Ross ’ s slides for their Computer.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 18 Introduction to Networks and the Internet.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
IP Addressing & Classes
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
思科网络技术学院理事会. 1 OSI Network Layer Network Fundamentals – Chapter 5.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
1 CSE3213 Computer Network I Network Layer (7.1, 7.3, ) Course page: Slides modified from Alberto Leon-Garcia.
Interior Gateway Protocol. Introduction An IGP (Interior Gateway Protocol) is a protocol for exchanging routing information between gateways (hosts with.
Internetworking and Network Layer in Internet Lecture Tunneling, Internetwork Routing 2.Fragmentation 3.IP-Protocol 4.IP-Address Classes(A,B,C,D,E),
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
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.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Network Layer Lecture 15 Imran Ahmed University of Management & Technology.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 21.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Network Layer4-1 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection RIP, OSPF, BGP IP protocol.
Transport Layer3-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
Network Layer4-1 Datagram networks r no call setup at network layer r routers: no state about end-to-end connections m no network-level concept of “connection”
S305 – Network Infrastructure Chapter 5 Network and Transport Layers.
1 Addressing, Internetworking. 2 Collection of Subnetworks The Internet is an interconnected collection of many networks.
The Internet Network layer
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Assignment 1  Chapter 1:  Question 11  Question 13  Question 14  Question 33  Question 34  Chapter 2:  Question 6  Question 39  Chapter 3: 
Introduction to Networks
IP Fragmentation. MTU Maximum Transmission Unit (MTU) –Largest IP packet a network will accept –Arriving IP packet may be larger IP Packet MTU.
Chapter 5 Network and Transport Layers
Chapter 5 Network and Transport Layers
Net 323: NETWORK Protocols
CS 457 – Lecture 10 Internetworking and IP
IP - The Internet Protocol
Internetworking Outline Best Effort Service Model
Chapter 20 Network Layer: Internet Protocol
Network Layer 2019/1/13.
Net 323 D: Networks Protocols
IP - The Internet Protocol
Introduction to Networks
Network Fundamentals – Chapter 5
Data Communication and Computer Networks
IP - The Internet Protocol
Presentation transcript:

CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 24 Introduction to Computer Networks

CMPE 150- Introduction to Computer Networks 2 Announcements Homework 4 due on Wed., No class on Friday, We will have a “real” lab this week. –Routing with RIP. –Print lab description before going to your lab session. Midterm statistics: –Average: –Std. deviation: 18.21

CMPE 150- Introduction to Computer Networks 3 Last Class… Finished routing. Internetworking. –Interconnecting networks. –Heterogeneity. –Different approaches to internetworking. –Translating versus gluing. –Tunneling.

CMPE 150- Introduction to Computer Networks 4 Today Internetworking (cont’d). IP.

CMPE 150- Introduction to Computer Networks 5 Internetworking

CMPE 150- Introduction to Computer Networks 6 Internetwork Routing Inherently hierarchical. –Routing within each network: interior gateway protocol (IGP). –Routing between networks: exterior gateway protocol (EGP). Within each network, different routing algorithms can be used. Each network is autonomously managed and independent of others: autonomous system (AS).

CMPE 150- Introduction to Computer Networks 7 Internetwork Routing: Example (a) An internetwork. (b) A graph of the internetwork.

CMPE 150- Introduction to Computer Networks 8 Internetwork Routing (Cont’d) Typically, packet starts in its LAN. Gateway receives it (broadcast on LAN to “unknown” destination). Gateway sends packet to gateway on the destination network using its routing table. If it can use the packet’s native protocol, sends packet directly. Otherwise, tunnels it.

CMPE 150- Introduction to Computer Networks 9 Fragmentation Happens when internetworking. Network-specific maximum packet size. –Width of TDM slot. –OS buffer limitations. –Protocol (number of bits in packet length field). Maximum payloads range from 48 bytes (ATM cells) to 64Kbytes (IP packets).

CMPE 150- Introduction to Computer Networks 10 Problem What happens when large packet wants to travel through network with smaller maximum packet size? Fragmentation. Gateways break packets into fragments; each sent as separate packet. Gateway on the other side have to reassemble fragments into original packet. 2 kinds of fragmentation: transparent and non-transparent.

CMPE 150- Introduction to Computer Networks 11 Types of Fragmentation (a) Transparent fragmentation. (b) Nontransparent fragmentation. Transparent Fragmentation Non-Transparent Fragmentation

CMPE 150- Introduction to Computer Networks 12 Transparent Fragmentation Small-packet network transparent to other subsequent networks. Fragments of a packet addressed to the same exit gateway, where packet is reassembled. –OK for concatenated VC internetworking. Subsequent networks are not aware fragmentation occurred. ATM networks (through special hardware) provide transparent fragmentation.

CMPE 150- Introduction to Computer Networks 13 Problems with Transparent Fragmentation Exit gateway must know when it received all the pieces. –Fragment counter or “end of packet” bit. Some performance penalty but requiring all fragments to go through same gateway. May have to repeatedly fragment and reassemble through series of small-packet networks.

CMPE 150- Introduction to Computer Networks 14 Non-Transparent Fragmentation Only reassemble at destination host. –Each fragment becomes a separate packet. –Thus routed independently. Problems: –Hosts must reassemble. –Every fragment must carry header until it reaches destination host.

CMPE 150- Introduction to Computer Networks 15 Keeping Track of Fragments Fragments must be numbered so that original data stream can be reconstructed. Tree-structured numbering scheme: –Packet 0 generates fragments 0.0, 0.1, 0.2, … –If these fragments need to be fragmented later on, then 0.0.0, 0.0.1, …, 0.1.0, 0.1.1, … –But, too much overhead in terms of number of fields needed. –Also, if fragments are lost, retransmissions can take alternate routes and get fragmented differently.

CMPE 150- Introduction to Computer Networks 16 Keeping Track of Fragments (Cont’d) Another way is to define elementary fragment size that can pass through every network. When packet fragmented, all pieces equal to elementary fragment size, except last one (may be smaller). Packet may contain several fragments.

CMPE 150- Introduction to Computer Networks 17 Keeping Track of Fragments Header contains packet number, number of first fragment in the packet, and last-fragment bit A B C D E F G H I J A B C D E F G H I J Packet number Number of first fragment Last-fragment bit (a) Original packet with 10 data bytes. (b) Fragments after passing through network with maximum packet size = 8 bytes. 1 byte

CMPE 150- Introduction to Computer Networks 18 The Internet

CMPE 150- Introduction to Computer Networks 19 Design Principles for Internet Keep it simple. Exploit modularity. Expect heterogeneity. Think robustness. Avoid static options and parameters. Think about scalability. Consider performance and cost.

CMPE 150- Introduction to Computer Networks 20 Internet as Collection of Subnetworks

CMPE 150- Introduction to Computer Networks 21 IP (Internet Protocol) Glues Internet together. Common network-layer protocol spoken by all Internet participating networks. Best effort datagram service: –No reliability guarantees. –No ordering guarantees.

CMPE 150- Introduction to Computer Networks 22 IP Transport layer breaks data streams into datagrams; fragments transmitted over Internet, possibly being fragmented. When all packet fragments arrive at destination, reassembled by network layer and delivered to transport layer at destination host.

CMPE 150- Introduction to Computer Networks 23 IP Versions IPv4: IP version 4. –Current, predominant version. –32-bit long addresses. IPv6: IP version 6 (aka, IPng). –Evolution of IPv4. –Longer addresses (16-byte long).

CMPE 150- Introduction to Computer Networks 24 IP Datagram Format IP datagram consists of header and data (or payload). Header: –20-byte fixed (mandatory) part. –Variable length optional part.

CMPE 150- Introduction to Computer Networks 25 The IP v4 Header

CMPE 150- Introduction to Computer Networks 26 IP Options 5-54

CMPE 150- Introduction to Computer Networks 27 IP Addresses IP address formats.

CMPE 150- Introduction to Computer Networks 28 IP Addresses (Cont’d) Class A: 128 networks with 16M hosts each. Class B: 16,384 networks with 64K hosts each. Class C: 2M networks with 256 hosts each. More than 500K networks connected to the Internet. Network numbers centrally administered by ICANN.

CMPE 150- Introduction to Computer Networks 29 IP Addresses (Cont’d) Special IP addresses.

CMPE 150- Introduction to Computer Networks 30 Scalability of IP Addresses Problem: a single A, B, or C address refers to a single network. As organizations grow, what happens?

CMPE 150- Introduction to Computer Networks 31 Example: A Campus Network

CMPE 150- Introduction to Computer Networks 32 Solution Subnetting: divide the organization’s address space into multiple “subnets”. How? Use part of the host number bits as the “subnet number”. Example: Consider a university with 35 departments. –With a class B IP address, use 6-bit subnet number and 10-bit host number. –This allows for up to 64 subnets each with 1024 hosts.

CMPE 150- Introduction to Computer Networks 33 Subnets A class B network subnetted into 64 subnets.

CMPE 150- Introduction to Computer Networks 34 Subnet Mask Indicates the split between network and subnet number + host number. Subnet Mask: or /22 (network + subnet part)

CMPE 150- Introduction to Computer Networks 35 Subnetting: Observations Subnets are not visible to the outside world. Thus, subnetting (and how) is a decision made by local network admin.

CMPE 150- Introduction to Computer Networks 36 Subnet: Example Subnet 1: | – Subnet 2: | – Subnet 3: | –