Chapter Motivation For Internetworking

Similar documents
PART X. Internetworking Part 1. (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution)

IP Address Assignment

Motivation For Networking. Information access Interaction among cooperative application programs Resource sharing

Internet Protocol (IP)

Kent State University

TCP/IP and the OSI Model

Internet Protocol Addressing and Routing. Redes TCP/IP

The Interconnection Structure of. The Internet. EECC694 - Shaaban

Part 4: Internetworking Using TCP/IP

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061. Lecture 2. Internetworking IPv4, IPv6

Linux System Administration

Introduction. IP Datagrams. Internet Service Paradigm. Routers and Routing Tables. Datagram Forwarding. Example Internet and Conceptual Routing Table

PART IV. Internetworking Using TCP/IP

Internet Protocols (chapter 18)

IP: Addressing, ARP, Routing

SEN366 (SEN374) (Introduction to) Computer Networks

IP Addressing and Subnetting

NETWORK LAYER: IP Addressing

The Internet Protocol. IP Addresses Address Resolution Protocol: IP datagram format and forwarding: IP fragmentation and reassembly

EITF25 Internet Techniques and Applications L7: Internet. Stefan Höst

McGraw-Hill The McGraw-Hill Companies, Inc., 2000

ET4254 Communications and Networking 1

Network Layer PREPARED BY AHMED ABDEL-RAOUF

Basics of communication. Grundlagen der Rechnernetze Introduction 31

OSI Network Layer. Chapter 5

INTERNET SYSTEM. Internet Protocol. Kent State University Dept. of Computer Science. CS 4/55231 Internet Engineering. Large Scale Networking

Vorlesung Kommunikationsnetze

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

DATA COMMUNICATION AND NETWORKS

Lecture 3. The Network Layer (cont d) Network Layer 1-1

Network+ Guide to Networks

Guide to Networking Essentials, 6 th Edition. Chapter 5: Network Protocols

COMP/ELEC 429/556 Introduction to Computer Networks

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

TCP/IP Protocol Suite and IP Addressing

Copyright 2011 Sakun Sharma

Network+ Guide to Networks 5 th Edition. Chapter 10 In-Depth TCP/IP Networking

1. IPv6 is the latest version of the TCP/IP protocol. What are some of the important IPv6 requirements?

Lecture 8 Network Layer: Logical addressing

5. Classless and Subnet Address Extensions 최양희서울대학교컴퓨터공학부

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

Lecture 8. Network Layer (cont d) Network Layer 1-1

CCNA Exploration Network Fundamentals. Chapter 06 Addressing the Network IPv4

ARP, IP. Chong-Kwon Kim. Each station (or network interface) should be uniquely identified Use 6 byte long address

IP - The Internet Protocol. Based on the slides of Dr. Jorg Liebeherr, University of Virginia

Integrated Services. Integrated Services. RSVP Resource reservation Protocol. Expedited Forwarding. Assured Forwarding.

Chapter 3 - Implement an IP Addressing Scheme and IP Services to Meet Network Requirements for a Small Branch Office

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

CS-461 Internetworking. Dr. Mohamed Aboutabl

CH. 3 IP FORWARDING AND ROUTING

Introduction to Internetworking

Chapter 06 IP Address

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Network Layer: Internet Protocol

IT220 Network Standards & Protocols. Unit 8: Chapter 8 The Internet Protocol (IP)

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

CS610 Computer Network Final Term Papers Solved MCQs with reference by Virtualians Social Network

Significance of TCP/IP Model Divya Shree Assistant Professor (Resource Person), Department of computer science and engineering, UIET, MDU, Rohtak

TSIN02 - Internetworking

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

OSI Data Link & Network Layer

Router Architecture Overview

Internetwork Protocols

IP - The Internet Protocol

The Internet. The Internet is an interconnected collection of netw orks.

Position of IP and other network-layer protocols in TCP/IP protocol suite

COSC 6377 Mid-Term #2 Fall 2000

CS 457 Networking and the Internet. Problems. Mechanisms 9/21/16. Fall 2016 Indrajit Ray

INTERNETWORKING: CONCEPTS, ARCHITECTURE AND PROTOCOL

Internet Addresses (You should read Chapter 4 in Forouzan)

Prof. Shervin Shirmohammadi SITE, University of Ottawa. Internet Protocol (IP) Lecture 2: Prof. Shervin Shirmohammadi CEG

Chapter 8 ARP(Address Resolution Protocol) Kyung Hee University

Network Protocols - Revision


Network Layer/IP Protocols

UDP: Datagram Transport Service

Chapter 2 - Part 1. The TCP/IP Protocol: The Language of the Internet

Chapter 18. Introduction to Network Layer

Chapter 4: Network Layer

