More Internet Support Protocols

Size: px
Start display at page:

Download "More Internet Support Protocols"

Transcription

1 More Internet Support Protocols

2 Domain Name System (DNS) Ch 2.5 Problem statement: Average brain can easily remember 7 digits On average, IP addresses have digits We need an easier way to remember IP addresses Solution: Use alphanumeric names to refer to hosts Add a distributed, hierarchical protocol (called DNS) to map between alphanumeric host names and IP addresses We call this Address Resolution

3 Domain Name Space com edu net gov int mil org ae... us... zw yahoo cnn rutgers yale Country Domains cs eng Generic Domains

4 Domain Name Service The domain name service consists of Domain name space Name servers In each zone, there is a primary name server and one or more secondary name servers Name servers contain two kinds of address mappings: Authoritative mappings: For hosts within the zone Cached mappings: For previously requested mappings to hosts not in the zone Resolvers Programs that extract information from name servers in response to client requests

5 Domain Name Hierarchy com edu net gov int mil org ae... us... zw yahoo cnn rutgers yale cs eng

6 DNS Protocol When client wants to know an IP address for a host name Client sends a DNS query to the primary name server in its zone If name server contains the mapping, it returns the IP address to the client Otherwise, the name server forwards the request to the root name server The request works its way down the tree toward the host until it reaches a name server with the correct mapping

7 DNS Protocol Example remus.rutgers.edu Scenario: 1 8 remus.rutgers.edu tries to resolve an IP address for venus.cs.yale.edu using a recursive query 2 ns-lcsr.rutgers.edu 7 a.root-servers.net 3 6 yale.edu 4 5 cs.yale.edu

8 DNS Protocol Another Example remus.rutgers.edu Scenario: remus.rutgers.edu tries to resolve an IP address for venus.cs.yale.edu using an iterative query ns-lcsr.rutgers.edu 4 a.root-servers.net 5 6 yale.edu 7 8 cs.yale.edu

9 DNS message In DNS, all communications use a single format called a message. The top level format of message is divided into 5 sections (some of which are empty in certain cases) RR( Resource record) Header Question Answer Authority Additional the question for the name server RRs answering the question RRs pointing toward an authority RRs holding additional information The answer section contains RRs that answer the question; the authority section contains RRs that point toward an authoritative name server; the additional records section contains RRs which relate to the query, but are not strictly answers for the question.

10 DNS Message Header Clients communicate with DNS servers using either TCP or UDP on port Transaction Identification Flags Number of Questions Number of Answer RRs Number of Authoritative RRs Questions (variable length) Answer Resource Records (variable length) Authoritative Resource Records (variable length) Additional Resource Records (variable length) Number of Additional RRs

11 DNS Message Fields Transaction Identification: Random number used to match client queries with name server responses Flags: QR opcode AA TC RD RA (unused) rcode QR: 0=Query, 1=Response opcode: 0=standard query, 1=inverse query, 2=status request AA: Authoritative answer TC: Truncated DNS packet RD: Recursion desired RA: Recursion available rcode: Return code. 0=no error, 3=name error

12 DNS Packet Fields (cont d) Transaction Identification: Random number used to match client queries with name server responses Number of Questions: Number of DNS queries in the packet Number of Answer RRs: Number of non-authoritative DNS responses in the packet Number of Authoritative RRs: Number of authoritative DNS responses in the packet Number of Additional RRs: Number of other DNS responses in the packet (usually contains other DNS servers in domain) Questions & Answers: Variable length fields to store DNS queries and DNS server responses

13 DNS Queries DNS Packet Question field contains a sequence of queries: Query name (variable length) Query Type Query Class Query Name: Contains an encoded form of the name for which we are seeking an IP address Query Type: 1=IP address, 2=name server, 12=pointer record, etc. Query Class: 1=Internet address (IN)

14 Encoding Query Names DNS queries must be encoded in a special way Divide host address into segments whenever a period appears For each segment, store a byte representing the length of the segment followed by the letters in the segment Store a zero byte at the end of the query

15 DNS Responses DNS Packet RR fields contain a sequence of resource records: Domain name (variable length) Type Class Time-to-live Resource data length Resource Data (variable length) Domain Name: Encoded domain name for query Type & Class: Same as for query (1=IP; 1=Internet) Time-to-Live: How long this responses will be useful Resource Data: Contains the four-byte IP address

16 DNS Caching Going to the root server and then down the tree every time we need to resolve an address is inefficient Introduce address caching at name servers Store host-to-ip-address mappings from recently requested host names at name server When the same address is requested later, use the cached version at the local name server instead of recursively querying other name servers again

17 DNS Caching Example remus.rutgers.edu First time: 1 8 Later: remus.rutgers.edu tries to resolve an IP address for venus.cs.yale.edu using a recursive query ns-lcsr.rutgers.edu 2 7 a.root-servers.net 3 6 venus.cs.yale.edu has been cached at ns-lcsr. remus.rutgers.edu (and any other host that uses ns-lcsr) will receive the cached IP address for venus.cs.yale.edu remus.rutgers.edu 1 2 ns-lcsr.rutgers.edu yale.edu 4 5 cs.yale.edu

18 DHCP (Ch 4.4.6) DHCP stands for dynamic host configuration protocol DHCP is client-server DHCP offers a number of more features Dynamic IP address allocation IP addresses can be leased for a certain time Useful where there are a limited number of IP addresses Useful for temporary connections (testing, laptops, mobile networks)

19 DHCP (cont d) DHCP has two components: A protocol for delivering bootstrap information from the server to the clients An algorithm for dynamically assigning addresses to clients

20 Address Allocation Modes DHCP supports three modes of allocation Automatic allocation: Server assigns a permanent address to a host Dynamic allocation: Server assigns a host an IP address with a finite lease Manual allocation: Server assigns host an IP address chosen by the network administrator

