Internet Architecture and Philosophy



Similar documents
Mobile IP Network Layer Lesson 02 TCP/IP Suite and IP Protocol

Chapter 9. IP Secure

Overview of TCP/IP. TCP/IP and Internet

RARP: Reverse Address Resolution Protocol

Network Layer IPv4. Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS. School of Computing, UNF

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

04 Internet Protocol (IP)

IP - The Internet Protocol

Introduction to IP v6

NETWORK LAYER/INTERNET PROTOCOLS

Lecture Computer Networks

8.2 The Internet Protocol

Network layer: Overview. Network layer functions IP Routing and forwarding

Indian Institute of Technology Kharagpur. TCP/IP Part I. Prof Indranil Sengupta Computer Science and Engineering Indian Institute of Technology

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Network Layer: Network Layer and IP Protocol

Transport Layer. Chapter 3.4. Think about

Internetworking. Problem: There is more than one network (heterogeneity & scale)

Internet Protocol Version 6 (IPv6)

Internet Packets. Forwarding Datagrams

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

PART OF THE PICTURE: The TCP/IP Communications Architecture

TCP/IP Fundamentals. OSI Seven Layer Model & Seminar Outline

Network Layer. Introduction Datagrams and Virtual Circuits Routing Traffic Control. Data delivery from source to destination.

Overview. Securing TCP/IP. Introduction to TCP/IP (cont d) Introduction to TCP/IP

2. IP Networks, IP Hosts and IP Ports

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Protocols. Packets. What's in an IP packet

Chapter 3. TCP/IP Networks. 3.1 Internet Protocol version 4 (IPv4)

Ethernet. Ethernet. Network Devices

EITF25 Internet Techniques and Applications L5: Wide Area Networks (WAN) Stefan Höst

Understanding TCP/IP. Introduction. What is an Architectural Model? APPENDIX

Network layer" 1DT066! Distributed Information Systems!! Chapter 4" Network Layer!! goals: "

A PPENDIX L TCP/IP and OSI

Chapter 11. User Datagram Protocol (UDP)

Network Security TCP/IP Refresher

Gary Hecht Computer Networking (IP Addressing, Subnet Masks, and Packets)

Future Internet Technologies

Transport and Network Layer

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

How will the Migration from IPv4 to IPv6 Impact Voice and Visual Communication?

Network Layer: and Multicasting Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Network Programming TDC 561

Chapter 4 Network Layer

Technical Support Information Belkin internal use only

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

Objectives of Lecture. Network Architecture. Protocols. Contents

CS335 Sample Questions for Exam #2

How do I get to

CS 457 Lecture 19 Global Internet - BGP. Fall 2011

Networking Test 4 Study Guide

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

Internet Protocols Fall Lectures 7-8 Andreas Terzis

IP addressing and forwarding Network layer

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

Networks: IP and TCP. Internet Protocol

Module 7 Internet And Internet Protocol Suite

Lecture 8. IP Fundamentals

ACHILLES CERTIFICATION. SIS Module SLS 1508

Network Layer, Part 1 Internet Architecture. History

Internet Protocols. Addressing & Services. Updated:

The Internet. Internet Technologies and Applications

TCP/IP and the Internet

Subnetting,Supernetting, VLSM & CIDR

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

Protocol Rollback and Network Security

Introduction To Computer Networking

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

Internet Protocols. Background CHAPTER

Access Control: Firewalls (1)

IPv6 Fundamentals Ch t ap 1 er I : ntroducti ti t on I o P IPv6 Copyright Cisco Academy Yannis Xydas

TCP/IP Network Essentials. Linux System Administration and IP Services

1000 CCNA Certification Exam Preparation Questions and Answers:

The Network Layer Functions: Congestion Control

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

CS 78 Computer Networks. Internet Protocol (IP) our focus. The Network Layer. Interplay between routing and forwarding

Protocols and Architecture. Protocol Architecture.

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Exam 1 Review Questions

Computer Networks/DV2 Lab

Chapter 13 Internet Protocol (IP)

Scapy. On-the-fly Packet Generation by Dienstag, 10. Januar 12

Application Note. Windows 2000/XP TCP Tuning for High Bandwidth Networks. mguard smart mguard PCI mguard blade

The internetworking solution of the Internet. Single networks. The Internet approach to internetworking. Protocol stacks in the Internet

6LoWPAN Technical Overview

IP Subnetting. Subnetting

Software Defined Networking (SDN) - Open Flow

ELEC3030 (EL336) Computer Networks. How Networks Differ. Differences that can occur at network layer, which makes internetworking difficult:

Troubleshooting Tools

VoIP Bandwidth Calculation

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Internetworking and Internet-1. Global Addresses

IP address format: Dotted decimal notation:

CS 43: Computer Networks IP. Kevin Webb Swarthmore College November 5, 2013

Based on Computer Networking, 4 th Edition by Kurose and Ross

Layered Architectures and Applications

Data Link Layer Overview

