[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: david l goodrich <dlg_(_at_)_dorkzilla_(_dot_)_org>
- Date: Sun, 15 Aug 2004 15:16:19 -0400
what's stopping you from setting it to any major DNS server? even offcampus i
use my university's DNS servers with no ill-effects.
--david
On Sun, 15 Aug 2004 04:58:31 +0200
Han Boetes <han_(_at_)_mijncomputer_(_dot_)_nl> wrote:
> J Moore 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 1.2.3.4;
> 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.
>
>
>
> # Han
[demime 0.98d removed an attachment of type application/pgp-signature]
Visit your host, monkey.org