各位老铁们好,相信很多人对leases是什么意思、读音都不是特别的了解,因此呢,今天就来为大家分享下关于leases是什么意思、读音以及DHCP服务租约文件dhcpd.leases各项含义的问题知识,还望可以帮助大家,解决大家的一些困惑,下面一起来看看吧!
1、当我们成功运行dhcpd服务后,就可以分配ip地址给客户端,这些租用信息都可以通过查看租约文件/var/lib/dhcpd/dhcpd.leases来查看每个ip地址的租约记录。
2、每个租约声明都包含已租给客户端的单个ip地址。大括号内的语句定义了租约的期限及租约分配对象。
3、startsdate;租约的开始时间
4、endsdate;租约的结束时间
5、Thetstpstatementispresentifthefailoverprotocolisbeingused,andindicateswhattimethepeerhasbeentoldtheleaseexpires.
6、Thetsfpstatementisalsopresentifthefailoverprotocolisbeingused,andindicatestheleaseexpirytimethatthepeerhasacknowledged.
7、Theatsfpstatementistheactualtimesentfromthefailoverpartner.
8、Theclttstatementistheclient'slasttransactiontime.
9、hardwarehardware-typemac-address;使用ip的客户端网络接口的mac地址
10、uidclient-identifier;记录用于获取租约的客户端标识符。
11、client-hostnamehostname;客户端发送其主机名。
12、bindingstatestate;声明租约的绑定状态,可能为活动(active)、可用(free)、放弃(abandoned)。
13、nextbindingstatestate;当前状态到期时租约将移动到的状态。当前状态过期的时间在ends语句中指定。
14、Thisstatementispartofanoptimizationforusewithfailover.Thishelpsaserverrewindaleasetothestatemostrecentlytransmittedtoitspeer.
15、optionagent.circuit-idstring;记录中继代理发送的circuitID
16、optionage.remote-idstring;记录中继代理发送的remoteID
17、ThesestatementsareusedtorecordthecircuitIDandremoteIDoptionssentbytherelayagent,iftherelayagentusestherelayagentinformationoption.Thisallowstheseoptionstobeusedconsistentlyinconditionalevaluationsevenwhentheclientiscontactingtheserverdirectlyratherthanthroughitsrelayagent.
18、Thevendor-class-identifiervariable;
19、Theserverretainstheclient-suppliedVendorClassIdentifieroptionforinformationalpurposes,andtorendertheminDHCPLEASEQUERYresponses.
20、Ifpresent,theyindicatethattheBOOTPandRESERVEDfailoverflags(respectively)shouldbeset.BOOTPandRESERVEDdynamicleasesaretreateddifferentlythannormaldynamicleases,astheymayonlybeusedbytheclienttowhichtheyarecurrentlyallocated.
leases是什么意思、读音和DHCP服务租约文件dhcpd.leases各项含义的问题分享结束啦,以上的文章解决了您的问题吗?欢迎您下次再来哦!