Network Layer, Part 1 Internet Architecture. History



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

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

Future Internet Technologies

RARP: Reverse Address Resolution Protocol

IP - The Internet Protocol

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

2. IP Networks, IP Hosts and IP Ports

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

Transport and Network Layer

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

Internet Protocol Address

Internetworking and Internet-1. Global Addresses

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

Internet Architecture and Philosophy

Technical Support Information Belkin internal use only

Lecture Computer Networks

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

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

Lecture 8. IP Fundamentals

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

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

Internet Protocols Fall Lectures 7-8 Andreas Terzis

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

CHAPTER 0 INTRODUCTION TO TCP/IP

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

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

Overview of Computer Networks

IP address format: Dotted decimal notation:

architecture: what the pieces are and how they fit together names and addresses: what's your name and number?

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

PART IV. Network Layer

Communications and Networking

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

Internet Protocols. Addressing & Services. Updated:

CA106 Web Design. Dr. Dónal Fitzpatrick, School of Computing Room l2.48, Extension 8929,

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

The Internet. Internet Technologies and Applications

8.2 The Internet Protocol

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

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

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

IP addressing and forwarding Network layer

IP Address Classes (Some are Obsolete) Computer Networking. Important Concepts. Subnetting Lecture 8 IP Addressing & Packets

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Introduction to IP v6

Ethernet. Ethernet. Network Devices

Networking Test 4 Study Guide

04 Internet Protocol (IP)

Chapter 4 Network Layer

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Network Layer: Network Layer and IP Protocol

CMPE 80N: Introduction to Networking and the Internet

IP Subnetting and Addressing

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

Internet Control Protocols Reading: Chapter 3

Basic Operation & Management of TCP/IP Networks

Internetworking and IP Address

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

Subnetting,Supernetting, VLSM & CIDR

Domain Name System Richard T. B. Ma

CS335 Sample Questions for Exam #2

NETWORK LAYER/INTERNET PROTOCOLS

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

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

The IP Transmission Process. V1.4: Geoff Bennett

IP Addressing Introductory material.

Network Basics GRAPHISOFT. for connecting to a BIM Server (version 1.0)

TCP/IP Fundamentals. Edmund Lam IT Audit Manager University of California 7/25/99 1

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

3. The Domain Name Service

ESSENTIALS. Understanding Ethernet Switches and Routers. April 2011 VOLUME 3 ISSUE 1 A TECHNICAL SUPPLEMENT TO CONTROL NETWORK

1. History of TCP/IP TCP/IP was initially designed to meet the data communication needs of the U.S. Department of Defence (DOD).

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

IP Addressing A Simplified Tutorial

Overview of TCP/IP. TCP/IP and Internet

Chapter 9. IP Secure

How do I get to

IP Addressing. IP Addresses. Introductory material.

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

Domain Name System (or Service) (DNS) Computer Networks Term B10

Communication Systems Internetworking (Bridges & Co)

Internet Protocol Version 6 (IPv6)

Application Protocols for TCP/IP Administration

Introduction to TCP/IP

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

The Application Layer: DNS

Internet Addresses (You should read Chapter 4 in Forouzan)

Datacommunication. Internet Infrastructure IPv4 & IPv6

Slide 1 Introduction cnds@napier 1 Lecture 6 (Network Layer)

Computer Networks III

Network Security TCP/IP Refresher

Lecture 2 CS An example of a middleware service: DNS Domain Name System

Introduction to Network Operating Systems

Transcription:

Network Layer, Part 1 Internet Architecture These slides are created by Dr. Huang of George Mason University. Students registered in Dr. Huang s courses at GMU can make a single machine readable copy and print a single copy of each slide for their own reference as long as the slide contains the copyright statement, and the GMU facilities are not used to produce the paper copies. Permission for any other use, either in machine-readable or printed form, must be obtained form the author in writing. CS 656 1 History U.S. DoD Advanced Research Project Agency (DARPA) created ARPANET in 1968. ARPANET is the first wide-area general purpose packet network. In early 70 s, the concept of internetworking was advanced. Most networks are established independently. Bridged networks have scalability problems. Demand for universal connection soon arose. The ARPANET became the core of the Internet experiment. CS 656 2 1