Transcription:

Internet Architecture and Philosophy Conceptually, TCP/IP provides three sets of services to the user: Application Services Reliable Transport Service Connectionless Packet Delivery Service The underlying service provided is connectionless. - Internet datagrams are simply routed independantly between hosts The underlying service provided is unreliable - Any particular datagram might be lost, damaged, delayed, or re-ordered 1

Internet Protocol (IP) Basic unit of Internet transfer Embodies a connectionless packet delivery service Analogous to physical network packet Composed of - Header that contains source and destination Internet addresses, datagram type field, etc. - Data area that contains data being carried 2

IP Datagram Format An IP data consists of an IP header of (at least) 20 octets followed by the encapsulated IP data 0 4 8 16 24 31 VERS LEN TYPE SERV IDENT TOTAL LENGTH FLAGS FRAGMENT OFFSET TIME PROTO HEADER CHECKSUM SOURCE IP ADDRESS DESTINATION IP ADDRESS OPTIONS PADDING DATA... 3

Encapsulation IP datagram travels in physical network frame Complete datagram is treated as data by the hardware TCP/IP defines standards for encapsulation on most network hardware technologies IP Header IP Data Frame Header Frame Data Complete IP datagram is treated as data in physical network frame Encapsulation occurs in network interface software as the last step before the datagram is transmitted 4

Datagram Encapsulated In An Ethernet Frame 02 07 01 00 27 ba 08 00 2b 0d 44 a7 08 00 45 00 00 54 82 68 00 00 ff 01 35 21 84 eb 01 01 84 eb 01 02 08 00 73 0b d4 6d 00 00 04 3b 8c 28 28 20 0d 00 08 09 0a 0b 0c 0d 0e 0f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 1e 1f 20 21 22 23 24 25 26 27 28 29 2a 2b 2c 2d 2e 2f 30 31 32 33 34 35 36 37 IP header follows 14 octet Ethernet frame header and contains 20 octets IP source: 132.235.1.1 (84eb0101) IP destination: 132.235.1.2 (84eb0102) IP type: 01 (ICMP) 5

Network MTU Each network hardware technology imposes a fixed limit on the maximum size of a packet Size limit called Maximum Transmission Unit (MTU) Encapsulated datagram must be less than network MTU Possible solutions - Force datagram to be less than smallest possible MTU Inefficient Difficult to know minimum MTU - (See RFC 1191 Path MTU Discovery) - Choose initial datagram size that seems appropriate and handle problems later - (IP uses the latter) 6

Datagram Fragmentation Needed when datagram larger than network MTU over which it must travel Performed by gateways Divides datagram into several, smaller datagrams called fragments Each fragment routed as independent datagram Final destination reassembles fragments - What s the other alternative? - Which way is right? 7

Datagram Fragmentation Details Each fragment is a datagram Gateway replicates initial datagram header for all fragments Offset field in header gives offset in original datagram for data in this fragment Two necessary bits in fragment flags field - More Fragments bit Can infer this is a fragment Can infer last fragment - Additional bit set in header to indicate don t fragment 8

Example Of Fragmentation Header data1 400 bytes Original datagram data2 400 bytes data3 400 bytes Header1 data1 fragment 1 (offset of 0) Header2 data2 fragment 2 (offset of 400) Header3 data3 fragment 3 (offset of 800) Offset specifies where data belongs in original datagram Offset actually stored as multiples of 8 octets More fragments bit turned OFF in header of fragment #3 9

IP Options Option field is broken into 3 sub-fields 0 1 2 3 4 5 6 7 Copy Class Option Number Copy - 0 means copy only into first fragment - 1 means copy into all fragments Class - 0 Datagram or network control - 2 Debugging and measurement - 1,3 Reserved 10

IP Options (continued) A few of the defined IP options: Option Option Class Number Length Description 0 0 - End of option list. Used if options do not end at end of header 0 1 - No operation (used for padding) 0 3 var Loose source routing. Used to route a datagram along a specified path 0 7 var Record route. Used to trace a datagram s route 0 9 var Strict Source Routing. Used to route a datagram along a specified path 2 4 var Internet timestamp. Record timestamps along route 11

Record Route Option Original sender enters record route option and leaves enough space for the expected number of gateways Each gateway along a datagram s path adds its IP address into the header 0 8 16 24 Code (7) Length (19)Pointer (11) First IP Address Second IP Address Third IP Address (empty) Fourth IP Address (empty) Length - total length of the option, including entries not filled (plus first 3 octets) Pointer - offset within the option of the next available slot 12

Source Route Options IP provides two forms of restricted routing, strict and loose source routing - With strict routing, each gateway must be directly connected to the next gateway on the list 0 8 16 24 Code (9) Length (19)Pointer (11) First Hop IP Address Second Hop IP Address Third Hop IP Address Fourth Hop IP Address Length - total length of the option (plus first 3 octets) Pointer - offset within the option of the next address to use 13