End-to-End Communication

Chapter 7. Local Area Network Communications Protocols

OSI Data Link & Network Layer

Lecture (03) Internet Protocol tcp/ip> OSI>

Revision of Previous Lectures

Computer Network Fundamentals Spring Week 4 Network Layer Andreas Terzis

PUCPR. Internet Protocol. Edgard Jamhour E N G L I S H S E M E S T E R

CS 5520/ECE 5590NA: Network Architecture I Spring Lecture 10: IP Routing and Addressing Extensions

1/18/13. Network+ Guide to Networks 5 th Edition. Objectives. Chapter 10 In-Depth TCP/IP Networking

Module 7: Configuring and Supporting TCP/IP

ES623 Networked Embedded Systems

INTRODUCTORY INFORMATION TECHNOLOGY COMMUNICATING OVER NETWORKS. Faramarz Hendessi

ELEC / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

EEC-484/584 Computer Networks

Internetworking Part 2

ECE 158A: Lecture 7. Fall 2015

1 Connectionless Routing

OSI Data Link & Network Layer

Subnet Design and IP Addressing

Transcription:

Chapter 17-20 Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution 1 Motivation For Internetworking LANs Low cost Limited distance WANs High cost Unlimited distance 2

Heterogeneity is Inevitable No single networking technology is best for all needs 3 Universal Service Fundamental concept in networking Pioneered by telephone system Arbitrary pairs of computers can communicate Desirable Difficult in a heterogeneous world 4

Heterogeneity and Universal Service Incompatibilities among networks Electrical properties Signaling and data encoding Packet formats Addresses 5 The Bottom Line Although universal service is highly desirable, incompatibilities among network hardware and physical addressing prevent an organization from building a bridged network that includes arbitrary technologies 6

An Internetwork Begin with heterogeneous network technologies Connect the physical networks Create software to make resulting system appear homogeneous Called an internetwork or internet 7 Connecting Heterogeneous Networks Computer system used Special-purpose Dedicated Works with LAN or WAN technologies Known as Internet router Internet gateway 8

Illustration of an Internet Router Cloud denotes arbitrary network technology One interface per network 9 Important Idea A router can interconnect networks that use different technologies, including different media and media access techniques, physical addressing schemes, or frame formats 10

Internet Architecture Multiple Networks Routers interconnecting networks Host computer connects to a network Single router has insufficient CPU power and memory I/O capability 11 Internetworking Goal: communication system Seamless Uniform General-purpose Universal Hides heterogeneity from user 12

The Internet Concept 13 To Hide Heterogeneity Create virtual network Invent Addressing scheme Naming scheme Implement with Protocol software Note: protocol software needed on both hosts and routers 14

Known as TCP / IP Internet Protocols Many protocols comprise suite Designed to work together Divided into five conceptual layers 15 Layering Used with TCP/IP Note: TCP/IP layering often used today.the ISO model still used as reference and for some specific high level tasks. 16

TCP/IP Layers Layer 1: Physical Basic network hardware Layer 2: Network interface MAC frame format MAC addressing Interface between computer and network (NIC) Layer 3: Internet Facilities to send packets across internet composed of multiple routers 17 TCP/IP Layers (continued) Layer 4: Transport Transport from an application on one computer to application on another Layer 5: Application Everything else 18

TCP/IP protocol suite 19 Internet Protocol (IP) Main protocol at Layer 3 Fundamental in suite Defines Internet addressing Internet packet format Internet routing 20

Abstraction IP Addressing Independent of hardware addressing Used by Higher-layer protocols Applications 21 Virtual IP Address Only understood by software Used for all communication 32-bit integer (IPv4) Unique value for each host The current version used is v4, a new version, v6, is about to be introduced. 22

IP Address Assignment An IP address does not identify a specific computer. Instead, each IP address identifies a connection between a computer and a network. A computer with multiple network interconnections (e.g., a router) must be assigned one IP address for each connection. 23 IP Address Details Divided into two parts Prefix identifies network Suffix identifies host Global authority assigns unique prefix to network Local administrator assigns unique suffix to host 24

Original Classes of Addresses Initial bits determine class Class determines boundary between prefix and suffix 25 Dotted Decimal Notation Shorthand for IP address Allows humans to avoid binary Represents each octet in decimal separated by dots NOT the same as names like www.somewhere.com 26

Example of Dotted Decimal Notation Four decimal values per 32-bit address Each decimal number Represents eight bits Is between 0 and 255 27 Classful Addresses and Network Sizes Maximum network size determined by class of address Class A large Class B medium Class C small 28

Addressing Examples 29 Illustration of Router Addresses Address prefix identifies network Need one router address per connection 30

