DHCPOFFER sent to wrong MAC?

Jason Lixfeld jason-lists.dhcp at lixfeld.ca
Sun Aug 20 17:17:09 UTC 2006


Yup, reconfig'd, recompiled and re-installed and I see the BPF in the  
startup, where before I saw Socket (which should have clued me into  
something :/).

No more helper-address... yippee!

Good catch!

On 20-Aug-06, at 11:53 AM, David W. Hankins wrote:

> On Fri, Aug 18, 2006 at 08:42:50PM -0400, Jason Lixfeld wrote:
>> WITH_DHCP_SOCKETS=true
>
> Eureka!
>
> Use BPF not SOCKETS.
>
> Using a regular berkeley socket and trying to transmit a packet
> to 255.255.255.255 appears to be causing your FreeBSD 6.1 machine
> to route the packet via unicast to your default router.
>
> If you use BPF, ISC DHCP will craft the packet it specifically
> needs to (and it will be unicast to the client in this case, not
> broadcast) in this case.
>
> Alternatively, you can keep BSD sockets, but you'll have to bind
> the server to an alias hidden from your users - such as on a lo0
> alias - and use a relay agent to handle the broadcasts and
> responses.
>
> -- 
> ISC Training!  October 16-20, 2006, in the San Francisco Bay Area,
> covering topics from DNS to DHCP.  Email training at isc.org.
> -- 
> David W. Hankins	"If you don't do it right the first time,
> Software Engineer		you'll just have to do it again."
> Internet Systems Consortium, Inc.	-- Jack T. Hankins
>
>



More information about the dhcp-users mailing list