[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dhcp server?



Perfect answer.  Thank you.

Robert

Thus spake Nate Amsden (aphro@portal.aphroland.org):

> "Robert L. Harris" wrote:
> > 
> > Just got a new laptop from work.  I have to decide if I want to make the
> > laptop work dhcp at the office and static at home or put a dhcp server up
> > at home.  Knowing Windows/Debian I figure putting up the dhcp server would
> > be faster and easier.
> > 
> > Anyone know a good dhcp server that's packaged and easy to configure.  It's
> > just one machine so a simple, fast one will work.
> 
> just use dhcp-server and set /etc/dhcpd.conf something like:
> 
> option domain-name "mydomain.com";
> option domain-name-servers 192.168.50.3, 192.168.50.6;
> 
> option subnet-mask 255.255.255.0;
> default-lease-time 1209600;
> max-lease-time 1209600;
> 
> subnet 192.168.50.0 netmask 255.255.255.0 {
>   range 192.168.50.100 192.168.50.140;
>   option broadcast-address 192.168.50.255;
>   option routers 192.168.50.201;
>   option domain-name "mydomain.com";
>   option netbios-node-type 8;
>   option netbios-name-servers 192.168.50.1, 192.168.50.2;
> }
> 
> netbios-name-servers is the "WINS" servers if you have any, remove both
> netbios entries if you do not have WINS. the rest should be self
> explanitory.
> edit /etc/init.d/dhcp and change the setting that allows it to load.
> 
> good luck.
> 
> nate
> 
> -- 
> :::
> ICQ: 75132336
> http://www.aphroland.org/
> http://www.linuxpowered.net/
> aphro@aphroland.org



:wq!
---------------------------------------------------------------------------
Robert L. Harris                |  Micros~1 :  
Senior System Engineer          |    For when quality, reliability 
  at RnD Consulting             |      and security just aren't
                                \_       that important!
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.
FYI:
 perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'



Reply to: