From owner-freebsd-questions Sat Apr 21 4:22:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bryden.apana.org.au (bryden.apana.org.au [203.3.126.129]) by hub.freebsd.org (Postfix) with ESMTP id 386D537B422 for ; Sat, 21 Apr 2001 04:22:34 -0700 (PDT) (envelope-from dougy@bryden.apana.org.au) Received: from localhost (dougy@localhost) by bryden.apana.org.au (8.9.3/8.9.3) with ESMTP id VAA09686 for ; Sat, 21 Apr 2001 21:21:45 +1000 (EST) (envelope-from dougy@bryden.apana.org.au) Date: Sat, 21 Apr 2001 21:21:41 +1000 (EST) From: Doug Young To: freebsd-questions@freebsd.org Subject: ADSL / PPPoE configuration Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm attempting to configure a 4.2 RELEASE system as an ADSL gateway. Despite reading everything I can find on the subject I'm still confused about what to do with files like '/etc/rc.conf", "/etc/resolv.conf", "/etc/ppp.linkup" If a system has two network adaptors (one for ADSL modem & one for LAN), what settings are needed in rc.conf ?? Obviously I can't assign similar addresses to both ethernet interfaces when I have no way of knowing the what the DHCP one will be before connecting ... hopefully NAT is smart enough to send LAN packets to / from the right place (although there is a quite vague warning re ADSL / NAT in the handbook linking to a dead page) With dialup modem gateway setups using either fixed public IPs or NAT addresses its straightforward enough, so whats the problem here with nat'ting the first ethernet interface & using 192.168 addresses on the LAN side ?? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message