21 DHCP Packets (cont d) Request/Reply Hardware type Transaction ID Hardware address length in bytes Hop count Number of seconds Flags Client IP address Your IP address Server IP address Gateway IP address Client hardware address (16 bytes) Server hostname (64 bytes) Boot filename (128 bytes) Options (312+ bytes)

22 Definitions of address fields ciaddr Client IP address; only filled in if client is in BOUND, RENEW or REBINDING state and can respond to ARP requests. yiaddr 'your' (client) IP address. siaddr 4 IP address of next server to use in bootstrap; returned in DHCPOFFER, DHCPACK by server. giaddr Relay agent IP address, used in booting via a relay agent. chaddr Client hardware address.

23 DHCP Packet Fields All fields are same as BOOTP except: Flags: One flag currently defined Broadcast (bit 0): Clients can request that all DHCP server messages be broadcast to it Options: All DHCP packets must use the DHCP message type option, which defines the type of DHCP message being sent: DHCPDISCOVER DHCPOFFER DHCPREQUEST DHCPACK DHCPNAK etc.

24 DHCP Message types DHCP message types DHCP Discover: Client broadcasts to locate a server DHCP Offer: Server responds with proposal of parameters DHCP Request: Client broadcasts its choice of server. All other servers are implicitly declined. DHCP ACK: Selected server responds to client with address DHCP NAK: Selected server rejects the client s request DHCP Decline: Client declines server s parameters DHCP Release: Client releases its assigned address

25 DHCP Protocol Server 1 Client Server 2 DHCPDISCOVER DHCPDISCOVER DHCPOFFER DHCPOFFER Collects replies Selects server 2 DHCPREQUEST DHCPREQUEST DHCPACK

26 DHCP Protocol (cont d) DHCP client broadcasts a DHCP Discover message Client may specify preference of a lease and/or IP address Many servers may respond with offers Client chooses one server from them Client broadcasts DHCP request with id of chosen server Selected server sends DHCP ACK or NAK Client begins using offered IP address once it receives ACK If the client finds a problem, it sends a DHCP Decline message to the server and starts over again Client may choose to release the address before lease expires by sending a DHCP Release message to the server

27 DHCP Relay Agents Similar to BOOTP Relay Agents DHCP relay agents allow DHCP servers to handle requests from other subnets Client DHCP Relay Agent IP Gateway Router IP Gateway Router DHCP Server

28 Summary DHCP allow ignorant hosts to receive IP addresses (and more) at start-up time IP addresses don t have to be manually configured into hosts

29 Network address Translators (NAT) Ch Every host needs an IP address IPv4 address space is limited It is expensive to get an IP address for every device that may be connected to the internet IETF has set aside private IP address for use within a network but can be translated into a fixed public address by a special router NAT box

30 Private IP addreses (10/8 prefix) (172.16/12 prefix) ( /16 prefix) These addresses can be assigned to any of the machines within a network but will be translated to a public address by the NAT router Ports are used to distinguish among multiple addresses that need to be mapped from one public address to mutiple private addresses

