Part I: Core networking concepts Naming & Addressing.

Slides:



Advertisements
Similar presentations
CST Computer Networks NAT CST 415 4/10/2017 CST Computer Networks.
Advertisements

CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
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.
IP Addressing Introductory material.
Implementing IPv6 Module B 8: Implementing IPv6
IP Version 6 Next generation IP Prof. P Venkataram ECE Dept. IISc.
1 o Two issues in practice – Scale – Administrative autonomy o Autonomous system (AS) or region o Intra autonomous system routing protocol o Gateway routers.
CSE331: Introduction to Networks and Security Lecture 8 Fall 2002.
2.1 Installing the DNS Server Role Overview of the Domain Name System Role Overview of the DNS Namespace DNS Improvements for Windows Server 2008 Considerations.
An Engineering Approach to Computer Networking
1 DNS. 2 BIND DNS –Resolve names to IP address –Resolve IP address to names (reverse DNS) BIND –Berkeley Internet Name Domain system Version 4 is still.
20101 The Application Layer Domain Name System Chapter 7.
CS335 Networking & Network Administration Wednesday, May 26, 2010.
Network Layer IS250 Spring 2010
Domain Name System ( DNS )  DNS is the system that provides name to address mapping for the internet.
Application Layer. Domain Name System Domain Name System (DNS) Problem – Want to go to but don’t know the IP addresswww.google.com Solution.
CS 6401 Efficient Addressing Outline Addressing Subnetting Supernetting.
11.1 © 2004 Pearson Education, Inc. Exam Managing and Maintaining a Microsoft® Windows® Server 2003 Environment Lesson 11: Introducing WINS, DNS,
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
1 Domain Name System (DNS). 2 DNS: Domain Name System Internet hosts: – IP address (32 bit) - used for addressing datagrams – “name”, e.g.,
What does it take to define an architecture? (Part 2) David D. Clark July, 2012.
Internet Address and Domain Name Service (DNS) CS587x Lecture Department of Computer Science Iowa State University.
Chapter 16 – DNS. DNS Domain Name Service This service allows client machines to resolve computer names (domain names) to IP addresses DNS works at the.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 17 Domain Name System (DNS)
Network Layer (3). Node lookup in p2p networks Section in the textbook. In a p2p network, each node may provide some kind of service for other.
Courtesy: Nick McKeown, Stanford More on IP and Packet Forwarding Tahir Azim.
DNS: Domain Name System
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Network Protocols Chapter 25 (Data Communication & Networking Book): Domain Name System (DNS) 1.
October 15, 2002Serguei A. Mokhov, 1 Intro to DNS SOEN321 - Information Systems Security.
Chapter 17 Domain Name System
October 8, 2015 University of Tulsa - Center for Information Security Microsoft Windows 2000 DNS October 8, 2015.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
Domain Name System. CONTENTS Definitions. DNS Naming Structure. DNS Components. How DNS Servers work. DNS Organizations. Summary.
Netprog: DNS and name lookups1 Address Conversion Functions and The Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
Efficient Addressing Outline Addressing Subnetting Supernetting CS 640.
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:
DNS and Naming Aditya Akella 03/16/2007 Supplemental slides.
1 Kyung Hee University Chapter 18 Domain Name System.
Information-Centric Networks06b-1 Week 6 / Paper 2 A layered naming architecture for the Internet –Hari Balakrishnan, Karthik Lakshminarayanan, Sylvia.
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
CPSC 441: DNS 1. DNS: Domain Name System Internet hosts: m IP address (32 bit) - used for addressing datagrams m “name”, e.g., - used by.
Domain Name System (DNS). DNS Server Service Overview of Domain Name System What Is a Domain Namespace? Standards for DNS Naming.
Internet Address and Domain Name Service (DNS)
Page 1 Network Addressing CS.457 Network Design And Management.
Feb.2001C.Watters NAMES and ADDRESSES What’s in a name, anyway?
DNS DNS overview DNS operation DNS zones. DNS Overview Name to IP address lookup service based on Domain Names Some DNS servers hold name and address.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429/556 Introduction to Computer Networks Domain Name System Some slides used with permissions.
Internet Address and Domain Name Service (DNS) CS587x Lecture 5 Department of Computer Science Iowa State University.
DNS Security 1. Fundamental Problems of Network Security Internet was designed without security in mind –Initial design focused more on how to make it.
1. Internet hosts:  IP address (32 bit) - used for addressing datagrams  “name”, e.g., ww.yahoo.com - used by humans DNS: provides translation between.
Data Communications and Computer Networks Chapter 4 CS 3830 Lecture 19 Omar Meqdadi Department of Computer Science and Software Engineering University.
Routing. Classless Inter-Domain Routing Classful addressing scheme wasteful – IP address space exhaustion – A class B net allocated enough for 65K hosts.
Domain Name System INTRODUCTION to Eng. Yasser Al-eimad
Short Intro to DNS (part of Tirgul 9) Nir Gazit. What is DNS? DNS = Domain Name System. For translation of host names to IPs. A Distributed Database System.
Oct 2000C. Watters1 NAMES and ADDRESSES What’s in a name, anyway?
IP Addressing Introductory material.
4.3 Network Layer Logical Addressing
Domain Name System (DNS)
Implementing TCP/IP.
IMPLEMENTING NAME RESOLUTION USING DNS
DNS.
Objective: Classful Internet Addressing
IP Addressing Introductory material.
IP Addressing Introductory material.
CIS 82 Routing Protocols and Concepts Chapter 11 NAT
IP Addressing Introductory material
Domain Name System Refs: Chapter 9 RFC 1034 RFC 1035.
An Engineering Approach to Computer Networking
Chapter 4: outline 4.1 Overview of Network layer data plane
Presentation transcript:

