Fedora and APIPA 169.254.x.x

Dexter Ang thepoch at mydestiny.net
Mon Jan 12 05:45:31 UTC 2004


On Mon, 2004-01-12 at 11:53, Alexander Dalloz wrote:
> Am So, den 11.01.2004 schrieb Dexter Ang um 13:46:
> > Hi folks,
> > 
> > I was just wondering if there is any way to configure Fedora and/or RH9
> > to act a little like Windows. You see I configured my eth0 to
> > automatically get IP address via DHCP. For Windows, if it is unable to
> > get any IP, it automatically assigns it a 169.254.x.x address (known as
> > APIPA, Automatic Private IP Address). I would love to know if this is
> > possible with Fedora. This would be useful for whenever I want to
> > connect to a Windows machine without the benefit of a DHCP, and without
> > the headaches of having to restart the Win machine upon setting a static
> > IP address. So, anything to install (ie zeroconf, etc.), or maybe a
> > configuration file to at least allow an "alternate" IP address if I
> > don't get one from a DHCP server?
> > 
> > dex
> 
> If you do not disable it - by setting NOZEROCONF=yes in
> /etc/sysconfig/network - then Redhat 9 and Fedora Core 1 are setting a
> route to 169.254.0.0/16. This should be enough to find other machines in
> the same net.
> 
> Alexander

OK thanks! That's nice to know. I guess all I have to do is set the
static IP upon boot with ifconfig. Would there be any possibility of
doing this automatically? Will this route work even though eth0 isn't
up?

dex





More information about the fedora-list mailing list