1 ©1999-2000 Process Software Corp. DHCP Failover Protocol Jeff DECUS Europe 2000 Thursday, 13 Apr 2000 9:00 - 9:45.

Slides:



Advertisements
Similar presentations
IP/MAC Address Translation
Advertisements

DHCP Dynamic Host Configuration Part 7 NVCC Professional Development TCP/IP.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
1 Internet Networking Spring 2006 Tutorial 8 DNS and DHCP as UDP applications.
Dynamic Host Configuration Protocol (DHCP)
RFC 2131 DHCP. Dynamic Host Configuration Protocol.
Hands-On Microsoft Windows Server 2003 Networking Chapter 5 Dynamic Host Configuration Protocol.
Johns Hopkins DHCP/DNS Lunch and Learn Presenters:  Gilbert Agyapong  Alan Shackelford.
Chapter Overview Understanding DHCP Configuring a DHCP Server
Managing DHCP. 2 DHCP Overview Is a protocol that allows client computers to automatically receive an IP address and TCP/IP settings from a Server Reduces.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 4: Dynamic Host Configuration Protocol.
DHCP Dynamic Host Configuration Protocol CIS 856: TCP/IP and Upper Layer Protocols Presented by Kyle Getz October 20, 2005.
1 Spring Semester 2009, Dept. of Computer Science, Technion Internet Networking recitation #2 DNS and DHCP.
Microsoft Windows Server 2003 TCP/IP Protocols and Services Technical Reference Slide: 1 Lesson 16 Dynamic Host Configuration Protocol (DHCP)
Implementing Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP)
Determining an Internet Address at Startup
Bootstrap and Autoconfiguration (DHCP)
DHCP Training.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
CMPT 471 Networking II DHCP © Janice Regan,
Multicasting  A message can be unicast, multicast, or broadcast.
資 管 Lee Application Layer and Client-Server Model A3.
Implementing Dynamic Host Configuration Protocol
1 CMPT 471 Networking II DHCP Failover and multiple servers © Janice Regan,
Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Dynamic Host Configuration Protocol (DHCP). History Diskless workstations –needed to know configuration parameters like IP address, netmask, gateway address.
DHCP Dynamic Host Configuration Protocol (RFC 2131) Michael Sadowsky CISC University of Delaware October 12, 2004 BOOTP Bootstrap Protocol (RFC.
Sublayers Under the Network Layer: BOOTP & DHCP
1 CS 4396 Computer Networks Lab Dynamic Host Configuration Protocol (DHCP)
Bootstrap and Autoconfiguration Chapter 23. Introduction Each computer attached to a TCP/IP internet needs to know: –its IP address –the address of a.
Week 7 Objectives Installing a DHCP Server Role Configuring DHCP Scopes Managing a DHCP Database Securing and Monitoring DHCP.
Why Use DHCP? DHCP reduces the complexity and amount of administrative work by using automatic TCP/IP configuration Manual TCP/IP Configuration IP addresses.
Week #3: Configuring and Troubleshooting DHCP
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 4 Installing and Configuring the Dynamic Host Configuration Protocol.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
DHCP/BOOTP Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol (DHCP) is a network protocol that enables a server to automatically.
Module 4: Configuring and Troubleshooting DHCP
BZUPAGES.COM BOOTP and DHCP The Bootstrap Protocol (BOOTP) is a client/server protocol that configures a diskless computer or a computer that is booted.
Module 2: Allocating IP Addressing by Using Dynamic Host Configuration Protocol (DHCP)
Dynamic Host Configuration Protocol Avanthi Koneru Uttara Sawant Srikanth Palla.
Chapter 17 BOOTP and DHCP.
Chapter 18 Host Configuration : DHCP
Chapter 22 Bootstrap and Auto configuration (DHCP) History of Bootstrap -Bootstrap is used to assign IP address to the computer. -Constant changes in the.
1 Network Address Translation (NAT) and Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about private networks and NAT.
CIS 856: TCP/IP and Upper Layer Protocols Karthik Ravindra Nov 11, 2008 Dynamic Host Configuration Protocol [DHCP] - RFC 2131.
Allocating IP Addressing by Using Dynamic Host Configuration Protocol.
Multicasting  A message can be unicast, multicast, or broadcast. Let us clarify these terms as they relate to the Internet.
1 Objectives Discuss the basics of Dynamic Host Configuration Protocol (DHCP) Describe the components and processes of DHCP Install DHCP in a Windows Server.
Address Translation Outline Datalink layer intro ARP RARP DHCP.
Dynamic Host Configuration Protocol (DHCP) DHCP provides a temporary IP address for a limited period of time DHCP has two databases. First one has static.
BAI513 - PROTOCOLS DHCP BAIST – Network Management.
Configuring and Managing the DHCP Server Role. DHCP overview RARP – one of the first ways to assign addresses BOOTP – Another legacy way to assign addresses.
1 Kyung Hee University Chapter 16 Host Configuration : BOOTP and DHCP.
Dynamic Host Configuration Protocol
Dynamic Host Configuration Protocol (DHCP)
Configuring and Troubleshooting DHCP
Dynamic Host Configuration Protocol (DHCP)
BOOTP and DHCP Objectives
Net 431 D: ADVANCED COMPUTER NETWORKS
Chapter 18 Host Configuration : DHCP
Ana Maria Chanaba Robert Huylo
Chapter 16 Host Configuration : BOOTP and DHCP
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Overview Multimedia: The Role of DHCP in the Network Infrastructure
Chapter 18 Host Configuration : DHCP
Dynamic Host Configuration Protocol (DHCP)
Presentation transcript:

1 © Process Software Corp. DHCP Failover Protocol Jeff DECUS Europe 2000 Thursday, 13 Apr :00 - 9:45

2 © Process Software Corp. Outline l DHCP Basic Operation l Existing forms of Redundancy l Requirements for Failover Redundancy l Problems, Goals, and Limitations l How it works

3 © Process Software Corp. Redundancies l DNS: both Primary and Secondary l Hardware configurations l But only make-shift redundancies for DHCP

4 © Process Software Corp. Basically, how DHCP works l Client: DHCPDISCOVER l Server: DHCPOFFER l Client:DHCPREQUEST –or DHCPDECLINE l Server: DHCPACK –Lease time –IP address –DNS server & other information

5 © Process Software Corp. Basically, how DHCP works l Client goes into a “bound” state and starts the T1 and T2 timers l T1 is 1/2 the Lease time l T2 is about 80% of the lease time. l At T1, client sends a (unicast) DHCPREQUEST to renew the lease.

6 © Process Software Corp. Basically, how DHCP works l 3 things can happen –Server says ‘No’ and client gives up address at the end of the lease –No response. Therefore, the client keeps trying until T2 when it sends out a broadcast. –Gets the renewal as desired. New lease starts here.

7 © Process Software Corp. Basically, how DHCP works l Clients on different network as the server: use a DHCP relay that forwards DHCP communications from one subnet to the other.

8 © Process Software Corp. Existing forms of DHCP redundancy l 2 DHCP servers, both active at the same time. –No synchronization or communications between servers –2 disjoint address pools. –inefficient –wastes addresses. –Increases network recourses –both servers respond to clients

9 © Process Software Corp. Existing forms of DHCP redundancy l Brute force: –Have a standby server and periodically save the lease database. –Performance problems. –Possibility of issuing one address to two clients. l Proprietary primary backup solutions –do not provide “safe” failover (1 address can be given to two clients).

10 © Process Software Corp. Requirements for Failover servers l Cannot give two clients the same address. l The secondary should be able to take over for the primary. l Do not change the fundamental way that DHCP works. –Do not change the client –Server can change (al biet slightly) –Client to give up the lease when told to or at the end of the lease if it does not get renewed.

11 © Process Software Corp. Things to address l How does primary server update secondary and when. l Failover assumes that an INIT_REBOOT does not have an existing address. This scenario can happen if the Client gets the 1st address while primary cannot talk to secondary, then reboots again.

12 © Process Software Corp. Things to address l Server updates require stable storage to work reliably. Don’t want to add a significant amount of time that it already takes to do this. l Clients may not be on same network Therefore need to have a DHCP relay forward the DHCP stuff to a particular server to that that can send a request to more than one server.

13 © Process Software Corp. Problems to be aware of l Primary crashes before it can update secondary. Secondary has no record of primary allocation (DHCPACK) l Primary and secondary cannot talk but clients can see both. (network partitioning) l Inherent to TCP connections, is keepalives to make sure that the secondary is there.

14 © Process Software Corp. Problems to be aware of l In a TCP connection (as opposed to a UDP) will time out and will take up to 9 minutes. This usually cannot be changed. This is too long for a DHCP. RESULTS: TCP is useful for reliable message delivery, but cannot be depended upon do detect server failover.

15 © Process Software Corp. Goals (continued) l Must work with existing clients l Must work with existing boot relay agents l Must provide failover redundancy between servers that are not located on the same subnet l Provide service to DHCP clients in the event of primary server failure.

16 © Process Software Corp. Goals (continued) l Avoid binding (giving) and address to a client that another client already has. (no duplicate addresses) l Minimize the need for manual administration intervention. l Impose no additional client delays as a result of primary-backup communications l Share IP pools between primary and secondary servers

17 © Process Software Corp. Goals (continued) l Handled partitioned networks. l Resynchronize without operator intervention when primary failure is corrected. l Enable one server to be secondary to many primary servers. l Allow proper lease renewal from either server.

18 © Process Software Corp. Goals (continued) l If either server loses all of the information that it has stored in stable storage, it should be able to refresh from the other server.

19 © Process Software Corp. Limitations l Only one secondary server. l Have a subset of addresses that only the secondary can hand out. l Neither server hand out addresses during a recovering failure.

20 © Process Software Corp. MCLT l Maximum Client Lead Time l a “lease time” known to both the secondary and primary servers. l Places an upper bound on the difference allowed between the lease time given to a client by a server and the lease time known by the other server. l Is much less than the “real” lease time.

21 © Process Software Corp. MCLT l Tell the client what the other server knows, plus MCLT l Tell the other server what the client wanted (or what the client was supposed to get) plus 1/2 of what it got l Don’t give the client more than what it asked for (or what it was supposed to get).

22 © Process Software Corp. Client Primary DHCP Server DHCPREQUEST 1 1 hour (MCLT) 2 Secondary DHCP Server Practical Use 1 day + 1/2 hour 3 1/2 Hour Later Renew Request 4 1 day (Lease) 5 1 day + 1/2 hour 6 1/2 Day Later Renew Request 7 1 day (Lease) 8 1 day + 1/2 hour 9

23 © Process Software Corp. Primary DHCP Server Primary DHCP Server Primary DHCP Server Client DHCPREQUEST 1 1 hour (MCLT) 2 Secondary DHCP Server Practical Use 1 day + 1/2 hour 3 1/2 Hour Later Renew Request 4 (No Answer) Request Broadcasted 5 1 Hour (MCLT) 6 “I’m Back” 7 “Here’s what I’ve done” 8 Primary DHCP Server Primary DHCP Server

24 © Process Software Corp. Questions That’s all folks… Any Questions?

25 © Process Software Corp. Getting the Slides Slides available via anonymous FTP: ftp://ftp.process.com/decus/europe_2000/dhcp_failover.ppt