Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.

Slides:



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

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.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
Chapter 20 Network Layer: Internet Protocol Stephen Kim 20.1.
CSCI 4550/8556 Computer Networks Comer, Chapter 18: IP: Internet Protocol Addresses.
IP Suite© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science Department.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Internet Protocol (IP) Slide 1 Internet Protocol (IP)
CSCI 4550/8556 Computer Networks Comer, Chapter 19: Binding Protocol Addresses (ARP)
CS335 Networking & Network Administration Tuesday, May 11, 2010.
CSCI 4550/8556 Computer Networks Comer, Chapter 20: IP Datagrams and Datagram Forwarding.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
Chapter 3 Review of Protocols And Packet Formats
© 2007 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets with Internet Applications, 4e By Douglas.
IP Routing, Format, Fragmentation Chapters 20-21, 23.
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.
Packet Analysis with Wireshark
CSIT 220 (Blum)1 IP Datagram Based on Chapter 20 of Computer Networks and Internets (Comer)
1 Chapter Internetworking Part 1 (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution.
G64INC Introduction to Network Communications Ho Sooi Hock Internet Protocol.
The Network Layer. Network Projects Must utilize sockets programming –Client and Server –Any platform Please submit one page proposal Can work individually.
TCOM 509 – Internet Protocols (TCP/IP) Lecture 03_a
FALL, 2005CSI Part 2.3 Internetworking & Addressing (Concept, IP Addressing, IP Routing, IP Datagrams, Address Resolution Robert L. Probert, SITE,
Chapter 15 - Internetworking Motivation Universal service Internetworking Routers Internet architecture Routers in an organization A virtual network A.
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.
Chapter 18 IP: Internet Protocol Addresses
Suez Canal University – Faculty of Computers & Informatics - Cisco Local Academy Network Fundamentals.
Dr. John P. Abraham Professor UTPA
Chapter 19 - Binding Protocol Addresses
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1 Chapter 21 Internetworking Part 2 (Datagram Encapsulation, Transmission, Fragmentation, Reassembly)
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
1 Java EE Programming Internetworking. 2 Motivation for Internetworking LAN technologies provide high speed communication across short distances WAN technologies.
Chapter 20 IP Datagrams and Datagram Forwarding. Connectionless vs Connection-oriented Service TCP/IP’s fundamental delivery service is connectionless.
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.
Communications Services Connection Oriented Service  A connection is established  Data is sent or received over this connection  Connection may be terminated.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Chapter 21 IP Encapsulation, Fragmentation, and Reassembly.
Lecture 4 Overview. Ethernet Data Link Layer protocol Ethernet (IEEE 802.3) is widely used Supported by a variety of physical layer implementations Multi-access.
© 2009 Pearson Education Inc., Upper Saddle River, NJ. All rights reserved.1 Computer Networks and Internets, 5e By Douglas E. Comer Lecture PowerPoints.
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 )
TCP/IP PROTOCOL UNIT 6. Overview of TCP/IP Application FTP, Telnet, SMTP, HTTP.. Presentation Session TransportHost-to-HostTCP, UDP NetworkInternetIP,
COMPUTER NETWORKS CS610 Lecture-30 Hammad Khalid Khan.
Network Layer Protocols COMP 3270 Computer Networks Computing Science Thompson Rivers University.
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.
Behrouz A. Forouzan TCP/IP Protocol Suite, 3rd Ed.
IP - The Internet Protocol
Scaling the Network: The Internet Protocol
Internetworking & Address Resolution
IP - The Internet Protocol
Dr. John P. Abraham Professor UTPA
Internetworking Outline Best Effort Service Model
Chapter 20 Network Layer: Internet Protocol
Dr. John P. Abraham Professor UTRGV, EDINBURG, TX
Dr. John P. Abraham Professor UTPA
Net 323 D: Networks Protocols
Scaling the Network: The Internet Protocol
Introduction to Networks
Ch 17 - Binding Protocol Addresses
COMPUTER NETWORKS CS610 Lecture-29 Hammad Khalid Khan.
IPv4 Addressing By, Ishivinder Singh( ) Sharan Patil ( )
ITIS 6167/8167: Network and Information Security
NET 323D: Networks Protocols
Presentation transcript:

Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers to interconnect heterogeneous networks

Virtual Network Internet is a virtual network It is an abstraction There is no network called the Internet Abstraction takes place in software (I.e. protocols)

Layering and TCP/IP Protocols

Layer 5: Application Corresponds to ISO model layers 6 and 7; used for communication among applications Layer 4: Transport Corresponds to layer 4 in the ISO model; provides reliable delivery of data Layer 3: Internet Defines uniform format of packets forwarded across networks of different technologies and rules for forwarding packets in routers Layer 2: Network Corresponds to layer 2 in the ISO model; defines formats for carrying packets in hardware frames Layer 1: Hardware Corresponds to layer 1 in the ISO model; defines basic networking hardware

Internet Protocol (IP) Uniform Addressing Scheme Hardware Independent 32-bit number IP or Internet Address Unique on the Internet Divided into prefix and suffix Prefix: Network Suffix: Computer (Host)

Class of Address determines break between network prefix and host suffix Small prefix: few networks, many hosts Large prefix: large networks, few hosts/network

Compute IP address class from first 4 bits of address A, B, C are primary classes D is for multicast; E is reserved Dotted Decimal Notation A, B, C break on bytes between prefix and suffix Compute decimal value of each byte and display separated by dots

IP Problems IP Addresses not used efficiently UARK is Class B: 2 14 addresses Larger organizations may not have enough addresses, others too many Solution: Private internets that use entire 32-bit address space IPv6: 128 bit address space

Special IP Addresses

Routers and IP Addressing IP address depends on network address What about routers - connected to two networks? IP address specifies an interface, or network attachment point, not a computer Router has multiple IP addresses - one for each interface

Address Resolution Protocol address on virtual network must be resolved into physical address

Address Resolution Protocol (ARP) Distributed Address Resolution Part of TCP/IP Protocol Suite Two-Part Protocol –Request from source asking for hardware address –Reply from destination carrying hardware address

 ARP request message dropped into hardware frame and broadcast  Sender inserts IP address into message and broadcast  Every other computer examines request  Computer whose IP address is in request responds  Puts hardware address in response  Unicasts to sender  Original requester can then extract hardware address and send IP packet to destination

ARP Message Format  HARDWARE ADDRESS TYPE = 1 for Ethernet  PROTOCOL ADDRESS TYPE = 0x0800 for IP  OPERATION = 1 for request, 2 for response  Contains both target and sender mappings from protocol address to hardware address  Request sets hardware address of target to 0  Target can extract hardware address of sender (saving an ARP request)  Target exchanges sender/target in response

Sending ARP Message

IP Datagrams Fundamental Internet Communication Packet Connectionless Transport protocols use this connectionless service to provide connectionless data delivery (UDP) and connection-oriented data delivery (TCP)

 Datagrams can have different sizes  Header area usually fixed (20 octets) but can have options  Data area can contain between 1 octet and 65,535 octets ( )  Usually, data area much larger than header  Formally, the unit of IP data delivery is called a datagram  Includes header area and data area

Forwarding and Routing Header contains all info for delivery Router examines header and forwards to next destination Forwarding Information stored in routing table List of destination networks and next hops

Routing and Masks In practice, additional information is kept in routing table Destination stored as network address Next hop stored as IP address of router Address mask defines how many bits of address are in prefix  Prefix defines how much of address used to identify network  E.g., class A mask is

Best Effort Delivery IP does not guarantee to prevent  Duplicate datagrams  Delayed or out-of-order delivery  Corruption of data  Datagram loss Reliable delivery provided by transport layer Network layer

VERS - version of IP (currently 4) H. LEN - header length (in units of 32 bits) SERVICE TYPE - sender's preference for low latency, high reliability (rarely used) TOTAL LENGTH - total octets in datagram IDENT, FLAGS, FRAGMENT OFFSET - used with fragmentation TTL - time to live; decremented in each router; datagram discarded when TTL = 0 TYPE - type of protocol carried in datagram; e.g., TCP, UDP HEADER CHECKSUM - 1s complement of 1s complement sum SOURCE, DEST IP ADDRESS - IP addresses of original source and ultimate destination

Encapsulation

MTU Maximum Transmission Unit Size of Datagram < MTU Fragment Datagram to accommodate networks with different MTU’s Fragment Offset gives location of fragment in original datagram Reassembled at destination

Reassembly and Loss IDENT field to associate fragments with original Fragments may be lost => lose entire datagram Destination has timer on fragments Source retransmits Fragment a fragment