using multiple isc-dhcp servers?

2004-01-01 Thread stan
I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
but I notice that whichever machine gives the lease is the only one that
records the lease in it's leases file.

This seems like a problem.

How can I configure this package to avoid this problem?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using multiple isc-dhcp servers?

2004-01-01 Thread Tillman Hodgson
On Thu, Jan 01, 2004 at 05:06:23PM -0500, stan wrote:
 I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
 but I notice that whichever machine gives the lease is the only one that
 records the lease in it's leases file.
 
 This seems like a problem.

Yes, I imagine it is ;-)

 How can I configure this package to avoid this problem?

You shouldn't have more than one DHCP server per broadcast domain
(unless you implement some sort of database sharing logic between them).
Because clients keep their leases for a period of time even if the DHCP
server dies, this isn't a service that typically calls for redundancy.

-T


-- 
Nostalgia is a seductive liar.
- George W. Ball
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: using multiple isc-dhcp servers?

2004-01-01 Thread Lowell Gilbert
stan [EMAIL PROTECTED] writes:

 I have set up the isc-dhcp port on 2 machines. and it is serving addresses,
 but I notice that whichever machine gives the lease is the only one that
 records the lease in it's leases file.

Right.  If you want them to know about each other, you need to
configure that.  See the descriptions of failover in the
dhcpd.conf(5) manual.

 This seems like a problem.

Not unless both servers are serving addresses out of the same pool.
Obviously, that *would* be a problem.  

If one hands out (for example) 10.0.0.3 through 10.0.0.127 and the
other hands out 10.0.0.128 through 10.0.0.254, then there's no problem
at all.  You can have the second one respond more slowly by using the
min-secs statement in its configuration.

 How can I configure this package to avoid this problem?

If you want the failover support, then you can set that up (I've never
done it, but it looks reasonably simple when I read the manual).  

It's probably not worth setting up two servers, though.  If you have a
reasonable gap between the renew time (when the clients start looking
for a new lease) and the end of the lease (when the clients have to
stop using their old lease), then you have a fair amount of breathing
time to get the server fixed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area: 
resume/CV at http://be-well.ilk.org:8088/~lowell/resume/
username/password public
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]