An Engineering Approach to Computer Networking

Slides:



Advertisements
Similar presentations
TCOM 509 – Internet Protocols (TCP/IP) Lecture 06_b Subnetting,Supernetting, CIDR IPv6 Instructor: Dr. Li-Chuan Chen Date: 10/06/2003 Based in part upon.
Advertisements

IP Addressing Introductory material.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5.
An Engineering Approach to Computer Networking
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
IP Address 1. 2 Network layer r Network layer protocols in every host, router r Router examines IP address field in all IP datagrams passing through it.
1 Internet Networking Spring 2004 Tutorial 1 Subnetting and CIDR Proxy ARP.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Understanding IP Addressing Chuck Semeria Presented by Benyuan Liu for Internet Routing Seminar Sep 19, 2000.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
CSE452:Computer Networks
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2003 Tutorial 1 Subnets, Proxy ARP.
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.
Types of Addresses in IPv4 Network Range
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
Subnet & Classless Address Extensions Linda Wu (CMPT )
Naming and Addressing An Engineering Approach to Computer Networking.
ECE 4110 – Internetwork Programming Subnetting, Supernetting, and Classless Addressing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
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:
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
IP Addressing.
Page 1 Network Addressing CS.457 Network Design And Management.
CS470 Computer Networking Protocols
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
Network Layer in the Internet (3)
1 Variable Length Subnet Masks ( VLSM ) “ Classful Route” Means if a route to a network starting with is received, it is a class A => mask length.
Q and A, Ch. 21 IS333, Spring 2016 Victor Norman.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Submitted to: Submitted by: Mrs. Kavita Taneja Jasleen kaur (lect.) Hitaishi verma MMICT & BM MCA 4 th sem.
Network Layer IP Address.
IP Addressing. A 32-bit logical naming convention A dotted-decimal notation is used: – –Each number represents 8 bits. Number is Part.
Discovery 2 Internetworking Module 4 JEOPARDY K. Martin.
Planning the Addressing Structure
Scaling the Network: Subnetting and Protocols
Binary Concepts By: Nathan Miller.
IP Addressing Introductory material.
Introduction to Networks
LESSON Networking Fundamentals Understand IPv4.
Scaling the Network: Subnetting and Other Protocols
IP: Addressing, ARP, Routing
IP Addressing - The Problem
IP.
4 Network Layer Part I Computer Networks Tutun Juhana
CS4470 Computer Networking Protocols
Network Layer in the Internet (3)
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
Net 323: NETWORK Protocols
Chapter 9 Objectives Understand TCP/IP Protocol.
Net 431 D: ADVANCED COMPUTER NETWORKS
EE 122: Domain Name Server (DNS)
Introduction  Hector Macleod  CCNA student  Systems Integration Engineer  Subject - IP addressing.
IP Addressing Introductory material.
CS 457 – Lecture 10 Internetworking and IP
IP Addressing Introductory material.
Internet Protocol INTERNET PROTOCOL.
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Planning the Addressing Structure
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Planning the Addressing Structure
Planning the Addressing Structure
Scaling the Network: Subnetting and Other Protocols
Classless and Subnet Address Extensions (CIDR)
Layering and the TCP/IP protocol Suite
Presentation transcript:

An Engineering Approach to Computer Networking Naming and Addressing An Engineering Approach to Computer Networking

Outline Names and addresses Hierarchical naming Addressing Addressing in the telephone network Addressing in the Internet ATM addresses Name resolution Finding datalink layer addresses

Names and addresses Names and addresses both uniquely identify a host (or an interface on the host) %nslookup Default Server: DUSK.CS.CORNELL.EDU Address: 128.84.227.13 > underarm.com Name: underarm.com Address: 206.128.187.146 Resolution: the process of determining an address from a name

Why do we need both? Names are long and human understandable wastes space to carry them in packet headers hard to parse Addresses are shorter and machine understandable if fixed size, easy to carry in headers and parse Indirection multiple names may point to same address can move a machine and just update the resolution table

Hierarchical naming Goal: give a globally unique name to each host Naïve approach: ask other naming authorities before choosing a name doesn’t scale (why?) not robust to network partitions Instead carve up name space (the set of all possible names) into mutually exclusive portions => hierarchy

Hierarchy A wonderful thing! scales arbitrarily guarantees uniqueness easy to understand Example: Internet names use Domain name system (DNS) global authority (Network Solutions Inc.) assigns top level domains to naming authorities (e.g. .edu, .net, .cz etc.) naming authorities further carve up their space all names in the same domain share a unique suffix

Addressing Addresses need to be globally unique, so they are also hierarchical Another reason for hierarchy: aggregation reduces size of routing tables at the expense of longer routes

Addressing in the telephone network Telephone network has only addresses and no names (why?) E.164 specifications ITU assigns each country a unique country code Naming authority in each country chooses unique area or city prefixes Telephone numbers are variable length this is OK since they are only used in call establishment Optimization to help dialing: reserve part of the lower level name space to address top level domains e.g. in US, no area code starts with 011, so 011 => international call => all other calls need fewer digits dialed

Addressing in the Internet Every host interface has its own IP address Routers have multiple interfaces, each with its own IP address Current version of IP is version 4, addresses are IPv4 addresses 4 bytes long, two part hierarchy network number and host number boundary identified with a subnet mask can aggregate addresses within subnets

Address classes First cut fixed network-host partition, with 8 bits of network number too few networks! Generalization Class A addresses have 8 bits of network number Class B addresses have 16 bits of network number Class C addresses have 24 bits of network number Distinguished by leading bits of address leading 0 => class A (first byte < 128) leading 10 => class B (first byte in the range 128-191) leading 110 => class C (first byte in the range 192-223)

Address evolution This scheme was too inflexible Three extensions subnetting CIDR dynamic host configuration

Subnetting Allows administrator to cluster IP addresses within its network

CIDR Scheme forced medium sized nets to choose class B addresses, which wasted space Address space exhaustion Solution allow ways to represent a set of class C addresses as a block, so that class C space can be used use a CIDR mask idea is very similar to subnet masks, except that all routers must agree to use it subnet masks are not visible outside the network (why?)

CIDR (contd.)

Dynamic host configuration Allows a set of hosts to share a pool of IP addresses Dynamic Host Configuration Protocol (DHCP) Newly booted computer broadcasts discover to subnet DHCP servers reply with offers of IP addresses Host picks one and broadcasts a request to a particular server All other servers withdraw offers, and selected server sends an ack When done, host sends a release IP address has a lease which limits time it is valid Server reuses IP addresses if their lease is over Similar technique used in Point-to-point protocol (PPP)

IPv6 32-bit address space is likely to eventually run out IPv6 extends size to 128 bits Main features classless addresses multiple levels of aggregation are possible registry provider subscriber subnet several flavors of multicast anycast interoperability with IPv4

ATM network addressing Uses Network Service Access Point (NSAP) addresses Variable length (7-20 bytes) Several levels of hierarchy national or international naming authority addressing domain subnet

Name resolution Done by name servers essentially look up a name and return an address Centralized design consistent single point of failure concentrates load

DNS Distributed name server A name server is responsible (an authoritative server) for a set of domains May delegate responsibility for part of a domain to a child Root servers are replicated If local server cannot answer a query, it asks root, which delegates reply Reply is cached and timed out

Finding datalink layer addresses Datalink layer address: most common format is IEEE 802 Need to know datalink layer address typically for the last hop

ARP To get datalink layer address of a machine on the local subnet Broadcast a query with IP address onto local LAN Host that owns that address (or proxy) replies with address All hosts are required to listen for ARP requests and reply including laser printers! Reply stored in an ARP cache and timed out In point-to-point LANs, need an ARP server register translation with server ask ARP server instead of broadcasting