Running DHCP allows guest machines to hook up to the network without fuss.
Depending on your comfort level with setting up your other machines, you
might also prefer to use DHCP over assigning static IPs. This is what
/etc/dhcpd.conf should look like:
#/etc/dhcpd.conf
# $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
#
# DHCP server options.
# See dhcpd.conf(5) and dhcpd(8) for more information.
#
# Network: 192.168.1.0/255.255.255.0
# Domain name: my.domain
# Name servers: 192.168.1.3 and 192.168.1.5
# Default router: 192.168.1.1
# Addresses: 192.168.1.32 - 192.168.1.127
#
shared-network LOCAL-NET {
option domain-name "fake-domain.org";
option domain-name-servers 192.168.1.1;
subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.32 192.168.1.127;
}
}
This will allow up to 96 machines on your internal network, which should be
more than sufficient. Create an empty temporary file for dhcpd to use:
# touch /var/db/dhcpd.leases
If you make any changes to this file, run dhcpd rl1 (or whatever your inside
network is). (Or you can reboot the machine - but that's the Windows way, in
the Unix world we prefer to never reboot any machines.)