31 NAT NAT provides mapping functions between public address and a private address Keep a table of internal addresses/ports and external hosts/ports contacted from the internals (we can map multiple internals to a single public address as long as they're coming from distinct ports) / / / / / /8004 Private LAN side Public WAN side

32 Disadvantages It is a hack Works only with TCP/UPD port connections NAT has to understand all higher layer application protocols to correctly map the port Every packet needs to be remapped Widespread deployment of IPv6 should help

33 Mobile-IP Chapter 4.9

34 Mobile users Explosion in usage of hand helds Anytime, anywhere wireless services Some connectivity everywhere Many-time, many-where (Infostations) Users can be connected when moving Users can be connect and disconnect to different networks

35 Mobility vs connectivity New research problems Continuous connectivity for a mobile host Seamless movement between networks Mobile systems Move from place to place while being wireless Move from place to place by plugging-in at different attachment points Why maintain connectivity? Avoid restarting applications/networks

36 IP address problem Internet hosts/interfaces are identified by IP address Domain name service translates host name to IP address IP address identifies host/interface and locates its network Mixes naming and location Moving to another network requires different network address But this would change the host s identity How can we still reach that host?

37 Basic idea Home Agent Foreign Agent MH = Mobile Host CH = correspondent HOST

38 Basic idea Mobile hosts attaches to foreign network and obtains guest address Via DHCP Via Foreign agent Registration with local agent LA has list of all foreign hosts visiting the network

39 Routing for mobile hosts MH = mobile host Home network Foreign network CH = correspondent host How to direct packets to moving hosts transparently? Home network Foreign network

40 Use Arp A designated router proxy-arps for mobile host H4 I have MH1 Who has MH1? Know? mh1@h4 MH1

41 Basic Mobile IP to mobile hosts MH = mobile host CH = correspondent host HA = home agent FA = foreign agent Home network HA CH (We ll see later that FA is not necessary or even desirable) Foreign network FA MH registers new care-of address (FA) with HA HA tunnels packets to FA FA decapsulates packets and delivers them to MH

42 IP-in-IP (Packet encapsulation) Packet from CH to MH Source address = address of CH Destination address = home IP address of MH Payload Home agent intercepts above packet and tunnels it Source address = address of HA Destination address = care-of address of MH Source address = address of CH Destination address = home IP address of MH Original payload

43 When mobile host moves again Home network Foreign network #1 HA FA #1 MH CH FA #2 Foreign network #2 MH MH registers new address (FA #2) with HA & FA #1 HA tunnels packets to FA #2, which delivers them to MH Packets in flight can be forwarded from FA #1 to FA #2

44 Basic Mobile IP - from mobile hosts Mobile hosts also send packets CH Home network HA Foreign network FA MH Mobile host uses its home IP address as source address -Lower latency as MH can send packets directly to CH -Still transparent to correspondent host This is called a triangle route or a dog-leg route

45 Problems with Foreign Agents Assumption of support from foreign networks A foreign agent exists in all networks you visit The foreign agent is robust and up and running The foreign agent is trustworthy

46 Solution Mobile host is responsible for itself -(With help from infrastructure in its home network) -Mobile host decapsulates packets -Mobile host sends its own packets - Co-located FA on MH CH Home network HA Foreign network MH MH must acquire its own IP address in foreign network This address is its new care-of address Mobile IP spec allows for this option

47 Obtaining a foreign IP address How to get a new IP address? DHCP Dynamic IP address binding like some dialup services

48 Problems with ingress/egress filtering Home network CH HA Foreign network MH Mobile host uses its home IP address as source address Security-conscious boundary routers will drop this packet An egress router will see a packet with source address that does not belonging to its network

49 Solution: bi-directional tunnel Home network CH HA Foreign network MH Provide choice of safe route through home agent both ways Use encapsulation in both directions (MH CH and CH MH)

50 Solution: yet more flexibility CH Home network HA Foreign network MH Use current care-of address and send packet directly -This is regular IP! -This is not mobility but portability

51 Do we need Mobile IP When do we really need this Mobile clients have short lived sessions Reconnect on move Most mobile users are in private net Mobile servers? Cellphone (IP enabled)

Protocol Classification

Protocol Classification DNS and DHCP TCP/IP Suite Suite of protocols (not just TCP and IP) Main protocols TCP and UDP at the Transport Layer, and IP at the Network Layer Other protocols ICMP, ARP, Telnet, Ftp, HTTP, SMTP, SNMP

More information

IP/MAC Address Translation

IP/MAC Address Translation IP/MAC Address Translation -Go over quiz answers -ARP -DHCP -NAT Today Transition from Network to Datalink How do we get datagrams to the right physical host? Tricky part comes when a router is forwarding

More information

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6

Manual Configuration Stateful Address Configuration (i.e. from servers) Stateless Autoconfiguration : IPv6 Manual Configuration Stateful Address Configuration (i.e. from servers) BOOTP DHCPv4, DHCPv6 Stateless Auto : IPv6 최양희서울대학교컴퓨터공학부 2005 Yanghee Choi 2 RARP Hardware address ---> IP address requires direct

More information

Dynamic Host Configuration

Dynamic Host Configuration Dynamic Host Configuration ITL RFC 2131 DHCP RFC 2132 DHCP Options RFC 951 - BOOTP 1/13/2004 (c) Hans Kruse & Shawn Ostermann, 2003 1 Overview How to Configure Hosts that Cannot store configuration info

More information

DHCP Technology White Paper

DHCP Technology White Paper DHCP Technology White Paper Keywords: DHCP, DHCP server, DHCP relay agent, DHCP client, BOOTP client. Abstract: This document describes DHCP basic concepts and applications, as well as the main functions

More information

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3

CS 356: Computer Network Architectures. Lecture 15: DHCP, NAT, and IPv6. [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 CS 356: Computer Network Architectures Lecture 15: DHCP, NAT, and IPv6 [PD] chapter 3.2.7, 3.2.9, 4.1.3, 4.3.3 Xiaowei Yang xwy@cs.duke.edu Dynamic Host Configuration Protocol (DHCP) Dynamic Assignment

More information

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2.

CS 356: Computer Network Architectures. Lecture 14: Switching hardware, IP auxiliary functions, and midterm review. [PD] chapter 3.4.1, 3.2. CS 356: Computer Network Architectures Lecture 14: Switching hardware, IP auxiliary functions, and midterm review [PD] chapter 3.4.1, 3.2.7 Xiaowei Yang xwy@cs.duke.edu Switching hardware Software switch

More information

What is mobility? Mobile IP. Mobility Impact on Protocol Stack (cont.) Advanced Topics in Computer Networks

What is mobility? Mobile IP. Mobility Impact on Protocol Stack (cont.) Advanced Topics in Computer Networks Advanced Topics in Computer Networks What is mobility? spectrum of mobility, from the perspective: Mobile IP no mobility high mobility Chalermek Intanagonwiwat Slides courtesy of James F. Kurose, Keith

More information

DHCP Basics (Dynamic Host Configuration Protocol) BUPT/QMUL

DHCP Basics (Dynamic Host Configuration Protocol) BUPT/QMUL DHCP Basics (Dynamic Host Configuration Protocol) BUPT/QMUL 2017-04-01 Topics In This Course Background Introduction of Internet TCP/IP and OSI/RM Socket programmingtypical Internet Applications DHCP (Dynamic

More information

Client Server Concepts, DNS, DHCP

Client Server Concepts, DNS, DHCP Client Server Concepts, DNS, DHCP Prof. I. Sengupta / Dr. S.K. Ghosh School of Information Technology Indian Institute of Technology, Kharagpur 1 Client-Server Model 2 Client-server Model Standard model

More information

DHCP. Computer Networks and Communicaton Protocols

DHCP. Computer Networks and Communicaton Protocols DHCP Computer Networks and Communicaton Protocols Overview What is DHCP? A Brief History & Motivation How It Works? DHCP Messages and Scenarios DHCP Message Format Dynamic Host Configuration Protocol The

More information

12. Name & Address 최양희서울대학교컴퓨터공학부

12. Name & Address 최양희서울대학교컴퓨터공학부 12. Name & Address 최양희서울대학교컴퓨터공학부 How do you get IP address? Manual Configuration Stateful Address Configuration (i.e. from servers) BOOTP DHCPv4, DHCPv6 Stateless Autoconfiguration : IPv6 2009 Yanghee

More information

Address Resolution: BOOTP & DHCP

Address Resolution: BOOTP & DHCP Content Address Resolution: BOOTP & DHCP Linda Wu Alternatives to RARP BOOTP Protocol DHCP Protocol (CMPT 471 2003-3) Reference: chapter 23 Notes-11 CMPT 471 2003-3 2 Alternatives to RARP During the startup

More information

Operation Manual DHCP. Table of Contents

Operation Manual DHCP. Table of Contents Table of Contents Table of Contents Chapter 1 DHCP Overview... 1-1 1.1 DHCP Principles... 1-1 1.1.1 BOOTP Relay Agent... 1-3 1.1.2 DHCP and BOOTP Relay Agent... 1-4 1.2 General DHCP Configuration... 1-4

More information

Network Model. Why a Layered Model? All People Seem To Need Data Processing

Network Model. Why a Layered Model? All People Seem To Need Data Processing Network Model Why a Layered Model? All People Seem To Need Data Processing Layers with Functions Packet Propagation Each router provides its services to support upper-layer functions. Headers (Encapsulation

More information

IP - The Internet Protocol

IP - The Internet Protocol IP - The Internet Protocol 1 Orientation IP s current version is Version 4 (IPv4). It is specified in RFC 891. TCP UDP Transport Layer ICMP IP IGMP Network Layer ARP Network Access Link Layer Media 2 IP:

More information

Operation Manual DHCP. Table of Contents

Operation Manual DHCP. Table of Contents Table of Contents Table of Contents Chapter 1 DHCP Overview... 1-1 1.1 Introduction to DHCP... 1-1 1.2 DHCP IP Address Assignment... 1-2 1.2.1 IP Address Assignment Policy... 1-2 1.2.2 Obtaining IP Addresses

More information

Understanding and Troubleshooting DHCP in Catalyst Switch or Enterprise Networks

Understanding and Troubleshooting DHCP in Catalyst Switch or Enterprise Networks Understanding and Troubleshooting DHCP in Catalyst Switch or Enterprise Networks Contents Introduction Example Scenarios Background Information Understanding DHCP Current DHCP RFC References DHCP Message

More information

Higher layer protocols

Higher layer protocols ETSF05/ETSF10 Internet Protocols Higher layer protocols DHCP DNS Real time applications RTP The hen or the egg? DHCP IP addr. IP DNS TCP UDP ETSF05/ETSF10 - Internet Protocols 2 What to configure IP address

More information

Chapter 7. IP Addressing Services. IP Addressing Services. Part I

Chapter 7. IP Addressing Services. IP Addressing Services. Part I Chapter 7 IP Addressing Services Part I CCNA4-1 Chapter 7-1 IP Addressing Services Dynamic Host Configuration Protocol (DHCP) CCNA4-2 Chapter 7-1 Dynamic Host Configuration Protocol (DHCP) Every device

More information

Objectives. Upon completion you will be able to:

Objectives. Upon completion you will be able to: Domain Name System: DNS Objectives Upon completion you will be able to: Understand how the DNS is organized Know the domains in the DNS Know how a name or address is resolved Be familiar with the query

More information

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model

Outline. CS5984 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Host Mobility Problem Solutions. Network Layer Solutions Model CS5984 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4.

Outline. CS6504 Mobile Computing. Host Mobility Problem 1/2. Host Mobility Problem 2/2. Dr. Ayman Abdel-Hamid. Mobile IPv4. CS6504 Mobile Computing Outline Host Mobility problem and solutions IETF Mobile IPv4 Dr. Ayman Abdel-Hamid Computer Science Department Virginia Tech Mobile IPv4 1 2 Host Mobility Problem 1/2 Host Mobility

More information

Configuring DHCP Snooping

Configuring DHCP Snooping This chapter contains the following sections: Information About DHCP Snooping, page 1 DHCP Overview, page 2 BOOTP Packet Format, page 4 Trusted and Untrusted Sources, page 6 DHCP Snooping Binding Database,

More information

Mobile Communications Mobility Support in Network Layer

Mobile Communications Mobility Support in Network Layer Motivation Mobility support needed to be able to use mobile devices in the Mobile devices need IP address for their communication Applications would like to communicate while being on the move Mobile Communications

More information

DHCP & NAT. Module : Computer Networks Lecturer : Lucy White Office : 324

DHCP & NAT. Module : Computer Networks Lecturer : Lucy White Office : 324 DHCP & NAT Module : Computer Networks Lecturer : Lucy White lbwhite@wit.ie Office : 324 1 Dynamic Host Configuration Protocol (DHCP) Every device that connects to a network needs an IP address. Network

More information

Mobile Communications Chapter 9: Network Protocols/Mobile IP

Mobile Communications Chapter 9: Network Protocols/Mobile IP Mobile Communications Chapter 9: Network Protocols/Mobile IP Motivation Data transfer Encapsulation Security IPv6 Problems DHCP Ad-hoc s Routing protocols 9.0.1 Motivation for Mobile IP Routing based on

More information

A DNS Tutorial

A DNS Tutorial http://ntrg.cs.tcd.ie/undergrad/4ba2/multicast/ Copyright Table of Contents What is a DNS?... 3 Why do we need a DNS?... 3 Why do computers prefer addresses based on numbers?... 3 What is a Domain Name,

More information

CS 457 Lecture 11 More IP Networking. Fall 2011

CS 457 Lecture 11 More IP Networking. Fall 2011 CS 457 Lecture 11 More IP Networking Fall 2011 IP datagram format IP protocol version number header length (bytes) type of data max number remaining hops (decremented at each router) upper layer protocol

More information

DHCP Overview. Information About DHCP. DHCP Overview

DHCP Overview. Information About DHCP. DHCP Overview The Dynamic Host Configuration Protocol (DHCP) is based on the Bootstrap Protocol (BOOTP), which provides the framework for passing configuration information to hosts on a TCP/IP network. DHCP adds the

More information

Operation Manual DHCP H3C S3600 Series Ethernet Switches-Release Table of Contents

Operation Manual DHCP H3C S3600 Series Ethernet Switches-Release Table of Contents Table of Contents Table of Contents Chapter 1 DHCP Overview... 1-1 1.1 Introduction to DHCP... 1-1 1.2 DHCP IP Address Assignment... 1-1 1.2.1 IP Address Assignment Policy... 1-1 1.2.2 Obtaining IP Addresses

More information

DHCP and DDNS Services

DHCP and DDNS Services This chapter describes how to configure the DHCP server or DHCP relay as well as dynamic DNS (DDNS) update methods. About, page 1 Guidelines for, page 3 Configure the DHCP Server, page 4 Configure the

More information

Troubleshooting DHCP server configuration 28

Troubleshooting DHCP server configuration 28 Contents DHCP overview 1 Introduction to DHCP 1 DHCP address allocation 1 Allocation mechanisms 1 Dynamic IP address allocation process 2 IP address lease extension 2 DHCP message format 3 DHCP options

More information

Domain Name System.

Domain Name System. Domain Name System http://xkcd.com/302/ CSCI 466: Networks Keith Vertanen Fall 2011 Overview Final project + presentation Some TCP and UDP experiments Domain Name System (DNS) Hierarchical name space Maps

More information

Introduction to DHCP. DHCP Overview

Introduction to DHCP. DHCP Overview Table of Contents Introduction to DHCP 1 DHCP Overview 1 DHCP Address Allocation 2 Allocation Mechanisms 2 Dynamic IP Address Allocation Process 2 DHCP Message Format 3 Protocols and Standards 4 DHCP Server

More information

Table of Contents 1 DHCP Overview DHCP Server Configuration 2-1

Table of Contents 1 DHCP Overview DHCP Server Configuration 2-1 Table of Contents 1 DHCP Overview 1-1 Introduction to DHCP 1-1 DHCP Address Allocation 1-2 Allocation Mechanisms 1-2 Dynamic IP Address Allocation Process 1-2 IP Address Lease Extension 1-3 DHCP Message

More information

LECTURE 8. Mobile IP

LECTURE 8. Mobile IP 1 LECTURE 8 Mobile IP What is Mobile IP? The Internet protocol as it exists does not support mobility Mobile IP tries to address this issue by creating an anchor for a mobile host that takes care of packet

More information

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering

Fixed Internetworking Protocols and Networks. IP mobility. Rune Hylsberg Jacobsen Aarhus School of Engineering Fixed Internetworking Protocols and Networks IP mobility Rune Hylsberg Jacobsen Aarhus School of Engineering rhj@iha.dk 1 2011 ITIFN Mobile computing Vision Seamless, ubiquitous network access for mobile

More information

Dynamic Host Configuration DHCP. DHCP Process Flow. Overview. DHCP Process Flow, cont. DHCP Process Flow, cont.

Dynamic Host Configuration DHCP. DHCP Process Flow. Overview. DHCP Process Flow, cont. DHCP Process Flow, cont. Dynamic Host Configuration RFC 2131 RFC 2132 Options RFC 951 - BOOTP ITL ITL: 2000-2005 Hans Kruse, Shawn Ostermann, Carl Bruggeman 2 Overview Process Flow How to Configure Hosts that Should not store

More information

HP FlexFabric 5930 Switch Series

HP FlexFabric 5930 Switch Series HP FlexFabric 5930 Switch Series Layer 3 - IP Services Configuration Guide Part number: 5998-4571 Software version: Release 2406 & Release 2407P01 Document version: 6W101-20140404 Legal and notice information

More information

Mobile IP. Mobile Computing. Mobility versus Portability

Mobile IP. Mobile Computing. Mobility versus Portability Mobile IP Mobile Computing Introduction Amount of mobile/nomadic computing expected to increase dramatically in near future. By looking at the great acceptance of mobile telephony, one can foresee a similar

More information

DHCP Overview. Information About DHCP. DHCP Overview. Last Updated: July 04, 2011

DHCP Overview. Information About DHCP. DHCP Overview. Last Updated: July 04, 2011 DHCP Overview DHCP Overview Last Updated: July 04, 2011 The Dynamic Host Configuration Protocol (DHCP) is based on the Bootstrap Protocol (BOOTP), which provides the framework for passing configuration

More information

BootP and DHCP. Flexible and Scalable Host Configuration 2005/03/11. (C) Herbert Haas

BootP and DHCP. Flexible and Scalable Host Configuration 2005/03/11. (C) Herbert Haas BootP and DHCP Flexible and Scalable Host Configuration (C) Herbert Haas 2005/03/11 Shortcomings of RARP Reverse Address Resolution Protocol Only IP Address distribution No subnet mask Using hardware address

More information

DHCP Overview. Introduction to DHCP

DHCP Overview. Introduction to DHCP Table of Contents DHCP Overview 1 Introduction to DHCP 1 DHCP Address Allocation 2 Allocation Mechanisms 2 Dynamic IP Address Allocation Process 2 IP Address Lease Extension 3 DHCP Message Format 3 DHCP

More information

Boot(ing) protocols. From (R)ARP to BSDP. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 9, 2007

Boot(ing) protocols. From (R)ARP to BSDP. dr. C. P. J. Koymans. Informatics Institute Universiteit van Amsterdam. November 9, 2007 Boot(ing) protocols From (R)ARP to BSDP dr. C. P. J. Koymans Informatics Institute Universiteit van Amsterdam November 9, 2007 dr. C. P. J. Koymans (UvA) Boot(ing) protocols November 9, 2007 1 / 20 ARP

More information

Domain Name Service. DNS Overview. October 2009 Computer Networking 1

Domain Name Service. DNS Overview. October 2009 Computer Networking 1 Domain Name Service DNS Overview October 2009 Computer Networking 1 Why DNS? Addresses are used to locate objects (contain routing information) Names are easier to remember and use than numbers DNS provides

More information

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ... 1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol

More information

IPv6: An Introduction

IPv6: An Introduction Outline IPv6: An Introduction Dheeraj Sanghi Department of Computer Science and Engineering Indian Institute of Technology Kanpur dheeraj@iitk.ac.in http://www.cse.iitk.ac.in/users/dheeraj Problems with

More information

EEC-684/584 Computer Networks

EEC-684/584 Computer Networks EEC-684/584 Computer Networks Lecture 14 wenbing@ieee.org (Lecture nodes are based on materials supplied by Dr. Louise Moser at UCSB and Prentice-Hall) Outline 2 Review of last lecture Internetworking

More information

DHCP and DDNS Services for Threat Defense

DHCP and DDNS Services for Threat Defense The following topics explain DHCP and DDNS services and how to configure them on Threat Defense devices. About DHCP and DDNS Services, on page 1 Guidelines for DHCP and DDNS Services, on page 3 Configure

More information

DNS Basics BUPT/QMUL

DNS Basics BUPT/QMUL DNS Basics BUPT/QMUL 2018-04-16 Related Information Basic function of DNS Host entry structure in Unix Two system calls for DNS database retrieving gethostbyname () gethostbyaddr () 2 Agenda Brief introduction

More information

Operation Manual DHCP H3C S5500-SI Series Ethernet Switches. Table of Contents. Table of Contents

Operation Manual DHCP H3C S5500-SI Series Ethernet Switches. Table of Contents. Table of Contents Table of Contents Table of Contents Chapter 1 DHCP Overview... 1-1 1.1 Introduction to DHCP... 1-1 1.2 DHCP Address Allocation... 1-1 1.2.1 Allocation Mechanisms... 1-1 1.2.2 Dynamic IP Address Allocation

More information

DHCP Configuration. Page 1 of 14

DHCP Configuration. Page 1 of 14 DHCP Configuration Page 1 of 14 Content Chapter 1 DHCP Configuration...1 1.1 DHCP Overview...1 1.2 DHCP IP Address Assignment... 1 1.2.1 IP Address Assignment Policy...1 1.2.2 Obtaining IP Addresses Dynamically...2

More information

HP 5120 SI Switch Series

HP 5120 SI Switch Series HP 5120 SI Switch Series Layer 3 - IP Services Configuration Guide Part number: 5998-1807 Software version: Release 1513 Document version: 6W100-20130830 Legal and notice information Copyright 2013 Hewlett-Packard

More information

Mobility Management - Basics

Mobility Management - Basics Mobility Management - Basics Summer Semester 2012 Integrated Communication Systems Group Ilmenau University of Technology Content Motivation Problem and possible solutions IP-based mobility management

More information

Lecture 4: Basic Internet Operations

Lecture 4: Basic Internet Operations Lecture 4: Basic Internet Operations Prof. Shervin Shirmohammadi SITE, University of Ottawa Prof. Shervin Shirmohammadi CEG 4395 4-1 LAN View A LAN 2 B Hub 2 Gateway to Internet Hub 1 Z (Gateway) LAN 1

More information

Networking Applications

Networking Applications Networking Dr. Ayman A. Abdel-Hamid College of Computing and Information Technology Arab Academy for Science & Technology and Maritime Transport 1 Outline Introduction Name Space concepts Domain Name Space

More information

IP Addressing: DHCP Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series)

IP Addressing: DHCP Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series) IP Addressing: DHCP Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series) First Published: 2014-07-29 Last Modified: 2014-11-22 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive

More information

HP A3100 v2 Switch Series

HP A3100 v2 Switch Series HP A3100 v2 Switch Series Layer 3 - IP Services Configuration Guide HP A3100-8 v2 SI Switch (JG221A) HP A3100-16 v2 SI Switch (JG222A) HP A3100-24 v2 SI Switch (JG223A) HP A3100-8 v2 EI Switch (JD318B)

More information

Internet Mobility 4x4. Stuart Cheshire and Mary Baker

Internet Mobility 4x4. Stuart Cheshire and Mary Baker Internet Mobility 4x4 Stuart Cheshire and Mary Baker Basic Mobile IP - from mobile hosts Mobile host uses its home IP address as source address Lower latency Still transparent to correspondent host No

More information

Guide to TCP/IP, Third Edition. Chapter 8: The Dynamic Host Configuration Protocol

Guide to TCP/IP, Third Edition. Chapter 8: The Dynamic Host Configuration Protocol Guide to TCP/IP, Third Edition Chapter 8: The Dynamic Host Configuration Protocol 1 Objectives Understand the basic services DHCP offers to its clients and explain its background Understand the specifics

More information

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land

IPv6 Protocols and Networks Hadassah College Spring 2018 Wireless Dr. Martin Land IPv6 1 IPv4 & IPv6 Header Comparison IPv4 Header IPv6 Header Ver IHL Type of Service Total Length Ver Traffic Class Flow Label Identification Flags Fragment Offset Payload Length Next Header Hop Limit

More information

rfc1541.txt Impreso por Emilio Hern 25 oct 93 15:17 rfc1541.txt 25 oct 93 15:17 Página RFC 1541 Dynamic Host Configuration Protocol October 1993

rfc1541.txt Impreso por Emilio Hern 25 oct 93 15:17 rfc1541.txt 25 oct 93 15:17 Página RFC 1541 Dynamic Host Configuration Protocol October 1993 25 oct 93 15:17 Página 1/39 25 oct 93 15:17 Página Network Working Group R. Droms Request for Comments: 1541 Bucknell University Obsoletes: 1531 October 1993 Category: Standards Track Status of this memo

More information

DHCP Based Configuration of Mobile Node from Home Network. Hui. Deng [China Mobile]

DHCP Based Configuration of Mobile Node from Home Network. Hui. Deng [China Mobile] DHCP Based Configuration of Mobile Node from Home Network Hui. Deng [China Mobile] Basic Idea providing the host configuration parameters needed for network service from home network based on DHCPINFORM.

More information

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis

CS-435 spring semester Network Technology & Programming Laboratory. Stefanos Papadakis & Manolis Spanakis CS-435 spring semester 2016 Network Technology & Programming Laboratory University of Crete Computer Science Department Stefanos Papadakis & Manolis Spanakis CS-435 Lecture #4 preview ICMP ARP DHCP NAT

More information

Configuring the Cisco IOS DHCP Relay Agent

Configuring the Cisco IOS DHCP Relay Agent All Cisco devices that run Cisco software include a DHCP server and the relay agent software. A DHCP relay agent is any host or IP device that forwards DHCP packets between clients and servers. This module

More information

# " # % # $ " # $ ! & #' ( )

#  # % # $  # $   !    & #' ( ) {ip_input 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 bits netid / hostid 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 bits Version IHL Type of Service Total Length

More information

operating system, must be downloaded from the network. clients, diskless workstations, and small embedded systems.

operating system, must be downloaded from the network. clients, diskless workstations, and small embedded systems. Boot Protocol Nowadays it s commonplace for computers to be added to a network, or moved from one network to another. Commonplace activities should be easy, and this is the motivation for protocols such

More information

DHCP Based Configuration of Mobile Node from Home Network. Hui. Deng* [China Mobile] Peny Yang [Hitachi (China) R&D Corp]

DHCP Based Configuration of Mobile Node from Home Network. Hui. Deng* [China Mobile] Peny Yang [Hitachi (China) R&D Corp] DHCP Based Configuration of Mobile Node from Home Network Hui. Deng* [China Mobile] Peny Yang [Hitachi (China) R&D Corp] Basic Considerations providing the host configuration parameters needed for network

More information

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0

Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 Chapter 10: Application Layer CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 10 Chapter 10 - Sections & Objectives 10.1 Application Layer Protocols Explain the operation of the application

More information

DHCP Client. Finding Feature Information. Restrictions for the DHCP Client

DHCP Client. Finding Feature Information. Restrictions for the DHCP Client The Cisco Dynamic Host Configuration Protocol (DHCP) Client feature allows a Cisco device to act as a host requesting configuration parameters, such as an IP address, from a DHCP server. Finding Feature

More information

ip dhcp-client network-discovery through ip nat sip-sbc

ip dhcp-client network-discovery through ip nat sip-sbc ip dhcp-client network-discovery through ip nat sip-sbc ip dhcp-client network-discovery, page 3 ip dhcp-client update dns, page 5 ip dhcp drop-inform, page 8 ip dhcp-relay information option server-override,

More information

Content Distribution Networks

Content Distribution Networks Content Distribution Networks 1. Vivesecting youtube: An active measurement study INFOCOM 2012 2. Unreeling netflix: understanding and improving multi-cdn movie delivery INFOCOM 2012 Domain Name System

More information

Implementing the Dynamic Host Configuration Protocol

Implementing the Dynamic Host Configuration Protocol Implementing the Dynamic Host Configuration Protocol This module describes the concepts and tasks you will use to Dynamic Host Configuration Protocol (DHCP). Feature History for Implementing the Dynamic

More information

The Application Layer: Sockets, DNS

The Application Layer: Sockets, DNS The Application Layer: Sockets, DNS CS 352, Lecture 3 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana 1 App-layer protocol Types of messages exchanged, e.g., request, response Message format:

More information

Network Working Group R. Droms Request for Comments: 2131 University Obsoletes: Category: Standards Track

Network Working Group R. Droms Request for Comments: 2131 University Obsoletes: Category: Standards Track Network Working Group R. Droms Request for Comments: 2131 Bucknell University Obsoletes: 1541 March Category: Standards Track Status of this memo Dynamic Host Configuration Protocol This document specifies

More information

Enterprise Data Communication Products. Feature Description - IP Service. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD.

Enterprise Data Communication Products. Feature Description - IP Service. Issue 05 Date HUAWEI TECHNOLOGIES CO., LTD. Issue 05 Date 2013-04-25 HUAWEI TECHNOLOGIES CO., LTD. 2013. All rights reserved. No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of

More information

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local

IPv6. IPv4 & IPv6 Header Comparison. Types of IPv6 Addresses. IPv6 Address Scope. IPv6 Header. IPv4 Header. Link-Local 1 v4 & v6 Header Comparison v6 Ver Time to Live v4 Header IHL Type of Service Identification Protocol Flags Source Address Destination Address Total Length Fragment Offset Header Checksum Ver Traffic Class

More information

Network Layer: DHCP, ICMP, NAT, IPv6

Network Layer: DHCP, ICMP, NAT, IPv6 Network Layer:, ICMP, NAT, IPv6 CS 352, Lecture 11 http://www.cs.rutgers.edu/~sn624/352-s19 Srinivas Narayana (heavily adapted from slides by Prof. Badri Nath and the textbook authors) 1 IP addresses:

More information

This time. Digging into. Networking. Protocols. Naming DNS & DHCP

This time. Digging into. Networking. Protocols. Naming DNS & DHCP This time Digging into Networking Protocols Naming DNS & DHCP Naming IP addresses allow global connectivity But they re pretty useless for humans! Can t be expected to pick their own IP address Can t be

More information

Transport: How Applications Communicate

Transport: How Applications Communicate Transport: How Applications Communicate Week 2 Philip Levis 1 7 Layers (or 4) 7. 6. 5. 4. 3. 2. 1. Application Presentation Session Transport Network Link Physical segments packets frames bits/bytes Application

More information

Addressing protocols. TELE3118 lecture notes Copyright by Tim Moors Aug-09. Copyright Aug-09, Tim Moors

Addressing protocols. TELE3118 lecture notes Copyright by Tim Moors Aug-09. Copyright Aug-09, Tim Moors Addressing protocols TELE3118 lecture notes Copyright by Tim Moors Aug-09 2 Which address(es) to use? How does source determine addresses when sending to www.example.com? o Source has its MAC address o

More information

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model

Lecture 8. Basic Internetworking (IP) Outline. Basic Internetworking (IP) Basic Internetworking (IP) Service Model Lecture 8 Basic Internetworking (IP) Reminder: Homework 3, Programming Project 2 due on Tuesday. An example internet is shown at right. Routers or gateways are used to connect different physical networks.

More information

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask

Unit C - Network Addressing Objectives Purpose of an IP Address and Subnet Mask Purpose of an IP Address and Subnet Mask 1 2 3 4 5 6 7 8 9 10 Unit C - Network Addressing Objectives Describe the purpose of an IP address and Subnet Mask and how they are used on the Internet. Describe the types of IP Addresses available. Describe

More information

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1

Lecture 8. Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Lecture 8 Reminder: Homework 3, Programming Project 2 due on Thursday. Questions? Tuesday, September 20 CS 475 Networks - Lecture 8 1 Outline Chapter 3 - Internetworking 3.1 Switching and Bridging 3.2

More information

CSE 123b Communications Software

CSE 123b Communications Software CSE 123b Communications Software Spring 2004 Lecture 9: Mobile Networking Stefan Savage Quick announcements Typo in problem #1 of HW #2 (fixed as of 1pm yesterday) Please consider chapter 4.3-4.3.3 to

More information

Quick announcements. CSE 123b Communications Software. Today s issues. Last class. The Mobility Problem. Problems. Spring 2004

Quick announcements. CSE 123b Communications Software. Today s issues. Last class. The Mobility Problem. Problems. Spring 2004 CSE 123b Communications Software Spring 2004 Lecture 9: Mobile Networking Quick announcements Typo in problem #1 of HW #2 (fixed as of 1pm yesterday) Please consider chapter 4.3-4.3.3 to be part of the

More information

FiberstoreOS. IP Service Configuration Guide

FiberstoreOS. IP Service Configuration Guide FiberstoreOS IP Service Configuration Guide Contents 1 Configuring ARP... 1 1.1 Overview... 1 1.2 Configuring ARP... 1 1.3 Validation commands...2 2 Configuring Proxy ARP...4 2.1 Overview... 4 2.2 Configuring

More information

IP ADDRESSES, NAMING, AND DNS

IP ADDRESSES, NAMING, AND DNS IP ADDRESSES, NAMING, AND DNS George Porter Apr 9, 2018 ATTRIBUTION These slides are released under an Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) Creative Commons license These

