[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 192.168.0.255:4803 {
> m100 192.168.0.100
> m101 192.168.0.101
> m102 192.168.0.102
> m103 192.168.0.103
> m104 192.168.0.104
> m105 192.168.0.105
> m106 192.168.0.106
> m107 192.168.0.107
> m108 192.168.0.108
> m109 192.168.0.109
> ... 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
--
-------------------------------------------------------
Jonathan R. Stanton jonathan at cs.jhu.edu
Dept. of Computer Science
Johns Hopkins University
-------------------------------------------------------
More information about the Spread-users
mailing list