← Back to team overview

touch-packages team mailing list archive

[Bug 1529815] Re: InfiniBand DHCP flow with PRA and DHCP relay not working

 

Continuation of RFC 1541 is RFC 2131:

https://tools.ietf.org/html/rfc2131 (adding DHCP INFORM msg type)

RFC 4390 from 2006:

https://tools.ietf.org/html/rfc4390
(Dynamic Host Configuration Protocol (DHCP) over InfiniBand) stipulates:

2.2.  Use of the BROADCAST flag

   A DHCP client on IPoIB MUST set the BROADCAST flag in DHCPDISCOVER
   and DHCPREQUEST messages (and set "ciaddr" to zero) to ensure that
   the server (or the relay agent) broadcasts its reply to the client.

   Note: As described in [RFC2131], "ciaddr" MUST be filled in with the
         client's IP address during BOUND, RENEWING or REBINDING states;
         therefore, the BROADCAST flag MUST NOT be set.  In these cases,
         the DHCP server unicasts DHCPACK message to the address in
         "ciaddr".  The link address will be resolved by ARP.

Meaning that, during discovery, specifically for InfiniBand, the BROADCAST
flag must be turned on (MUST is used in RFC).

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to isc-dhcp in Ubuntu.
https://bugs.launchpad.net/bugs/1529815

Title:
  InfiniBand DHCP flow with PRA and DHCP relay not working

Status in isc-dhcp package in Ubuntu:
  Confirmed

Bug description:
  
  DHCP client is sending discover with Unicast type request for the offer, in this configuration of IB to ETH through a relay we need the type to be broadcast.

  The issue is that when using dhclient from the client on Ubuntu (and only on Ubuntu) with MOFED or inbox driver, we see that that DHCP server offers in unicast instead of broadcast. It seems there is no way to correct this from the client side using dhclient configuration file.
  this issue exist even when we use always-broadcast statement in configuration file.

  in other vendors we see that discover request type is broadcast.
  attached pcap files from working (other vendor) and not working (Ubuntu) clients.

  
  DHCP CLIENT (IPoIB) 
  Ubuntu 14.04  kernel 3.13.0-74
  Mellanox OFED 3.1-1.0.3 or inbox driver
  isc-dhcp-client                  4.2.4-7ubuntu12.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-dhcp/+bug/1529815/+subscriptions


References