[ale] DHCP ?

Ed June buggz at america.net
Mon Sep 7 09:28:57 EDT 1998


Dan Newcombe wrote:

> Sure...
>
> > Can I run a DHCP server on 192.168.0.1 to the laptop & share services
> >   via masqurade, ipchains, like I currently do to the rest of the boxen?
> >
> > Has anyone done this ?
>
> I have a DHCP server running on my "network" as well.  I don't do all the
> masquerading - just direct routing, but you would just need to setup the
> DHCP server with the correct parms for your network.

Well, I guess I have to run SAMBA too though, no ?
I now have in /etc/hosts
127.0.0.1       localhost            buggz1
192.168.0.1     buggz1.buggz.net     buggz1
192.168.0.2     buggz2.buggz.net     buggz2
192.168.0.3     buggz3.buggz.net     buggz3
192.168.0.4     buggz4.buggz.net     buggz4
192.168.0.5     buggz5.buggz.net     juneed
192.168.0.6     buggz6.buggz.net     juneed
192.168.0.7     buggz7.buggz.net     juneed

And in /etc/dhcpd.conf
option domain-name "exchange.buggz.net";
allow unknown-clients;

shared-network EXCHANGE {
         subnet 192.168.0.0 netmask 255.255.255.224 {
           range 192.168.0.5  192.168.0.7;
         }
       }

[root at buggz1 init.d]#  ./dhcpd restart
Shutting down dhcpd: dhcpd
Starting dhcpd: dhcpd Internet Software Consortium DHCPD $Name:
V2-BETA-1-PATCHLEVEL-6 $
Copyright 1995, 1996, 1997, 1998 The Internet Software Consortium.
All rights reserved.
Listening on Socket/eth0/EXCHANGE
Sending on   Socket/eth0/EXCHANGE

My nt laptop has
COMPUTER NAME as JUNEED
and WORKGROUP as EXCHANGE


Am I even close ?


--

 Ed June

 buggz at america.net
 Linux: For IQs higher than 95/98!






More information about the Ale mailing list