dhcpv6 confirm/renew/rebind的区别


1. 交互过程:

confirm 报文:



renew,rebind报文:



confirm / renew / rebind 区别
1. confirm 报文
   1) 在链路发送变化的情况下触发
   2) A client sends a Confirm message to any available server to determine whether the addresses 
      it was assigned are still appropriate to the link to which the client is connected
   客户发送confirm信息给任何可用的服务器(confirm报文中不带server id这个选项),以确定自己已经分配到的这个地址是否仍然适用
   所以它的报文中的T1,T2,preferred lifetime,valid lifetime都是为0, 对应的reply报文中的这些字段也是为0
2. renew 报文
   1) T1 = 0.5 * preferred lifetime时触发
   2) A client sends a Renew message to the server that originally provided the client's addresses and configuration parameters 
   to extend the lifetimes on the addresses assigned to the client and to update other configuration parameters.
   客户发送Renew报文给原先分配client地址和配置参数的那个服务器(renew报文中带server id这个选项),以延长分配给client的地址的生存时间并且更新其它配置参数
   它的报文中的T1,T2,preferred lifetime,valid lifetime不为0, 对应的reply报文中的这些字段也不为0
3. rebind 报文
   1) T2 = 0.8 * preferred lifetime时触发
   2) A client sends a Rebind message to any available server to extend the lifetimes on the addresses assigned to the client 
      and to update other configuration parameters; this message is sent after a client receives no response to a Renew message.
client发送Rebind报文给任何可以用的服务器(Rebind报文中没有server id选项),以延长分配给client的地址的生存时间并且更新其它配置参数,这个消息是在发送Renew消息没有回应后才发送。  
它的报文中的T1,T2,preferred lifetime,valid lifetime不为0, 对应的reply报文中的这些字段也不为0


  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值