More information

6 Chapter 6. Figure 1 Required Unique Addresses

6 Chapter 6. Figure 1 Required Unique Addresses 6 Chapter 6 6.1 Public and Private IP Addresses The stability of the Internet depends directly on the uniqueness of publicly used network addresses. In Figure 1 Required Unique Addresses, there is an issue

More information

Chapter 4 Network Layer: The Data Plane

Chapter 4 Network Layer: The Data Plane Chapter 4 Network Layer: The Data Plane A note on the use of these Powerpoint slides: We re making these slides freely available to all (faculty, students, readers). They re in PowerPoint form so you see

More information

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi).

CS475 Networks Lecture 8 Chapter 3 Internetworking. Ethernet or Wi-Fi). Assignments Reading for Lecture 9: Section 3.3 3.2 Basic Internetworking (IP) Bridges and LAN switches from last section have limited ability CS475 Networks Lecture 8 Chapter 3 Internetworking is a logical

More information

CSE 123A Computer Netwrking

CSE 123A Computer Netwrking CSE 123A Computer Netwrking Winter 2005 Mobile Networking Alex Snoeren presenting in lieu of Stefan Savage Today s s issues What are implications of hosts that move? Remember routing? It doesn t work anymore

More information

MCSA Guide to Networking with Windows Server 2016, Exam

