[Spread-users] Newbie plea for clarification.

Jonathan Stanton jonathan at cnds.jhu.edu
Tue Dec 30 17:49:27 EST 2003

On Wed, Dec 17, 2003 at 10:01:29AM -0800, Gary Herron wrote:
> My situation is not that convoluted.  The DHCP server is under my
> control and does not reassign IP's at run time. So I can create (once)
> a config file like this:
>   Spread_Segment {
>         m100     
>         m101     
>         m102     
>         m103     
>         m104     
>         m105     
>         m106     
>         m107     
>         m108     
>         m109     
>         ... continuing throught all possible (but fewer than 128) IP's ...
>   }
> In the test I just ran, it doesn't seem to matter that the names
> assigned in the config file have nothing to do with the host names
> known to DNS.  
> True?

Yes, that is true. 

The only interaction with DNS is how Spread guesses the name if you 
don't tell it. Spread will try to guess what the machine name is by using 
the "gethostname()" system call, which will usually return the dns 
assigned hostname. So if they match it will automatically find it, but 
Spread doesn't actually care what the name is, it can be anything. If it 
isn't the name returned by gethostname, then you usually have to run 
spread as "./spread -n myname" where 'myname' is 'm104' for example. 

Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    

More information about the Spread-users mailing list