Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Mar 2000 14:24:13 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        John Angelmo <john@veidit.net>
Cc:        FreeBSD ISP <freebsd-isp@FreeBSD.ORG>, brian@hak.lan.Awfulhak.org
Subject:   Re: serverside DNS and DHCP 
Message-ID:  <200003231424.OAA03978@hak.lan.Awfulhak.org>
In-Reply-To: Message from John Angelmo <john@veidit.net>  of "Thu, 23 Mar 2000 15:02:43 %2B0100." <38DA2403.63343ACE@veidit.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi again :-)
> 
> I need to set the DNS server side in my ppp config
> 
> I know that there is a MS serverside dns thin in /etc/ppp/ppp.conf
> is this right?
> ms-dns=192.168.1.1

If you want to allow clients to discover your DNSs, add

  accept dns

If you want to override the addresses in /etc/resolv.conf, use

  set dns 1.2.3.4 5.6.7.8

> and setting up DHCP is this the right way if I want to share 10
> adresses?
> set ifaddr 192.168.1.5 192.168.1.15

DHCP is a different thing.  If you want to assign the client an 
address between 192.168.1.5 and 192.168.1.15 (and your address is 
192.168.1.1) use

  set ifaddr 192.168.1.1 192.168.1.5-192.168.1.15

You should re-read the descriptions at the end of the ppp(8) man page 
- all this stuff is described reasonably well.

> /John Angelmo

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003231424.OAA03978>