Re: Automatic Private IP Addressing(APIPA) Linux Howto?
Добрый день.
Package: zeroconf
Priority: optional
Section: net
Installed-Size: 116
Maintainer: Anand Kumria <wildfire@progsoc.org>
Architecture: i386
Version: 0.6.1-1
Depends: libc6 (>= 2.3.2.ds1-21), ifupdown, iproute
Filename: pool/main/z/zeroconf/zeroconf_0.6.1-1_i386.deb
Size: 37478
MD5sum: 8ad852acf572092feedc722ac9c48073
Description: IPv4 link-local address allocator
zeroconf is an implementation of IPv4 link-local addresses (RFC3927)
which can be used for ad-hoc networks. Addresses are allocated from
the 169.254.0.0/16 range semi-randomly.
.
That means making it possible to take two laptop computers, and
connect them with a crossover Ethernet cable, and have them
communicate usefully using IP, without needing a man in a white lab
coat to set it all up for you. (from www.zeroconf.org)
Tag: special::not-yet-tagged, special::not-yet-tagged::z
On Mon, Oct 31, 2005 at 06:24:25PM +0300, Andrey Melnikoff wrote:
> Sergey L. Kachanuk <serzholino@gmail.com> wrote:
>> Доброго времени суток!
>
>> Имеется маленькая (5 машин) домашняя сеть.
>> Для получения IP-адресов используется механизм в сабже. Недавно кинул
>> себе кабель к ним, и обнаружил, что не могу получить айпишник таким же
>> образом... :(
>
>> Вопрос: Если возможность получить IP-адрес через APIPA под Linux?
>
> Short for Automatic Private IP Addressing, a feature of later Windows
> operating systems. With APIPA, DHCP clients can automatically
> self-configure an IP address and subnet mask when a DHCP server isn't
> available. When a DHCP client boots up, it first looks for a DHCP
> server in order to obtain an IP address and subnet mask. If the client
> is unable to find the information, it uses APIPA to automatically
> configure itself with an IP address from a range that has been
> reserved especially for Microsoft. The IP address range is 169.254.0.1
> through 169.254.255.254. The client also configures itself with a
> default class B subnet mask of 255.255.0.0. A client uses the
> self-configured IP address until a DHCP server becomes available.
>
> The APIPA service also checks regularly for the presence of a DHCP
> server (every five minutes, according to Microsoft). If it detects a
> DHCP server on the network, APIPA stops, and the DHCP server replaces
> the APIPA networking addresses with dynamically assigned addresses.
>
> APIPA is meant for nonrouted small business environments, usually less
> than 25 clients.
>
> Берем что-то, что умеет сделать ping 169.254.255.253 и сказать - на arp
> who-was ответили или нет, и на его основе - делаем.
> Более проще - возми себе адрес 169.254.254.253 и на нем сиди.
>
>
--
WBR,
Alexander A. Vlasov
Debian GNU/Linux user
JID: zulu@jabber.kiev.ua
nic-hdl: ZULU-UANIC
Reply to: