1 |
On Sunday 28 October 2007, Dan Farrell wrote: |
2 |
> On Sun, 28 Oct 2007 12:19:13 +0000 |
3 |
> |
4 |
> Mick <michaelkintzios@×××××.com> wrote: |
5 |
> > On Saturday 27 October 2007, Dan Farrell wrote: |
6 |
> > > On Sat, 27 Oct 2007 21:58:11 +0930 |
7 |
> > > |
8 |
> > > Iain Buchanan <iaindb@××××××××××××.au> wrote: |
9 |
|
10 |
> > > This behaviour is called APIPA (Automatic PRivate IP Addressing) |
11 |
> > > (from /etc/conf.d/net.example): |
12 |
> > > # APIPA is a module that tries to find a free address in the range |
13 |
> > > # Automatic Private IP Addressing (APIPA) |
14 |
> > > # use APIPA to find a free address in the range |
15 |
> > > # 169.254.0.0-169.254.255.255 |
16 |
> > > |
17 |
> > > It provides DHCP-like functionality without a DHCP server. Pretty |
18 |
> > > useless, unless you use it to configure all your IPs or a route for |
19 |
> > > that subnet. |
20 |
> > |
21 |
> > Even worse, if your DHCP server comes up later, your PC will still |
22 |
> > hold on to APIPA - not sure how this feature can be of any use to be |
23 |
> > honest, but most devices these days from MS Windows to PDAs tend to |
24 |
> > behave like this. |
25 |
|
26 |
Let me correct myself here: my Gentoo boxen behave like this. A WinXP that I |
27 |
tested for this purpose does not. It comes up with the APIPA address and |
28 |
when a router becomes available in the network later on, it readily obtains a |
29 |
dhcp address and drops the APIPA. Any idea how to configure Gentoo to do the |
30 |
same? |
31 |
|
32 |
> I was also wondering what kind of useful purpose this would serve. I |
33 |
> am guessing that it would be enough for a network on one broadcast |
34 |
> domain, if there is no need for any routing information. |
35 |
|
36 |
I am guessing that it is a way of getting two computers talking to each other |
37 |
when they find themselves connected, but without a router? |
38 |
-- |
39 |
Regards, |
40 |
Mick |