Part I: Core networking concepts Naming & Addressing

Names and addresses Names are identifiers –Used by end users / applications to interact with your system system components to interact with each other –Name operators compare, resolve, bind/un-bind Addresses: names that locate objects Good names should be decoupled from addresses

Names or addresses? NYU ID /home/jinyang/doc/lec2.ppt :18:8B:06:DC:CB BitTorrent: f22bd0823..c86a5

Addresses

Design considerations Addresses are used by routers to forward packets to an endpoint Should be uniquely allocated Don’t have to be user-friendly Should enable scalable routing

IP address evolution Original scheme: –8-bit net (area) / 24-bit host (intra-area) Why distinguishing net and host? Why’s wrong with 8-bit net? –256 is not enough nets –Most networks don’t have 16 million hosts

Class-based IP address MIT 18.*.*.* Apple 17.*.*.* NYU *.* Microsoft *.*

Forwarding based on class- based address 1.Examine first 1/2/3 bits, 2.Perform a lookup according to net #

Class-based --> CIDR Why not class-based addresses? –Class A is wasteful! –Too many organizations are > C, but < B –Too many entries at routers CIDR: classless inter-domain routing –Represent net size explicitly / /16 –Allocate appropriate size –Allocate hierarchically

Hierarchical allocation Sprint At&t ISP Another ISP / / /20

Forwarding w/ CIDR addresses Longest prefix match – matches /20 instead of /8 Non-trivial – millions pkts/sec –Memory latency 5-10 ns

Still not enough IP address? NAT (Network address Translator) Maps external address/port pairs to internal address/port pairs –Rewrites src/dst addresses! NAT breaks –global reachability –Protocols that identify host w/ IP addresses

IPv6 128-bit addresses –Different classes of addresses –Hierarchically allocated addresses like CIDR –Lower 64-bits are interface ID Simplified header format –40 bytes as opposed to 20 in IPv4

IPv6 deployment options Embed v4 addresses in low bits of IPv6 Tunnel IPv6 packets over IPv4 networks Applications must be dual-stacked or use a v4-to-v6 translator

IPv6 deployment status

Names

Design Considerations Ensuring uniqueness 1.Central naming authority 2.Hierarchical delegation 3.Pseudo-randomly 4.Content hashes Intended audience: humans or machines?

DNS Why domain names? –IP addresses are not user friendly –Need topology-independent names Early 80s: hosts.txt file, maps host name  IP DNS: distributed service, maps domain name  IP –Record types: A, NS, MX, CNAME, PTR …

Deep hierarchy Hierarchical names enable delegation.com.edu.gov.cn.uk.nyu.cs.news. flat www

Resolving hierarchical names Stub resolver application cs.nyu.edu DNS server root name server.com name server.google.com name server Root servers might become bottlenecks? Long latency? Query: Response:.com NS a.gtld-servers.nett Q: R: google.com NS ns1.google.com Q: R: A

Replicating servers for capacity/availability Each sub-tree (zone) is kept at  2 name servers 13 root servers –[A-M].root-servers.net –Geographically diverse: VA, CA, MD, Japan etc. Another 13 name servers for.com,.net

Caching Stub resolver cs.nyu.edu DNS server root name server com name server google name server Query: Response:.com NS a.gtld-servers.nett Q: R:.google.com NS ns1.google.com Q: R: A com NS.google.com NS A All record types are cached according to TTL Caching NS records is effective at reducing latency Stub resolver Stub resolver

Caching, continued Cache negative response –10-42% lookups result in a neg answer –Most neg answers are for reverse IP lookups Setting low TTL for A records harmful? –Not really [Jung et. al. 2002] –Most DNS cache hits happen in short succession Sharing DNS caches at multiple sites useful? –Not really –Names follow zipf distribution, misses are for rare names

“Innovative uses” of DNS load balancing/server selection DNS server returns different A records to different clients at different times Short TTL: e.g. 60 sec for Akamai

“Innovative” uses of DNS spam blacklisting Is a spam source? Resolve name bl.spamcop.net

Problems with current naming/addressing

A layered naming architecture “Almost every problem in computer science can be solved by another level of indirection” -- David Wheeler 70s

LNA Proposal overview User level descriptor (ULD) e.g. , search string SID EID IP Youtube -> (SID_a5f4) SID_a5f4 -> (EID_365a, TCP, port 80) EID_365a -> IP_

Claimed Advantage #1: Host mobility Authors’ claim –TCP breaks if hosts change IPs –Difficult to initiate connection to mobile host How LNA solves it? Devil’s advocate

Claimed Advantage #2: Service/data migration/replication Authors’ claim –URL-based links break if domain name changes –No name for replicated data How LNA solves it? Devil’s advocate

Claimed Advantage #3: Accommodating middle boxes Authors’ claim –No explicit support for network-level middle boxes –No explicit support for application-level middle boxes Devil’s advocate