Reply at end.

At 10:37 AM 6/12/2003 -0700, Victor McAllister wrote:
How do I get dhcpd to listen on eth1 and eth2

here is a clipping from my dhcpd.conf

dynamic-bootp-lease-length 604800;
max-lease-time 1209600;

subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.254;
   option domain-name "private.network";
   option domain-name-servers 192.168.1.254;
   range 192.168.1.10 192.168.1.100;

host victormc {
       hardware ethernet 00:a0:cc:d9:24:7b;
       fixed-address 192.168.1.1;
       }
}
subnet 192.168.2.0 netmask 255.255.255.0 {
   option routers 192.168.2.254;
   option domain-name "dmz.network";
   option domain-name-servers 192.168.1.254;
   range 192.168.2.8 192.168.2.10;

host penguin {
       hardware ethernet 00:a0:cc:d9:20:ff;
       fixed-address 192.168.2.7;
       }
}

when I start dhcpd it always says listening on eth1 only.

What am I doing wrong?

It is hard to say, Victor, since you only tell us part of what you are doing, and you don't mention whcih version of LEAF you are doing it on. I surmise that network 192.168.1.0/24 is on eth1 and 192.168.2.0/24 is on eth2. If that is correct:


1. The man page for dhcpd (on Debian Sid; I necessarily assume that you are using a standard dhcpd) says it will automatically try to listen on all "broadcast" networks. So it should try to listen on eth1 and eth2, assuming they have the usual configurations.

2. Prior to starting dhcpd, are both eth1 and eth2 configured, both the interfaces themselves and the associated routing tables?

3. You can force dhcpd to listen on specific interfaces by naming them explicitly when you start dhcpd. So does killing dhcpd, then restarting it with "dhcpd eth1 eth2" improve things any? Is it possible that whatever script is starting dhcpd during boot/init is specifying eth1 only?





-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to