Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2020 13:18:40 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Hans Petter Selasky <hps@selasky.org>
Cc:        "Kumar, Anmol" <anmolk@panasas.com>, "freebsd-infiniband@freebsd.org" <freebsd-infiniband@freebsd.org>
Subject:   Re: DHCP server for freebsd on IPoIB
Message-ID:  <20200212111840.GE4808@kib.kiev.ua>
In-Reply-To: <f4647c23-440b-b6c5-93e7-0e83fce62196@selasky.org>
References:  <AE58E1E2-70EF-43FC-B3F4-6E2B7FA95645@panasas.com> <f4647c23-440b-b6c5-93e7-0e83fce62196@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 12, 2020 at 10:26:26AM +0100, Hans Petter Selasky wrote:
> On 2020-02-11 22:46, Kumar, Anmol wrote:
> > Hi,
> > I am trying to make  dhcp 4.4.2b1 work on Mellanox Infiniband for IPoIB.
> > 
> >    1.  Seems like , bpf does not have support for IPoIB as family passed in zero so IPoIB driver returns error.
I believe, more importantly, there is no bpf hooks in the ipoib driver.

> >    2.  I tried using sockets for DHCP server and send is successful (returning exact number of bytes in packet) but I do not see packet in IPoIB driver.
> >    3.  Able to receive DHCP broadcast request to DHCP server code (user space)
> >    4.  Ping is working fine (statically assign IP address) and seems like issue with DHCP broadcast replies in DHCPOFFER (same code works with Linux)
> > 
> > Any help will be appreciated .
> > 
> 
> Hi Kumar,
> 
> IPoIB is an IP carrier.
> 
> Doesn't dhcp require an ethernet carrier for the reception of frames via BPF
> to work?

I briefly looked at RFCs, and it seems that DHCP protocol only depends on
the broadcast.  But the ISC DHCP server implementation indeed assumes working
bpf.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200212111840.GE4808>