All,
   So far all the man pages and How to's I've found (linuxdoc and
linuxgazette) talk about using a DHCP server OR using DHCP with your
cable/dsl modem.  What for the life of me I can't find is something that
tells me how in the blue blazes to do both.  I'm on cable so that's DHCP
and working fine.  I set up /etc/dhcpd.conf as follows.

#home dhcpd.conf file
default-lease-time 7200;
max-lease-time 82400;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.187.255;
option routers 192.168.187.1;
option domain-name-servers 166.90.172.7, 207.212.253.211;
option domain-name "linuxpda.biz";

subnet 192.168.187.0 netmask 255.255.255.0 {
   range 192.168.187.100 192.168.187.150;
}


Then when I run /etc/init.d/dchpd start (or restart) I get the error.

Listening on LPF/eth1/00:50:da:75:1a:f8/192.168.187.0
Sending on   LPF/eth1/00:50:da:75:1a:f8/192.168.187.0
No subnet declaration for eth0 (12.234.130.39).
Please write a subnet declaration for the network segment to
which interface eth0 is attached.
exiting.
                                                           [FAILED]

Ok I understand that somehow I need to bind dhcp-client to eth0 (my
external nic)  and dhcpd-server to my internal nic.  What I can't figure
out how to do, is of course the binding.  My external IP not only changes
IP number but subnet as well on many the occasion.  Any ideas?  I'm fresh
out.  Thanks

James


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

Reply via email to