Changes between Version 1 and Version 2 of DHCP


Ignore:
Timestamp:
Oct 28, 2007, 5:43:09 PM (16 years ago)
Author:
quentin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DHCP

    v1 v2  
    11The base specification for DHCP is [RFC:2131], but that just describes the structure of the packets. The packets contain "options", which are specified in [RFC:2132].
    22
    3 We only implement part of the DHCP spec. The biggest missing feature is probably that we don't implement the broadcast option. All replies are sent out on the interface associated with their VM and are sent as broadcast packets.
     3We only implement part of the DHCP spec. The biggest missing feature is probably that we don't implement the broadcast option. All replies are sent out on the interface associated with their VM and are sent as broadcast packets. This conflicts with the spec:
     4
     5   If the 'giaddr' field in a DHCP message from a client is non-zero,
     6   the server sends any return messages to the 'DHCP server' port on the
     7   BOOTP relay agent whose address appears in 'giaddr'. If the 'giaddr'
     8   field is zero and the 'ciaddr' field is nonzero, then the server
     9   unicasts DHCPOFFER and DHCPACK messages to the address in 'ciaddr'.
     10   If 'giaddr' is zero and 'ciaddr' is zero, and the broadcast bit is
     11   set, then the server broadcasts DHCPOFFER and DHCPACK messages to
     12   0xffffffff. If the broadcast bit is not set and 'giaddr' is zero and
     13   'ciaddr' is zero, then the server unicasts DHCPOFFER and DHCPACK
     14   messages to the client's hardware address and 'yiaddr' address.  In
     15   all cases, when 'giaddr' is zero, the server broadcasts any DHCPNAK
     16   messages to 0xffffffff.