DHCP server for freebsd on IPoIB

Konstantin Belousov kostikbel at gmail.com
Wed Feb 12 11:18:49 UTC 2020


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.


More information about the freebsd-infiniband mailing list