Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 22:15:47 -0400
From:      Barney Wolff <barney@databus.com>
To:        Wes Peters <wes@softweyr.com>
Cc:        Matthew Grooms <mgrooms@shrew.net>
Subject:   Re: broadcast udp packets ...
Message-ID:  <20030716021546.GB98170@pit.databus.com>
In-Reply-To: <200307151548.48778.wes@softweyr.com>
References:  <200307151709.h6FH9UOW055742@hole.shrew.net> <200307151548.48778.wes@softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 15, 2003 at 03:48:48PM -0700, Wes Peters wrote:
> 
> It's a broadcast, the socket isn't bound to an interface.  ;^)
> 
> The idea is, we have listener on each ethernet interface listening via a 
> bpf.  The listener listens for an 'appliance discovery' packet which is 
> broadcast by the console application running on the admin's 
> workstation.  When we receive this discovery packet, we're supposed to 
> reply back with a broadcast packet that says 'here I am' so the console 
> can get our MAC address.  The console application does some special 
> h0h0 magic of it's own then sends us back another broadcast message 
> that has IP addresses for all 3 interfaces.
> 
> It's a wonderful idea but it doesn't work.  This seems in keeping with 
> the spirit of BOOTP, DHCP, et al, but is explicitly designed to assign 
> a permanent address to an appliance that cannot know it's boot address 
> when configured and cannot really predict which of the 3 interfaces it 
> might receive an address from.

I don't quite know why you need to reinvent bootp/dhcp, but adapting
the isc-dhcp code would solve your problem without needing kernel mods.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.



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