[Cialug] RedHat ES 4 - static IP's?
David Champion
dchampion at visionary.com
Mon Nov 20 10:52:32 CST 2006
No references to dhcp in any of the ifcfg files. There's no ifcfg-eth1:1
or anything like that. This first server has no ifcfg-eth0, the other
one does, with BOOTPROTO=dhcp, but ONBOOT=no, so I don't think that's an
issue.
Here's the ifcfg-eth1 (after I changed BOOTPROTO=static). I looked at
the ifup script, looks to me like it's checking for the word "dhcp", and
any other value it treats as a static address.
DEVICE=eth1
HWADDR=00:18:8B:33:64:56
ONBOOT=yes
TYPE=Ethernet
BOOTPROTO=static
NETMASK=255.255.255.0
IPADDR=10.10.0.72
USERCTL=no
PEERDNS=yes
GATEWAY=10.10.0.1
IPV6INIT=no
Dave J. Hala Jr. wrote:
> Is there by chance an ifcfg-eth1:1 in your network-scripts folder that
> is by chance has a BOOTPROTO=DCHP line it?
>
> Grep network-scripts for BOOTPROTO=DHCP and see what it finds.
>
>
> On Mon, 2006-11-20 at 10:16, David Champion wrote:
>> I have couple of new servers with RedHat ES 4. During the setup process,
>> I configured them to have a static IP address. When the system booted,
>> and again after I did a full up2date (600+ mb later...) they come up
>> with a DHCP address. If I do a "system network restart", they get the
>> static IP I assigned again.
>>
>> The only thing I see odd is in the
>> /etc/sysconfig/network-scripts/ifcfg-eth1 (eth1 is is the first ethernet
>> port labelled GB 1 on these Dell 2950's, and GB 2 is apparantly eth0 -
>> but that's another story) - is it has "BOOTPROTO=none". I'm used to
>> seeing "BOOTPROTO=static". I looked in the RH knowledgbase, and a lot of
>> the documentation doesn't mention "static" anywhere, but is is sometimes
>> shown on other articles.
>>
>> Any ideas on this?
>>
>> -dc
>>
>> _______________________________________________
>> Cialug mailing list
>> Cialug at cialug.org
>> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list