[Freeipa-devel] [PATCH] 0024 - Better random ranges
Simo Sorce
ssorce at redhat.com
Tue Dec 7 13:36:54 UTC 2010
On Tue, 07 Dec 2010 08:21:20 -0500
Stephen Gallagher <sgallagh at redhat.com> wrote:
> >> Something we used to do at my old job was base it on the IPv4
> >> address of the primary network adapter in the machine. Basically,
> >> we could take the integer representation of the IP address, take
> >> the modulus 10000 of it, and choose the range from that.
> >
> > That's not needed, if you want to force a specific range you can
> > simply pass an option to the installer.
> >
> >> This would also provide a guarantee that replicas on the same
> >> network would get unique ranges (instead of a 1 in 10,000 chance
> >> of doubling up).
> >
> > Replicas take a cut of the range from the first master, sharing the
> > assigned initial range between them (see the DNA plugin[1] Shared
> > config to understand how it works)
> >
> >> These are just suggestions. The patch as it exists right now looks
> >> fine to me (though I haven't tested it).
> >
> > I have tested it :)
> >
> > Simo.
> >
> > [1] http://directory.fedoraproject.org/wiki/DNA_Plugin
> >
>
>
> In that case: ack.
Pushed to master.
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the Freeipa-devel
mailing list