Betr.: [CentOS] IP Problems - Address won't stick on reboots!

Fri Jun 10 23:10:28 UTC 2005
Thom van der Boon <thom at vdb.nl>

The file to edit is 
/etc/sysconfig/network-scripts/ifcfg-eth0

It should look something like this. You should edit it with your settings

DEVICE=eth0
BOOTPROTO=static
BROADCAST=xxx.xxx.xx.255
HWADDR=xx:xx:xx:xx:xx:xx
IPADDR=xxx.xx.xx.xxx
NETMASK=255.255.255.0
NETWORK=xxx.xxx.xx.0
ONBOOT=yes
TYPE=Ethernet




Thom van der Boon
E-Mail: Thom.van.der.Boon at vdb.nl

=====

Thom.H. van der Boon b.v.
Havens 563
Jan Evertsenweg 2-4
NL-3115 JA  Schiedam
Tel.: +31 (0)10 4272727
Fax: +31 (0)10 4736620
E-Mail: info at vdb.nl
Home Page: http://www.vdb.nl/

>>> scott.heisler at huntleighusa.com 10.06.2005 22:52:34 >>>
Centos 4.0
P4 Dual Xeon
2gig Ram
One 100mb NIC

The problem is that the nic won't hold a fixed IP address.  What I mean
is that if I refresh it, after booting up by typing "ifdown eth0" and
then "ifup eth0" - it then reflects the correct IP address.  However, it
won't 'have' and IP address upon boot.  Also, it seems to hang on the
logger service starting up.  It sits there attempting to start logger
for like 3-4 minutes (timed!).  I suspect this problem is most likely
related to the IP problem.

I've tried moving the network connection to a dedicated HUB and still no
luck.

What is the correct config file to edit to set the IP address correctly?
I tried editing the one in /etc/sysconfig/network-scripts - but that
didn't fix my problem.

Thanks.
Scott
_______________________________________________
CentOS mailing list
CentOS at centos.org 
http://lists.centos.org/mailman/listinfo/centos

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Thom van der Boon.vcf
Type: text/x-vcard
Size: 147 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20050611/a191fea6/attachment-0004.vcf>