On Tue, 2005-01-25 at 22:08 -0700, jb wrote:
> I'm trying to get my whole office (about 15 Win, Linux, and Mac OS 
> boxes) behind a firewall. So, I'm booting a spare box on Devil-Linux, 
> which boots from CD, and then saves /etc and some other configs to a USB 
> pen drive. The default setup works okay, other than the fact that I'll 
> have to configure Squid, but that's for another email.
> 

There are several ways for this to be done.  In the following subnet
declaration hosts will be assigned IP addresses dynamically, but the the
"deny unknown-clients" directive indicates that a host declaration is
required (no address needed in the host declaration) in order for a host
to be given an address from this pool.

-----------------
subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.254;
   range 192.168.1.10 192.168.1.100;
   deny unknown-clients;
}
host thatcomputer {
   hardware ethernet 08:00:2b:4c:59:23;
}
-----------------

In the next subnet declaration hosts will be assigned Ip addresses
statically, according to their host declaration, but none will be
assigned dynamically:
-----------------
subnet 192.168.1.0 netmask 255.255.255.0 {
   option routers 192.168.1.254;
}

host thatcomputer {
   hardware ethernet 08:00:2b:4c:59:23;
   fixed-address 192.168.1.10;
}
-----------------

Of course these options can be mixed also for other desired effects, and
there are even more options in addition.  See man dhcpd.conf for more
examples.

Casey


--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to