IP: The Internet Protocol

Slides:



Advertisements
Similar presentations
The Internet Protocol.
Advertisements

CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
IP Addressing. TCP/IP addresses -Addressing in TCP/IP is specified by the Internet Protocol (IP) -Each host is assigned a 32-bit number -Called the IP.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Internet Protocol (IP) Slide 1 Internet Protocol (IP)
Internet: A Network of Networks. Spring 2002Computer Networks Applications Disparate Network Technologies Different goals: Speed, cost, distance; Different.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 17 Introduction to Networks and the Internet.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CS335 Networking & Network Administration Tuesday, May 11, 2010.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
COS 420 Day 3.
Review on Networking Technologies Linda Wu (CMPT )
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
COMPUTER NETWORKS.
1 CSCI 233 Internet Protocols Class 3 Dave Roberts.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
Mapping Internet Addresses to Physical Addresses (ARP)
1 Internet Protocol: Forwarding IP Datagrams Chapter 7.
1 Internetworking : Internet architecture and TCP/IP Protocol TK3133 Computer Networking Technology.
1 Chapter Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
Exploring the Packet Delivery Process Chapter
Packet Switching zPacket is a unit of data that can be transferred at one time. zPacket includes a header and the data. zPackets are of variable sizes.
Huda AL_Omairl - Network 71 Protocols and Network Software.
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
CMPT 471 Networking II Address Resolution IPv4 ARP RARP 1© Janice Regan, 2012.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
Overview of computer communication and Networking Communication VS transmission Computer Network Types of networks Network Needs Standards.
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.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
1 Java EE Programming Internetworking. 2 Motivation for Internetworking LAN technologies provide high speed communication across short distances WAN technologies.
Chapter 12 - Packet Switching Introduction Sharing Saves Money –Arranging for multiple devices to share a single transmission path lowers cost because.
Internetworking Concept and Architectural Model Chapter 3.
Chapter 19 Binding Protocol Addresses (ARP) A frame transmitted across a physical network must contain the hardware address of the destination. Before.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Internet Application Theory & Applications. Internet Application - Ibrahim Otieno SCI/ICT Building 2 nd Floor Rm.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
CMPE 80N - Introduction to Networks and the Internet 1 CMPE 80N Winter 2004 Lecture 16 Introduction to Networks and the Internet.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Internet Protocol: Routing IP Datagrams Chapter 8.
1 IP Datagrams And Datagram Forwarding. 2 Motivation For IP Packets Because it can connect heterogeneous networks, a router cannot transmit a copy of.
Chapter 18 IP: Internet Protocol Addresses. Internet protocol software used to make the internet appear to be a single, seamless communication system.
Linux Operations and Administration Chapter Eight Network Communications.
Mapping IP Addresses to Hardware Addresses Chapter 5.
CS470 Computer Networking Protocols Huiping Guo Department of Computer Science California State University, Los Angeles 4. Internetworking.
TCP/IP1 Address Resolution Protocol Internet uses IP address to recognize a computer. But IP address needs to be translated to physical address (NIC).
WAN Technologies. 2 Large Spans and Wide Area Networks MAN networks: Have not been commercially successful.
The Concept of Universal Service
Chapter 9 Introduction To Data-Link Layer 9.# 1
IP: Addressing, ARP, Routing
COMPUTER NETWORKS CS610 Lecture-27 Hammad Khalid Khan.
Distributed Systems.
Scaling the Network: The Internet Protocol
CS4470 Computer Networking Protocols
Objective: ARP.
Internetworking & Address Resolution
Net 323: NETWORK Protocols
Scaling the Network: The Internet Protocol
Internetworking: Concepts, Architecture, and Protocols
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Layering and the TCP/IP protocol Suite
LEARNING COMPUTER NETWORKS OSI Model (layers). Why a layered model?  Easier to teach communication process.  Speeds development, changes in one layer.
Presentation transcript:

IP: The Internet Protocol

Computer Networks Applications LAN---Bus Topology Each computer is connected to a cable. Coordinates with others to send a message BUS Spring 2002 Computer Networks Applications

Issues in Sharing Communication Media Generally, most networks types involve sharing: Bus, ring in LANs High speed backbone in WANs Granting one party exclusive access may block all others for intolerable periods of time; Ex: to send a file of 5megabytes over a network that may transfer 56,000 bits/s will require 12 minutes. Spring 2002 Computer Networks Applications

