DHCP failing in FC1

Rick Stevens rstevens at vitalstream.com
Fri Feb 27 00:20:24 UTC 2004


Manuel Carro wrote:
>     I have installed FC1 + udpdates, and it seems that the scripts to
> start up the network are somewhat broken (both in 7.42.1 and
> 7.42.2-1).  After defining a DHCP interface, starting it up fails:
> 
> $ ifup DHCP
> Determining IP information for eth0:3.../sbin/dhclient-script: configuration eth0:3 for eth0:3 not found.
> 
> The same happens when trying to use the graphical tool.  The
> configuration file ifcfg-DHCP is in place, and it looks right.  I
> tried to trace the problem and it is apparently some mismatch between
> /sbin/ifup and /sbin/dhclient-script regarding the name of the
> configuration file for the interface.  Any hint?

Check /etc/sysconfig/network-scripts and verify that that the ifcfg-DHCP
(VERY bad name...see below) specifies "DEVICE=eth0:3".  If not,
dhcpclient won't work since no DEVICE has been defined.

The scripts in /etc/sysconfig/network-scripts should be named after the
interface it affects--NOT the protocol used to define its IP address,
e.g. "ifcfg-eth0:3", NOT "ifcfg-DHCP".

In each file is a "DEVICE=" definition which should also specify the
device.  dhclient depends on the device name in
/etc/dhclient/dhclient.conf to specify its parameters (see the
"interface" specification in "man dhclient.conf").
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
- grasshopotomaus: A creature that can leap to tremendous heights... -
-                                                ...once.            -
----------------------------------------------------------------------





More information about the fedora-list mailing list