DHCP even when I set static addresses

Aldo Foot lunixer at gmail.com
Sat Dec 22 01:08:40 UTC 2007


On Dec 20, 2007 5:34 PM, Christopher K. Johnson <ckjohnson at gwi.net> wrote:

> Peter Lauri wrote:
> > Hi,
> >
> > I use FC8 on my T61. I set static addresses for everything, but still
> > dhcp tries to figure out the IP. And it ends up that the IP has
> > something like 169.X.X.X
> >
> > Initially when I do ifup eth0 it works fine, and I can use internet,
> > but after a minute (the indicator tells that "aquiring network
> > address") it goes from 85.X.X.X (that is the correct one) to 169.X.X.X
> > that is some internal address I think.
> >
> > Any hints? How can i turn off the dhcp stuff?
> >
> > /Peter
> Hard to say without more information.  But it may be NetworkManager
> doing that.
> Try this as root:
> service NetworkManager stop
> service NetworkManagerDispatcher stop
> ifdown eth0
> ifup eth0
>
> If that works correctly and stays statically configured then make
> disabling of NetworkManager permanent:
>
> chkconfig NetworkManager off
> chkconfig NetworkManagerDispatcher off
>
> If that does not do it, please send the contents of your
> /etc/sysconfig/network-scripts/ifcfg-eth0
>
> Chris
> <https://www.redhat.com/mailman/listinfo/fedora-list>
>

Isn't NetworkManager and NetworkManagerDispatcher stopped by default?
And Network is "on" in a tipical FC8 networked box setup?
I'd check /etc/sysconfig/network-scripts/ifcfg-eth0 and make sure you have
the line:
    BOOTPROTO=static
Then turn off dhcpd:
    chkconfig dhcpd --level 35 off
 let's don't forget /etc/hosts.
~af
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20071221/aacfeb6a/attachment-0001.html 


More information about the users mailing list