欢迎来到天天文库
浏览记录
ID:37594092
大小:268.05 KB
页数:52页
时间:2019-05-25
《基于IOS配置DHCP》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、CiscoIOSDHCPServerFeatureOverviewDynamicHostControlProtocol(DHCP)enablesyoutoautomaticallyassignreusableIPaddressestoDHCPclients.TheCiscoIOSDHCPServerfeatureisafullDHCPserverimplementationthatassignsandmanagesIPaddressesfromspecifiedaddresspoolswithintheroutertoDHCPcl
2、ients.IftheCiscoIOSDHCPServercannotsatisfyaDHCPrequestfromitsowndatabase,itcanforwardtherequesttooneormoresecondaryDHCPserversdefinedbythenetworkadministrator.Figure1showsthebasicstepsthatoccurwhenaDHCPclientrequestsanIPaddressfromaDHCPserver.Theclient,HostA,sendsaDHC
3、PDISCOVERbroadcastmessagetolocateaCiscoIOSDHCPServer.ADHCPserveroffersconfigurationparameters(suchasanIPaddress,aMACaddress,adomainname,andaleasefortheIPaddress)totheclientinaDHSCPOFFERunicastmessage.Figure1DHCPRequestforanIPAddressfromaDHCPServerDHCPDISCOVER(broadcas
4、t)HostACiscoIOSDHCPOFFER(unicast)DHCPserverDHCPREQUEST(broadcast)DHCPACK(unicast)32369NoteADHCPclientmayreceiveoffersfrommultipleDHCPserversandcanacceptanyoneoftheoffers;however,theclientusuallyacceptsthefirstofferitreceives.Additionally,theofferfromtheDHCPserverisnot
5、aguaranteethattheIPaddresswillbeallocatedtotheclient;however,theserverusuallyreservestheaddressuntiltheclienthashadachancetoformallyrequesttheaddress.TheclientreturnsaformalrequestfortheofferedIPaddresstotheDHCPserverinaDHCPREQUESTbroadcastmessage.TheDHCPserverconfirm
6、sthattheIPaddresshasbeenallocatedtotheclientbyreturningaDHCPACKunicastmessagetotheclient.CiscoIOSDHCPServer1BenefitsNoteTheformalrequestfortheofferedIPaddress(theDHCPREQUESTmessage)thatissentbytheclientisbroadcastsothatallotherDHCPserversthatreceivedtheDHCPDISCOVERbr
7、oadcastmessagefromtheclientcanreclaimtheIPaddressesthattheyofferedtotheclient.IftheconfigurationparameterssenttotheclientintheDHCPOFFERunicastmessagebytheDHCPserverareinvalid(amisconfigurationerrorexists),theclientreturnsaDHCPDECLINEbroadcastmessagetotheDHCPserver.TheD
8、HCPserverwillsendtotheclientaDHCPNAKdenialbroadcastmessage,whichmeanstheofferedconfigurationparametershavenotbeenassigned,ifanerrorh
此文档下载收益归作者所有