Does ISC DHCP work with BPF?

Chris Buxton chris.p.buxton at gmail.com
Sun Feb 27 17:55:23 UTC 2011


Some quick research shows that BPF is associated with Berkeley sockets, while DLPI is associated with the streams implementation on Solaris and a few others. Apparently AIX tries to support both, probably by emulating one with the other; otherwise, you are likely to find a given OS supports zero or one, but not both. Linux offers its own PF, for example, which can be used to emulate BPF.

Note that Solaris switched from sockets to streams many years ago. Early versions of SunOS (e.g. SunOS 4) used sockets. I'm not sure exactly when the switch occurred, but I believe it has been over a decade.

Mac OS 7.5.2 - 9 used streams (which they called Open Transport), but Mac OS X uses sockets (from the BSD kernel code they've used).

Regards,
Chris Buxton
BlueCat Networks

On Feb 27, 2011, at 8:23 AM, sangeeta.misra at oracle.com wrote:

> Folks,
> 
> In looking at the configure.ac, it looks like ISC DHCP prefers DLPI over BPF ( ie it checks to see if a system has DLPI support before checking for BPF) .
> 
> Has anyone tried to run ISC DHCP with BPF( instead of DLPI)  and been successful? When I try it on Solaris, I get this error:
> 
> Internet Systems Consortium DHCP Relay Agent 4.1-ESV-R1
> Copyright 2004-2011 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
> Listening on BPF//00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> Sending on   BPF//00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00
> Segmentation Fault (core dumped)
> root at surya5:/var/tmp/dhcp-4.1-ESV-R1# mdb core
> Loading modules: [ libc.so.1 ld.so.1 ]
> > $c
> omapi_object_reference+0x10(fffc0000, 80c68d8, 809e294, 702, 809e2c5)
> interface_stash+0xe2(80c68d8, 80c68d8, 809e294)
> discover_interfaces+0x5a8(3, 0, 8047dd8, 805f92f)
> main+0x2c0(3, 8047dfc, 8047e0c, 809bae0, 0, 0)
> _start+0x83(3, 8047eac, 8047ec5, 8047ec8, 0, 8047ed1)
> >
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users




More information about the dhcp-users mailing list