G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.

Slides:



Advertisements
Similar presentations
Computer Networks20-1 Chapter 20. Network Layer: Internet Protocol 20.1 Internetworking 20.2 IPv IPv6.
Advertisements

IP datagrams Service paradigm, IP datagrams, routing, encapsulation, fragmentation and reassembly.
Chapter 18 Introduction to Network Layer 18.# 1
NETWORK LAYER (1) T.Najah AlSubaie Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET331.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
Network Layer IS250 Spring 2010
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.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Kyung Hee University Part 4 : Network Layer. 2 Kyung Hee University Role and Position of Network Layer o Network layer in the Internet model is responsible.
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.
TELE202 Lecture 9 Internet Protocols (1) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Congestion control »Source: chapter 12 ¥This Lecture »Internet.
IP ADDRESSES. C ONTENTS Objectives Introduction IP Versions IPv4 Addressing Classful Addressing Class A Class B Class C Other Classes Dotted Decimal Notation.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
Chapter 21: IP Encapsulation, Fragmentation & Reassembly
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
Internet Protocol Internetworking Lab 1. Why Internet?
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
ECE 526 – Network Processing Systems Design Networking: protocols and packet format Chapter 3: D. E. Comer Fall 2008.
Dr. John P. Abraham Professor UTPA
Chapter 81 Internet Protocol (IP) Our greatest glory is not in never failing, but in rising up every time we fail. - Ralph Waldo Emerson.
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.
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.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
CSC 600 Internetworking with TCP/IP Unit 5: IP, IP Routing, and ICMP (ch. 7, ch. 8, ch. 9, ch. 10) Dr. Cheer-Sun Yang Spring 2001.
CS470 Computer Networking Protocols
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
1 Internetworking: IP Packet Switching Reading: (except Implementation; pp )
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Routing and the IP v4 Address Space BSAD 141 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
Lecture 13 IP V4 & IP V6. Figure Protocols at network layer.
Network Layer/IP Protocols 1. Outline IP Datagram (IPv4) NAT Connection less and connection oriented service 2.
NET 221D:Computer Networks Fundamentals
Computer Communication Networks
IP: Addressing, ARP, Routing
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
Scaling the Network: The Internet Protocol
Internet technologies
PART IV Network Layer.
Internetworking & Address Resolution
Net 323: NETWORK Protocols
CS 457 – Lecture 10 Internetworking and IP
Internetworking Outline Best Effort Service Model
Wide Area Networks and Internet CT1403
CPEG512 Advanced Computer Networks
Net 323 D: Networks Protocols
Scaling the Network: The Internet Protocol
Introduction to Networks
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
Layering and the TCP/IP protocol Suite
Presentation transcript:

G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol

Outline Internetworking IP Addressing Hierarchy Classful vs. Classless Addressing Special IP Addresses IP Datagrams Fragmentation

Internetworking Existence of multiple network technologies today A need to interconnect heterogeneous networks to form single internet –hardware: routers connect different physical networks –protocol software: give the illusion that there is a single virtual (logical) network providing universal service

Internetworking Protocols The TCP/IP Reference Model –begun in the 1970s –the Internet has emerged into the public domain in the 1990s –controlled by the Internet Engineering Task Force (IETF) TCP/IP used the term host computer to refer to any system that connects to an Internet running applications Both hosts and routers use TCP/IP protocol software Internet Reference Model

Directed Reading Open Systems Interconnect Reference Model (OSIRM) –Chapter 1: Introduction and Overview 1.6 to 1.9

Message Transmission Example

Position of IP in TCP/IP Protocol Suite

The IP Address Hierarchy Every host is assigned a globally unique 32-bit address for identification Each 32-bit address is divided into two distinct parts –prefix: physical network to which a host is attached, also known as network number –suffix: a host attached to a given physical network, also known as host number Prefixes are coordinated globally and suffixes locally. Hence the former is unique but the latter can be duplicated

Classes of IP Address Size of prefix and suffix determines maximum number of networks and maximum number of hosts per network respectively IP defines different classes of address with different sized prefixes and suffixes The first four bits of the address specify the address class

The Five Classes of IP Address

Division of the Address Space Public Internet network numbers are assigned by Internet Service Providers (ISPs) and these are coordinated by the Internet Assigned Number Authority

Default Masks for Classful Addressing An Addressing Example

Routers and IP Addressing Routers are assigned two or more IP addresses So are multi-homed computers

Special IP Addresses

Example of this host on this address

Network Addresses

Example of Direct Broadcast Address

Example of Limited Broadcast Address

Example of Loopback Address

CIDR Notation A large part of available addresses were wasted due to the use of classful addresses Classless addressing, known as CIDR (Classless Interdomain Routing) was adopted Network suffix can be any number of bits long, rather being constrained to 8, 16 or 24 bits CIDRized network address has the dotted decimal form a.b.c.d/x. x defines the number of mask bits and a.b.c.d is the first address in the block (by setting 32-x bits to 0s) More efficient allocation of IP addresses

IP Datagrams Data are transmitted in small units called packets, with header added containing control information, e.g. addresses, data length etc. Internet protocols define a universal virtual packet – the IP datagram IP datagrams are switched across multiple physical networks via routers IP datagram can be at most 64K octets, including header and data

IP Datagram Header Format TTL field used to prevent looping datagrams and used for tracing routes

Protocol Field and Encapsulated Data Examples of Protocol Values

Routers and Routing Tables Each router forwards IP datagrams by matching the destination IP address of the IP header to entries in a local routing table Each entry consists of: –destination address –subnet mask 32 bit value that specifies the boundary between network prefix and suffix –next hop IP address of a router or hardware interface that allows direct delivery

Example Routing Table

Binding Protocol Addresses An Internet packet passes through a series of routers –each hop takes it over a particular network, either to a specific computer on that network or to the next router –in either case, the sending host or router has to map between the protocol (IP) address and a hardware address –this is known as address resolution

Address Resolution Protocol TCP/IP defines the Address Resolution Protocol (ARP) which defines the format of resolution requests and responses This technique is usually combined with local caching of hardware addresses

Frame Encapsulation Protocols –TCP – end to end, identification by port numbers –IP – host to host, identification by IP addresses –Network Interface (Link Layer) – hop to hop (link to link), identification by MAC addresses

MTU and Datagram Size Maximum Transmission Unit –maximum-sized packet that can be carried on a given physical network IP datagrams may have to cope with different MTU sizes as it passes over an internet

Fragmentation A datagram that is larger than MTU will be fragmented into smaller fragments Each datagram contains a fragment Header fields indicate when the data is a fragment and also where it belongs –identification, flags and fragment offset MTUs for Some Networks

Fragmentation Example Reassembly done at the final host only –routers require less state information –fragments can take different routes Whole datagram is lost if any fragment lost

Best Effort Delivery Connectionless Service IP attempts best effort delivery and does not guarantee to deal with: –datagram duplication –delayed or out of order delivery –corruption of data –datagram loss These issues are dealt with by the next higher transport protocol i.e., TCP (Transmission Control Protocol)

Acknowledgements Most lecture slides used in this presentation are adopted from the same module taught in Nottingham, UK Campus, with addition of diagrams from the recommended texts by Douglas E. Comer and A. Forouzan.