[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dhcp & pf on a cable modem connection
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: dhcp & pf on a cable modem connection
- From: J Moore <jaymo_(_at_)_cullmail_(_dot_)_com>
- Date: Sat, 14 Aug 2004 22:21:39 -0500
On Sun, Aug 15, 2004 at 04:58:31AM +0200, the unit calling itself Han Boetes wrote:
> > I'm preparing a Soekris firewall for a family member to take to
> > college. Her Internet access will be via cable modem, so I want
> > the Soekris between her cable modem Ethernet interface, and her
> > Windows PC.
> > I've set up dhcpd on the "inside" interface, and dhclient on the
> > outside interface. But I'm not clear at all on how DNS will be
> > handled. In other words, how does dhcpd tell the Windows client what
> > DNS server to use?
> > I can't experiment 'cause I don't have access to the cable network...
> > can someone provide a clue?
> Ok, here is my dhcpd.conf file:
> ~% cat /etc/dhcpd.conf
> option domain-name "blah.org";
> option domain-name-servers 220.127.116.11;
> subnet 172.16.16.0 netmask 255.255.255.0
> option broadcast-address 172.16.16.255;
> option routers 172.16.16.1;
> range 172.16.16.2 172.16.16.254;
> First boot, and get the nameservers for that connection from
> /etc/resolv.conf. Put them in dhclient.conf and restart dhcpd
> You can also look up the nameservers on the website of the ISP or they
> are called ns.isp.com or something.
Well, thanks, but that's not going to work in this case. This person
does not have the skills/inclination to edit configuration files,
re-start daemons, etc. It's all got to happen "auto-magically"... the
only thing I could count on her being able to do is power-cycle the
Soekris by pulling the plug.
Any other ideas?
Visit your host, monkey.org