Red Hat Bugzilla – Bug 334
ifconfig does not run properly when rebooting
Last modified: 2008-05-01 11:37:48 EDT
I'm trying to setup IP aliasing on Redhat5.2 which we have
just installed. After I type in the ifconfig and route
commands and see things working well, I decided to edit the
network-scripts to save these settings so they'll come back
when I reboot.
I created ifcfg-eth0:0 in /etc/sysconfig/network-scripts
However, after rebooting, I see this:
eth0:0 Link encap:Ethernet HWaddr 00:A0:C9:C9:40:7A
inet addr:126.96.36.199 Mask:255.255.255.0
UP RUNNING MTU:1500 Metric:1
Notice the IP address is wrong. I also tried to manually
call "ifup eth0:0" and it does it correctly. I tried to
use linuxconf and it doesn't work. The problem seems to
occur when booting, the ifcfg-eth0:0 file is parsed
Please let me know if you need more information.
Did you try using eth0:1 instead?
Yes I have tried etho0:1. In fact, originally, I setup eth0:0
through eth0:4 and none of them work after rebooting. Could this
be a linuxconf problem? We are not running the default linuxconf
that came with redhat5.2. We have updated the linuxconf rpm to
There are a lot of changes between the "official" linuxconf
and the Red Hat linuxconf. This smells like one of those changes,
probably due to the quotes around the IPADDR.
Please reopen this bug if that is not the case.