MCSA Guide to Networking with Windows Server 2016, Exam MCSA Guide to Networking with Windows Server 2016, Exam 70-741 First Edition Chapter 4 Implementing DHCP 2018 Cengage. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part,

More information

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage

Communications Software. CSE 123b. CSE 123b. Spring Lecture 10: Mobile Networking. Stefan Savage CSE 123b CSE 123b Communications Software Spring 2003 Lecture 10: Mobile Networking Stefan Savage Quick announcement My office hours tomorrow are moved to 12pm May 6, 2003 CSE 123b -- Lecture 10 Mobile

More information

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003

Quick announcement. CSE 123b Communications Software. Last class. Today s issues. The Mobility Problem. Problems. Spring 2003 CSE 123b Communications Software Quick announcement My office hours tomorrow are moved to 12pm Spring 2003 Lecture 10: Mobile Networking Stefan Savage May 6, 2003 CSE 123b -- Lecture 10 Mobile IP 2 Last

More information

Mohammad Hossein Manshaei 1393

Mohammad Hossein Manshaei 1393 Mohammad Hossein Manshaei manshaei@gmail.com 1393 Mobile IP 2 Mobile Network Layer: Problems and Concerns Entities and Terminology in Mobile IP Mobile Indirect Routing Mobile IP Agent Advertisement Registration

More information

ECS-087: Mobile Computing

ECS-087: Mobile Computing ECS-087: Mobile Computing Mobile IP Most of the slides borrowed from Prof. Sridhar Iyer Diwakar Yagyasen.1 Effect of Mobility on Protocol Stack Application: new applications and adaptations Transport:

More information

Internet protocols: ICMP, ARP, DHCP

Internet protocols: ICMP, ARP, DHCP Internet protocols: ICMP, ARP, DHCP Claudio Cicconetti International Master on Information Technology International Master on Communication Networks Engineering Table of Contents

More information

Mobility Management Basics

Mobility Management Basics Mobility Management Basics Summer Semester 2011 Integrated Communication Systems Group Ilmenau University of Technology Content Motivation Problem and possible solutions IP-based mobility management Conclusions

More information