By 1985, the ARPANET was heavily used and congested; the National Science Foundation (NSF) initiated NSFNET as the new backbone. original NSFNET links were 56K, updated to T1 (1.544 Mbps) in 1988 and later to T3 (43 Mbps) in 1991 the NSFNET was decommissioned in April 1995 CS 656 3 The contemporary Internet dose not have an official backbone; instead Network Access Points (NAPs) were established for multiple backbone networks to exchange traffic: Spring NAP - Pennsauken, NJ PacBell NAP - San Francisco, CA Ameritech NAP - Chicago, IL MFS Datanet - Washington, D.C. Each NAP is essentially a high speed LAN, using FDDI or ATM technologies. CS 656 4 2

Basic Architecture Packet-switching network Packets are routed independently Unreliable delivery No guarantee by the routing infrastructure to deliver your packets Possibly out-of-order delivery Possibly corrupted delivery Delivery model similar to postal systems Interconnecting all kinds of networks/dlls. CS 656 5 An addressing scheme independent of the underlying DLL addresses No congestion control in the routing infrastructure Users assumed cooperative Congestion control is performed by TCP at endpoints No way to punish network abusers CS 656 6 3

IP Addresses Fixed-length, 32-bit address Class A: 128 nets with 16M hosts each 0nnnnnnn hhhhhhhh hhhhhhhh hhhhhhhh Class B: 16K nets with 64K hosts each 10nnnnnn nnnnnnnn hhhhhhhh hhhhhhhh Class C: 4M nets with 256 hosts each 110nnnnn nnnnnnnn nnnnnnnn hhhhhhhh Class D: multicast addresses, 256M groups 1110gggg gggggggg gggggggg gggggggg CS 656 7 IP Number Notation A dotted decimal notation is used by humans, regardless the class of the address. Binary: 11000000 01111111 11111101 00000001 Decimal: 192. 127. 253. 1 Examples: cs.gmu.edu = 129.174.40.13 site.gmu.edu = 129.174.40.83 bacon.gmu.edu = 129.174.65.1 CS 656 8 4

Examples 210.65.55.0 129.174.0.0 141.85.0.0 CS 656 9 What Does an IP Address Mean? Each network (subnet) has its network ID. Each point-to-point link considered a network Every interface in that network has an IP address comprising the network ID and a host ID. IP addresses identify interfaces. There is no 1-to-1 correspondence between IP addresses and nodes (hosts or routers) CS 656 10 5

Domain Name System (DNS) Of course, we humans don t even want to memorize decimal numbers; we use names. The DNS is like a directory hierarchy: you start with a top-level domain and specify sub-domain name and sub-sub-domain name, and so on, in a right-to-left manner. bach.cs.gmu.edu. CS 656 11 Top-level Domains seven traditional top-level domains com, edu, gov, mil, net, org, int new domains established recently.biz,.name,.museum, etc. 2-character ISO 3166 country codes Notice that.tv is the country code of Tuvalu, a small country in South Pacific Ocean with a population less than 12K. We lease the code for $50M over 12 years. CS 656 12 6

Top-level domain names are maintained by the Internet Cooperation for Assigned Names and Numbers (ICANN, www.icann.org). Second level domains (i.e., www.ihatecs455.com) can be obtained from registrars accredited by ICANN. NetworkSolutions.com, DynDNS.org, GoDaddy.com, Joker.com, and many many more CS 656 13 Management of lower-level names is delegated. For example, GMU is responsible for managing the domain gmu.edu. GMU further delegates the responsibility of cs.gmu.edu to the CS department. Some companies/organizations give 3rd-level domains for free. DynDNS.org, www.hn.org My free domain: huangyih.homeip.net Why not get one for yourself! CS 656 14 7

