ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: community@altlinux.ru
Subject: Re: [Comm] DHCP: алгоритм работы
Date: Tue, 15 Jul 2003 11:29:46 +0300
Message-ID: <3F13BB7A.8050603@iop.kiev.ua> (raw)
In-Reply-To: <20030715071800.GC29912@mrkooll.tdr.pibhe.com>

Maxim Tyurin wrote:
> On Tue, Jul 15, 2003 at 11:07:52AM +0400, Прокопьев Евгений wrote:
> 
>>Здравствуйте!
>>
>>Допустим, в dhcpd.conf есть такая запись:
>>
>>host test {
>>    hardware ethernet 00:50:56:c6:6b:ff;
>>    fixed-address 192.168.1.129;
>>}
>>
>>При загрузке машина 00:50:56:c6:6b:ff получает адрес 192.168.1.129.
>>
>>Теперь я в dhcpd.conf изменяю hardware ethernet на любой произвольный и 
>>рестартую его. По логике (может логика у меня не такая?) dhcpd должен 
>>зарезервировать адрес 192.168.1.129 для другой машины с придуманным 
>>hardware ethernet, а машине 00:50:56:c6:6b:ff выдать другой адрес. Но 
>>после winipcfg->renew (на клиенте Win95 или XP) и даже после перегрузки 
>>клиента он все равно получает от dhcpd адрес 192.168.1.129.
> 
> 
> Он выдаст другой адрес по истечении max-lease-time точно 
> может выдать новый по истечении default-lease-time
Ну и нужно не забывать, что у него должен быть _этот_другой_адрес_ 
чтоб его выдать. Иначе он отдаст первый свободный. Или ставьте 
запрет на раздачу адресов не прописаным машинам.

-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   265-7824            Department of Gas Electronics
Fax:   (380-44)   265-2329             Institute of Physics of NASU
*********************************************************************



  reply	other threads:[~2003-07-15  8:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15  7:07 Прокопьев Евгений
2003-07-15  7:18 ` Maxim Tyurin
2003-07-15  8:29   ` Andriy Dobrovol's'kii [this message]
2003-07-15  9:53     ` Прокопьев Евгений
2003-07-15 10:25       ` Andriy Dobrovol's'kii
2003-07-15 10:44         ` Прокопьев Евгений
2003-07-15 11:34           ` Andriy Dobrovol's'kii
2003-07-15 13:04           ` BSW
2003-07-16  5:35 ` Shawkat

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F13BB7A.8050603@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git