[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 DHCP одна локалка



Nikolay Nikolaev wrote:
День добрый.
в локалке хочется завезти второй ДХЦП сервер, в одном сегменте т.е. в одной подсети, ( на Дебиане :-)) есесено) так вот вопрос возник, нигде не могу найти ответ, а как клиент узнает с какого сервера ему IP получать? ведь он разсылает просто широковещательный запрос.... а кто на него ответит??? первый или второй?
непонятно.
Спасибо.


Вот что мне в свое время написали в mail list dhcpd

   *** From dhcp-server -- To unsubscribe, see the end of this message. ***

Peter Teslenko wrote:

>Can two dhcp servers work on the same wire?

Most certainly, the more important question is can they work TOGETHER
on the same wire without f****ng up your network - which depends on
what you want and how you set them up.

>I have Linux with ISC DHCP Server V3.0pl1 and w2k server with DHCP
>linux 192.168.1.0/24, 192.168.2.0/24 (with MAC bindings)
>w2k 192.168.0.0/24

More important is which are configured to serve what to each subnet.
In this case where you have two independent servers with NO
co-operation between them, you MUST ensure that the ranges they will
offer clients addresses from do NOT overlap. Ie, except for
statically addressed clients, the two servers must never be able to
offer the same address - otherwise sooner or later you will find two
clients being offered the same address, one from each server.

The other issue is that if both servers are offering addresses in the
same subnet, each client will be offered two different addresses, and
may randomly change addresses depending on which it thinks is the
best offer at any time (though this should NOT occur when it is
renewing an existing lease).

You can of course configure things so that only one server is
offering leases in any subnet.

If you need more information then you will have to detail what you
are trying to achieve, and why you want to run two servers on the
same network.

Simon

--
Simon Hobson, Technical Services Engineer
Colony Gift Corporation Limited
Lindal in Furness, Ulverston, Cumbria, LA12 0LD
Tel 01229 461100, Fax 01229 461101

Registered in England No. 1499611
Regd. Office : 100 New Bridge Street, London, EC4V 6JA.

-----------------------------------------------------------------------
List Archives : http://www.isc.org/ml-archives/dhcp-server/
Unsubscribe   : http://www.isc.org/dhcp-lists.html
-or-          : mailto:dhcp-server-request@isc.org?Subject=unsubscribe
-----------------------------------------------------------------------


--
Peter Teslenko
begin:vcard
fn:Peter Teslenko
n:Teslenko;Peter
org:;IT Dept
adr:;;;Saint-Petersburg;;;Russia
email;internet:smartchecker@gmail.com
title:Sysadmin
x-mozilla-html:FALSE
version:2.1
end:vcard


Reply to: