Jason,

   I had the same problem and the answer for me was to put the
following in /etc/init.d/dhcpd

change        
              daemon /usr/sbin/dhcpd

to 

              daemon /usr/sbin/dhcpd -q eth1    

the -q eth1 tells it to only pay attention to eth1 and ignore
eth0.  In may case I get my IP via dhcp and also deliver dhcp IP's
internally.  The error message you mentioned then went away.

James



On Sun, 21 Jul 2002 14:42:49 -0700 (MST)
"Jason Guidry" <[EMAIL PROTECTED]> wrote:

> 
> I'm now living among civilization (San Antonio, close enough)
> and I'm trying to set up a router to share our cable connection.
>  this is a minimal system(no X or extra garbage) with two NICs,
>  one plugged into the cable modem and the other into an 8 port
>  switch.
> 
> dhcpd keeps complaing that I have not made a subnet declaration
> for my the NIC connected to the modem (eth1).  I'm obviously not
> serving connections from this interface, and it isn't listed in
> dhcpd.interfaces.  how do I make a declaration for this
> interface?  is DHCP _really_ the easiest way to go about sharing
> my connection?
> 
> --------------------------<my
> dhcpd.conf>-----------------------------------------
> 
>         default-lease-time 600;
>         max-lease-time 7200;
>         option  domain-name "home.net";
>         option  domain-name-servers 192.168.1.3, 192.168.1.5;
> 
>         subnet 192.168.0.0 netmask 255.255.255.0 {
>                 option routers 192.168.0.1;
>                 option broadcast-address 192.168.0.255;
>                 range 192.168.0.2 192.168.0.127;
>         }
> 
> 
> #wireless net
> 
> subnet 10.0.0.0 netmask 255.255.255.0 {
> option routers 10.0.0.1;
> option broadcast-address 10.0.0.255;
> range 10.0.0.2 10.0.0.127;
> }
> 
> ---------------------------------</etc/dhcpd.conf>-------------
> ---------------------------
> 
> -- 
> Jason Guidry
> gmaestro.org
> 
> 
> 

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to