[Techtalk] serverless IP assignment?

Aaron Mulder ammulder at alumni.princeton.edu
Mon Feb 11 14:40:39 EST 2002


	Are you *sure* you can't pick 1 to always be the DHCP server, or 
assign fixed IPs?  Planning on rotating boxes through this environment, or 
something?
	How do you plan to ping before the network card is online?

Aaron

On Mon, 11 Feb 2002, Malcolm wrote:
> I have a collection of embedded system boxes (essentially they are PCs in a 
> box). They need to be networked together. However, in the environment in 
> which they will be used, there is no server box and so no way of centralised
> IP assignment. IPs have to be assigned automatically.
> 
> Is there any better way than:
> - pick an IP in the subnet range at random
> - ping it to see if anyone else responds to it
> - if no one does keep it
> - check for collisions to make sure no one else grabbed it at the
>   same time you did.
> 
> and if not, does anyone know of existing code to do this, or should I
> just write my own script?
> 
> I've considered having the first machine to boot declare itself a dchp 
> server, but there's no way of stopping two machines booting simultaneously 
> and both declaring themselves the server.
> 
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 




More information about the Techtalk mailing list