Hi all,

I am trying to set up a dhcp server, without much success.
The previous server worked fine. I more or less duplicated that setup.

The situation:

- LM 8.0 box, with three ethernet interfaces.

eth0      Link encap:Ethernet  HWaddr 48:54:E8:2B:7E:81
          inet addr:123.45.123.210  Bcast:123.45.123.223 Mask:255.255.255.240
eth1      Link encap:Ethernet  HWaddr 00:50:8B:E1:C5:45
          inet addr:10.0.0.254  Bcast:10.0.0.255  Mask:255.255.255.0
eth2      Link encap:Ethernet  HWaddr 00:50:8B:E1:C5:44
          inet addr:10.0.2.254  Bcast:10.0.2.255  Mask:255.255.255.0

I want to serve DHCP requests on all three networks. Only 10.0.0.0/24
has (some) windows boxes on it.

So I added the following route:

route add --host 255.255.255.255 dev eth1

Created a proper dhcpd config file (which used to work on another server
with a similar role:):

# dhcpd.conf
#

# option definitions common to all supported networks...
option domain-name "XXXXXXX.com";
option subnet-mask 255.255.255.0;
default-lease-time 600000;
max-lease-time 6000000;


subnet 10.0.0.0 netmask 255.255.255.0 {
  option broadcast-address 10.0.0.255;
  option routers 10.0.0.254;
  option domain-name-servers 10.0.0.254;
  range 10.0.0.130 10.0.0.200;

  host printer.intra.XXXXXXX.com {
         hardware ethernet 00:10:83:F4:6A:37;
         fixed-address 10.0.0.10; }
  host tesla.intra.XXXXXXX.com {
         hardware ethernet  00:60:b0:29:fc:3a;
         fixed-address 10.0.0.101; }
  host spock.intra.XXXXXXX.com {
         hardware ethernet 00:50:fc:09:6f:0b;
         fixed-address 10.0.0.102; }
  host vanderheijden.intra.XXXXXXX.com {
         hardware ethernet 00:10:a4:92:73:b5;
         fixed-address 10.0.0.103; }
  host zuse.intra.XXXXXXX.com {
         hardware ethernet 00:10:a4:92:79:32;
         fixed-address 10.0.0.104; }
  host planck.intra.XXXXXXX.com {
         hardware ethernet 00:d0:59:0d:b1:01;
         fixed-address 10.0.0.105; }
  host firewall.XXXXXXX.com {
         hardware ethernet 00:50:8b:e1:c5:45;
         fixed-address 10.0.0.106; }
}
 
subnet 10.0.2.0 netmask 255.255.255.0 {
  range 10.0.2.135 10.0.2.200;
  option broadcast-address 10.0.2.255;
  option routers 10.0.2.254;
  option domain-name-servers 10.0.2.254;
 
  host gauss.dmz.XXXXXXX.com {
         hardware ethernet 00:20:af:b6:dc:1a;
         fixed-address 10.0.2.100;}
  host goedel.dmz.XXXXXXX.com {
         hardware ethernet 00:60:b0:29:fc:55;
         fixed-address 10.0.2.103; }
}
 
subnet 123.45.123.208 netmask 255.255.255.240 {
  range 123.45.123.220 123.45.123.222;
  option broadcast-address 123.45.123.223;
  option routers 123.45.123.209;
  option domain-name-servers 123.45.123.210;
}

### End dhcpd.conf ###

starting the dhcp deamon I get the following in my log:

May 30 13:09:52 firewall dhcpd: Internet Software Consortium DHCP Server
2.0pl5
May 30 13:09:52 firewall dhcpd: Copyright 1995, 1996, 1997, 1998, 1999
The Internet Software Consortium.
May 30 13:09:52 firewall dhcpd: All rights reserved.
May 30 13:09:52 firewall dhcpd:
May 30 13:09:52 firewall dhcpd: Please contribute if you find this
software useful.
May 30 13:09:52 firewall dhcpd: For info, please visit
http://www.isc.org/dhcp-contrib.html
May 30 13:09:52 firewall dhcpd:
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth2/10.0.2.0
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth2/10.0.2.0
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth2/10.0.2.0
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth1/10.0.0.0
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth1/10.0.0.0
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth0/123.45.123.208
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth0/123.45.123.208
May 30 13:09:52 firewall dhcpd:
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth2/10.0.2.0
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth1/10.0.0.0
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth1/10.0.0.0
May 30 13:09:52 firewall dhcpd: Listening on Socket/eth0/123.45.123.208
May 30 13:09:52 firewall dhcpd: Sending on   Socket/eth0/123.45.123.208
May 30 13:09:52 firewall dhcpd: dhcpd startup succeeded

Result:

It doesn't work...
dhcp clients time out on the network without getting an adress...

What next? 

TIA

Krist


Reply via email to