Computer Networks Applications Solution: Divide a message in small blocks, called packets; Computers take turns in sending packets; insures fair, prompt access to the shared resources; Ex. a packet of 8000 bits is transmitted in 0.143 s over a network that transfers 56,000 bits/s. easier to detect and recover from errors Spring 2002 Computer Networks Applications

Computer Networks Applications Packets Transmission All computers connected to a network have a unique number, called address; Each type of network uses its own format for addresses: from few digits to as much as 16 digits; At the beginning of a packet, there is a header which contains the addresses of the sender and the destination; The hardware (NIC card) looks at every packet; if its for the local machines it copies it; A C c c D D D B Spring 2002 Computer Networks Applications

Packets Transmission (cont.) Packets are not all the same size any size can be sent up to a maximum Ex: a keystroke can be sent as one individual packet. Sender and receiver have to agree on how to specify the beginning and ending of each frame; Ex: have dedicated characters for beginning and end; Spring 2002 Computer Networks Applications

Packets Transmission (cont.) Packet transmission is very fast: Typical LAN transfer ~ large 1000 packets/s Packet switching systems adapt automatically as computers start/end sending data fair access to shared resources Most networks, including Internet are a packet switching system Spring 2002 Computer Networks Applications

Internet: a Collection of Disparate Networks Different goals: Speed, cost, distance; Different standards for: Expected carrier; Coding bits; Detecting and recovering from errors; Protocols for transmitting messages: bus, token ring,… Packets sizes, and encoding for the start/end of packets,… Types of computer addresses Spring 2002 Computer Networks Applications

Computer Networks Applications Solution: Routers High speed connection Router Routers: computers design to interconnect different networks Spring 2002 Computer Networks Applications

Solution: Internet Protocol (IP) IP hides the details of physical networks IP specifies: Packet format; How routers should forward packets Define address format Every computer connected to the Internet must run IP software Spring 2002 Computer Networks Applications

The illusion of a single network The internet concept: the illusion of a single network that IP provides; (b) the underlying physical structure. Spring 2002 Computer Networks Applications

Computer Networks Applications Datagrams A packet following IP specification is called a datagram; The header of a datagram contains the addresses of the sender and the destination; But, each network type: defines its own packet format; Accepts and delivers only packets that adhere to its own format. How can IP datagrams be sent across networks that do not recognize IP format? Spring 2002 Computer Networks Applications

Computer Networks Applications Datagrams (cont.) A datagram travels across a given network inside that network packet; When the packet arrives at the next router, the router opens the packet and extracts the datagram; If the datagram has to be sent to another network, the router: Creates a new network packet; Encloses the datagram inside that packet; Sends it to the next router along the path; If the datagram arrived at the destination: the receiver processes it. Spring 2002 Computer Networks Applications

Datagram transmission Spring 2002 Computer Networks Applications

Computer Networks Applications Internet Addressing To make datagram routing and delivery possible, each computer is assigned a unique address, called Internet address or IP address; Each address is a 32-bit binary number; To make routing efficient, each address is divided into two parts: a prefix and a suffix; Prefix: identifies the physical network to which the computer is attached; Suffix: identifies each computer attached to that network. Spring 2002 Computer Networks Applications

Internet Addressing (cont.) To insure uniqueness: two networks cannot be assigned the same address network numbers are distributed by a centralized authority, called Internet Assigned Number Authority two computers on the same network cannot be assigned the same number suffixes can be assigned locally without global coordination Spring 2002 Computer Networks Applications

Dotted decimal notation Convenient way to express IP addresses Each 8-bit section represented as a decimal number; Uses periods to separate the sections; Spring 2002 Computer Networks Applications

Computer Networks Applications Forwarding a datagram Each router along the path, uses the destination address to determine the next hop to which it has to be sent. Each IP router keeps relevant information into a routing table; Each entry specifies a destination and the next hop used to reach it; Each destination is a network (an internet contains over 1000 times more hosts than networks) Spring 2002 Computer Networks Applications

Routing table---an example An internet formed by 4 networks and 3 routers; The conceptual routing table of router 2 Spring 2002 Computer Networks Applications

Computer Networks Applications Address resolution IP addresses are abstractions provided by software---differ usually from hardware addresses; Mapping between a hardware address and an IP address is called address resolution; Is used by routers/computers when need to send a packet on the same physical network. Address resolution techniques: Table lookup: mappings are stored in memory, which the software searches Message exchange: a computer sends a message that requests an address binding, and another computer sends a reply that contains the requested info. Spring 2002 Computer Networks Applications

Address resolution with table lookup Spring 2002 Computer Networks Applications

An example trip through an internet Y Spring 2002 Computer Networks Applications