Fedora breaks dhcpd, RH9 doesn't?

Robert Marcano robert at marcanoonline.com
Wed Dec 10 12:34:51 UTC 2003


On Wed, 2003-12-10 at 06:32, andrew.crofts at nokia.com wrote:
> Hi
> 
> Synopsis - install RH9, dhcpd works, gives out addresses.
> Install or upgrade to Fedora Core 1, dhcp no longer gives addresses. Repeatable (two RH 9 installs, 2 Fedora installs, one RH9-FC1 update from CD's)
> 
> Note: I've even tried removing FC1's dhcpd, installing RH9 'version' - still bad.
> Tried "turn off kudzu" 'trick' - same.

Try creating the empty file /var/lib/dhcp/dhcpd.leases (touch
/var/lib/dhcp/dhcpd.leases), i remember that i needed to create it on a
RH8 machine because the daemon refused to start (the file was mentioned
in /var/log/messages)


> System: Compaq 600 Deskpro, 192 meg ram. Machine used as gateway to internet/ firewall/ webserver/ dhcp server.
> Network cards: Eth0 is e100 (intel) connected via pppoe /vDSL. Network set to (as per instructions 10.1.1.1)
> Eth1 is using 3c59x driver. Connected to internal network (which does / does not send addresses to 2 other machines via a hub)
> 
> Same configuration files used with both RH9 and FC1.
> 
> Config files:
> 
> Here's /etc/sysconf/dhcpd: 
> ######################### 
> # Command line options here 
> DHCPDARGS=eth1 
> ########################## 
> 
> Here's /etc/dhcpd.conf 
> ########################### 
> ddns-update-style ad-hoc; 
> ignore client-updates; 
> 
> # home net 
> subnet 192.168.0.0 netmask 255.255.255.0 { 
> option routers 192.168.0.1; 
> option broadcast-address 192.168.0.255; 
> option ip-forwarding off; 
> option subnet-mask 255.255.255.0; 
> option domain-name-servers 194.157.175.2, 194.157.175.3; 
> range 192.168.0.10 192.168.0.50; 
> default-lease-time 86400; 
> max-lease-time 86400; 
> } 
> ######################### 
> and dhcpd.conf.lock: 
> 1335 
> 
> Iifcfg-eth0:
> #####################
> [root at host root]# less /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=static
> BROADCAST=10.1.1.255
> IPADDR=10.1.1.1
> NETMASK=255.255.255.0
> NETWORK=10.1.1.0
> ONBOOT=yes
> 
> Ifcfg-eth1:
> ####################
> DEVICE=eth1
> BOOTPROTO=static
> BROADCAST=192.168.0.255
> IPADDR=192.168.0.1
> NETMASK=255.255.255.0
> NETWORK=192.168.0.0
> ONBOOT=yes
> 
> I've no idea what the dhcpd.conf.lock does - no mention of it in the (lengthy) documentation... 
> 
> As I say, above files are same for both installations...
> Any ideas greatfully received. 
> -Andy






More information about the fedora-list mailing list