DNS Servers A hierarchy of name servers (NS) are used to translate domain names to IP addresses. Root NS-es.com NS-es.edu NS-es Amazon.com NS-es GMU.edu NS-es CS 656 15 There are 13 root NS around the world, maintaining 13 identical databases of toplevel domain NS. 3 of them in Herndon VA, 1 in Vienna! Every root NS knows all.com NS,.edu NS,.net NS,.org NS, Each.com NS is also complete; it knows the NS of all 2nd-level.com domains. It knows the NS of amazon.com, yahoo.com, etc The same applies to every.net NS,.edu NS,.jp NS, and so on Knows Knows means means having having the the IP IP addresses CS 656 addresses of of 16 8

It is the lower-level NS that actually maintain machine addresses. An amazon NS knows the exact IP address of www.amazon.com A GMU NS knows the exact IP address of site-unix.gmu.edu Each low-level NS knows all machines in its domain. Every NS in the world has the list of root NS. Each host is configured with the IP addresses of one or two local NS. CS 656 17 NS Hierarchy Again Having the IP addresses of Root NS-es.com NS-es.edu NS-es Amazon.com NS-es GMU.edu NS-es Amazon server Site-unix CS 656 18 9

Local DNS Lookup You are logging into site-unix from a campus workstation. You workstation sends a DNS query to a GMU NS. The GMU NS responds with the IP address of site-unix. CS 656 19 Looking Up Non-local Domains You are on site-unix browsing amazon.com. Site-unix queries a GMU NS. The GMU NS queries a root NS. The root NS responds with a.com NS. The GMU NS queries the.com NS. The.com NS responds with an amazon NS. The GMU NS queries the amazon NS. The amazon NS responds with the IP address of www.amazon.com. The GMU NS sends site-unix the IP address. CS 656 20 10

Bootstrap Configurations Each host in the Internet needs the following An IP address per interface Gateway router address DNS server address Network mask (discussed later) Typically dynamically configured by DHCP Each router needs An IP address per interface (optional) DNS server address Manually, statically configured CS 656 21 DNS Server To the public Internet Gateway Router DHCP Server My PC LAN CS 656 22 11

DHCP: Dynamic Host Configuration Protocol A PC broadcasts a DHCP request on LA using MAC broadcast The server responds with a DHCP reply, comprising Client IP address, DHCP server IP address DNS server IP address Network mask. CS 656 23 IP Header 0 4 8 12 16 19 24 31 Vers HLen Service Type Total Length Identification Flags Fragment Offset Time to Live Protocol Header Checksum Source IP Address Destination IP Address IP Options Padding Data Vers: protocol version (current=4, new=6) HLen: Header length in 32-bit words (max=60 bytes) CS 656 24 12

Service Type: precedence, delay-sensitive, reliability-sensitive, Total Length: packet length in bytes (max 65535) Time to Live (TTL): maximum number of hops the packet can survive; set by the sender and decremented by each intermediate router. One use of TTL is to restrict the damage of routing loops. CS 656 25 Identification, Flags, Fragment Offset: used in fragmentation. Protocol: code for transport protocol Header Checksum: error check for the header uses exclusive-or, rather than CRC easy for incremental updates fragment offset time to live Source/Destination IP Addresses CS 656 26 13

Options Record route: each intermediate router records its IP address in the options data area Time stamp: each router records the time Loose source route: the sender lists a series of routers that must be visited in the specified order; other routers may be visited when the packet moves from one listed router to the next Strict source route: only listed routers can be visited. CS 656 27 Fragmentation Datagrams transmitted across the physical network/link in frames Each network imposes a maximum transmission unit (MTU); the MTUs along the delivery path of a packet may vary. When an IP datagram of b bytes is about to go across a network with an MTU less than b, the datagram must be divided into fragments. Re-assembly takes place only at the destination this is true even if all subsequent links can transmit the entire datagram in one frame CS 656 28 14

Example Length=1200 MTU=1500 MTU=600 MTU=1000 MTU=1500 CS 656 29 Fragmentation-Related Fields Each datagram from a sender to a recipient has a unique Identification. This Identification is copied in every fragments of the datagram. The Offset field contains the position of the first byte of the fragment in the entire datagram. A more-fragment bit in the Flags field is turned on for all fragments except the last. Fragments are treated like regular datagrams. each fragment contains complete source and destination addresses, is routed independently, and could be further fragmented. CS 656 30 15