Special Addresses Network address not used in packets Loopback never leaves local computer 31 Subnet and Classless Addressing Not part of original scheme Invented to prevent address exhaustion Allow boundary between prefix and suffix to occur on arbitrary bit boundary Require auxiliary information to identify boundary 32

Address Mask Accompanies IP address 32 bit binary value Specifies prefix / suffix boundary I bits cover prefix 0 bits cover suffix Example: class B mask is 255.255.0.0 33 Subnet Addressing Goal: extend address space Invented in 1980s Works within a site Technique Assign single network prefix to site Divide suffix into two parts: network at site and host Typical use: divide class B addresses 34

Example of Subnet Addressing Single Class B number such as 128.10.0.0 assigned to site Site chooses subnet boundary such as 24 bits Routers and hosts configured with corresponding subnet mask M=255.255.255.0 Given destination address, D, extract prefix with logical and operation D & M 35 Classless Addressing Goal: extend address space Invented in 1990s Works throughout Internet Accommodates Original classful addresses Subnet addresses Other forms 36

Technique Classless Addressing (continued) Allow arbitrary prefix size Represent network address as pair (address, mask_size) Known as Classless Inter-Domain Routing (CIDR) 37 Uses slash notation Example CIDR 128.211.0.0/17 Means that the boundary between prefix and suffix occurs after the first 17 bits Each network can be as large or small as needed (power of two) 38

Motivation for IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of a frame that arrives on one network across another. To accommodate heterogeneity, an internet must define a hardware-independent packet format. 39 Abstraction Internet Packets Created and understood only by software Contains sender and destination addresses Size depends on data being carried Called IP datagram 40

The Two Parts of an IP Datagram Header Contains destination address Fixed-size fields Payload Variable size up to 64K No minimum size 41 Datagram Header Three key fields Source IP address Destination IP address Type 42

IP Datagram Forwarding Performed by routers Similar to WAN forwarding Table-driven Entry specifies next hop Unlike WAN forwarding Uses IP addresses Next-hop is router or destination 43 Example of an IP Routing Table Table (b) is for center router in part (a) 44

Routing Table Size Because each destination in a routing table corresponds to a network, the number of entries in a routing table is proportional to the number of networks in an internet 45 Datagram Forwarding Given a datagram Extract destination address field, D Look up D in routing table Find next-hop address, N Send datagram to N 46

Key Concept The destination address in a datagram header always refers to the ultimate destination. When a router forwards the datagram to another router, the address of the next hop does not appear in the datagram header. 47 IP is connectionless IP Semantics Datagram contains identity of destination Each datagram sent / handled independently Routes can change at any time 48

IP Sematics (continued) IP allows datagrams to be Delayed Duplicated Delivered out-of-order Lost Called best-effort delivery Motivation: accommodates all possible networks 49 Resolving Addresses Hardware only recognizes MAC addresses IP only uses IP addresses Consequence: software needed to perform translation Part of network interface Known as address resolution 50

Address Resolution Layer 2 protocol Given A locally-connected network, N IP address C of computer on N Find Hardware address for C Technique Address Resolution Protocol 51 Address Resolution Techniques Table lookup Hashed Direct indexing Closed-form computation Works well for configurable hardware addresses Message exchange Server based Truly distributes 52

Address Resolution Protocol (ARP) Key bindings in table Table entry contains pair of addresses for one computer IP address Hardware address Build table automatically as needed 53 ARP Table Only contains entries for computers on local network IP network prefix in all entries identical 54

ARP Lookup Algorithm Look for target IP address, T, in ARP table If not found Send ARP request message to T Receive reply with T s hardware address Add entry to table Return hardware address from table 55 Illustration of ARP Exchange W needs Y s hardware address Request sent via broadcast Reply sent via unicast 56

ARP Message Format (For Ethernet) Length of hardware address fields depend on network type Ethernet uses 48-bit address 57 Transmission of ARP Message in a Frame ARP message sent in payload area of frame Called encapsulation 58

Frame Type Frame type identifies message as ARP Receiver examines frame type 59 Important Note Because ARP software is part of the network interface software, all higher-layer protocols and applications can use IP addresses exclusively, and remain completely unaware of hardware addresses 60

Internetworking Summary Solves problem of heterogeneity Includes LANs and WANs Internet concept Virtual network Seamless Universal 61 Summary (continued) Internet architecture Multiple networks Interconnected by routers Router Special-purpose computer system Interconnects two or more networks Uses table to forward datagrams 62

Summary (continued) Internet Protocol (IP) Fundamental piece of TCP / IP Defines Internet addressing Delivery semantics Internet packet format (IP datagram) 63 Summary (continued) Address resolution Needed to map IP address to equivalent hardware address Part of network interface Uses table Automatically updates table entries Broadcasts requests 64