•You are running DHCP server on the same computer that you are using to do
IP address translation between your office network and the Internet.
•You are running a DHCP server on the same computer that you are using as a
router or firewall between your network and the Internet.
•You are using one of the integrated, or “appliance,” Internet connection
devices that act as routers and provide DHCP, DNS, and NAT services to the
small office or home network.
Small Office Network Architectures
A very common configuration in small office environments is a computer running
Linux or NetBSD that is connected to the Internet on one interface and to the local
office LAN on a second interface; this computer acts as a router and as a DHCP
server. Often, the Internet connection provides only one IP address, so the router
must be configured to provide NAT (also known as IP masquerading). Even when the
ISP provides more than one IP address, the router is often configured to act as a fire-
wall. In some cases, the router might need to act as a DHCP client on the interface
that is connected to the Internet but as a DHCP server on the other interface. In this
situation, you might use one of the three topologies shown in Figure 22.1.
In Topology A, the router/server is connected directly to the ISP through some kind
of point-to-point link: an analog or ISDN modem, a leased line, or something
similar.
In Topology B, the ISP provides a device that is connected to the ISP’s network on
one side and to the local network on the other. This device is a bridge, forwarding
packets from one network to the other. It probably also filters what it sends so that it
doesn’t forward packets on one side of the bridge that aren’t intended for computers
on the other side of the bridge.
Topology C also includes a device provided by the ISP, but instead of connecting
your side of the device to the local network, you connect it to a separate network
that only your router/server is connected to.
BRIDGING DEVICES
If your ISP provides you with a bridging device to connect your local office network to the
ISP’s network, you should use Topology C if possible. Topology B might inappropriately allow
packets from your ISP’s customers or your ISP onto your network, and it might inappropriately
allow your packets onto your ISP’s customers’ networks. Because your ISP is providing the
interface, you must trust your ISP to configure the bridge so as not to forward packets
containing private information from your network to the ISP’s network. Even if the ISP doesn’t
intend to do this, you might not want to assume that the ISP knows how to configure the
CHAPTER 22 Setting Up DHCP in a Small Office382
026 3273 CH22 10/3/02 5:05 PM Page 382