Скачать презентацию Johns Hopkins DHCP DNS Lunch and Learn Presenters q Скачать презентацию Johns Hopkins DHCP DNS Lunch and Learn Presenters q

2b36cc257ac4f64eb18ba038687f7475.ppt

  • Количество слайдов: 13

Johns Hopkins DHCP/DNS Lunch and Learn Presenters: q Gilbert Agyapong q Alan Shackelford Johns Hopkins DHCP/DNS Lunch and Learn Presenters: q Gilbert Agyapong q Alan Shackelford

Dynamic Host Configuration Protocol (DHCP) § DHCP enables client systems to retrieve network configuration Dynamic Host Configuration Protocol (DHCP) § DHCP enables client systems to retrieve network configuration information such as, default-gateway, subnetmask, domain-name-server, etc. , when connecting to the network and it centralizes the process. ü Dynamically update DNS servers ü Divide hosts into classes, based on many criteria § When you configure Windows to “Obtain an address automatically, ” DHCP is the service providing that address.

DHCP (Cont. ) Why DHCP? § Manually assigning IP addresses (the alternative to DHCP) DHCP (Cont. ) Why DHCP? § Manually assigning IP addresses (the alternative to DHCP) causes: • More work to set up • Much more work to change • IP address conflicts • Unsatisfied users • Manual update of DNS servers • Difficult to divide hosts into classes, based on criteria

DHCP (Cont. ) § Server offers IP address and network parameters for a limited DHCP (Cont. ) § Server offers IP address and network parameters for a limited time (called a lease) § In practice, leases may vary from 30 minutes to a week or so § Short lease: • Clients get updated parameters quickly • Essential if you have more clients than addresses • Requires more processing power on the server. § Long Lease: • More reliable (clients may continue to operate for a week after DHCP server fails) • But takes longer for all clients to get new settings if they change.

DHCP (Cont. ) § DHCPDISCOVER — from client • client has no address, asking DHCP (Cont. ) § DHCPDISCOVER — from client • client has no address, asking for a new one § DHCPOFFER — from server • Offer of address and other parameters DHCPREQUEST — from client • Client asks if it can use the offered address and parameters DHCPACK — from server • Server says “yes, go ahead, this address and these parameters are yours; the lease starts now. ”

DHCP (Cont. ) § DHCPNAK — from server • client has no address, asking DHCP (Cont. ) § DHCPNAK — from server • client has no address, asking for a new one § DHCPDECLINE — from client • Client has detected another machine is using the offered address, and tells the server about this problem § DHCPRELEASE — from client • Server expires the lease immediately § DHCPINFORM — from client • Client already has an IP address, but wants other network settings from the server

DHCP (Cont. ) Obtaining an initial configuration § The client is booting with no DHCP (Cont. ) Obtaining an initial configuration § The client is booting with no IP lease

DHCP (Cont. ) Extending a lease § Lease is extended at T 1 before DHCP (Cont. ) Extending a lease § Lease is extended at T 1 before expires. T 1 = leasetime/2

DHCP (Cont. ) Moving a computer to new subnet § Refuse old address, issue DHCP (Cont. ) Moving a computer to new subnet § Refuse old address, issue a new one

DHCP (Cont. ) § Refuse old address, issue a new one DHCP (Cont. ) § Refuse old address, issue a new one

DNS § DNS is hierarchical § Each node in hierarchy stores a list of DNS § DNS is hierarchical § Each node in hierarchy stores a list of names that end with same suffix root org edu gwu ucb com cmu net bu cs cmcl ece uk mit

DNS Cont. DNS Cont.

DNS DNS