Re: [PATCH] [dhcp] Use random transaction ID to associate messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-09-15 at 10:13 -0400, Yaniv Kaul wrote:
> ----- Original Message -----
> > On Thu, 15 Sep 2011 21:00:38 +0800, Amos Kong <akong@xxxxxxxxxx>
> > wrote:
> > 
> > > + netdev->xid = random();
> > 
> > This will not work for reboots. The decision that the hardware address
> > is
> > choosen was not accidental. Not sure if some DHCP server will count on
> > the
> > ID. (RFC 2131 "Retain DHCP client configuration across server reboots,
> > and,
> > whenever possible, a DHCP client should be assigned the same
> > configuration
> > parameters despite restarts of the DHCP mechanism"). If not so I am
> > fine
> > with the patch.
> > 
> > Hagen
> 
> But a DHCP client should be identified by its MAC, not the xid.
> Y.

DHCP server may not be aware of MAC address.

-- 

Sasha.

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux