Date: Fri, 19 Oct 2012 09:51:17 +0200 From: Polytropon <freebsd@edvax.de> To: RW <rwmaillists@googlemail.com> Cc: freebsd-questions@freebsd.org Subject: Re: pppoe configuration and dns name resolution Message-ID: <20121019095117.bc10a4e0.freebsd@edvax.de> In-Reply-To: <20121018200350.48504572@gumby.homeunix.com> References: <CACmXQA3FtszXH92JDg9Gwv=YMm00ZL15F2pw3a5MbqfuV7Zd6w@mail.gmail.com> <20121018200350.48504572@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 18 Oct 2012 20:03:50 +0100, RW wrote: > On Tue, 16 Oct 2012 20:38:47 +0530 > Jack wrote: > > /etc/resolv.conf > > > > # Generated by resolvconf > > nameserver 192.168.1.1 > > If 192.168.1.1 is the modem, how can it be a proxy nameserver? It > doesn't have an internet connection if it's not terminating PPP. > > You have > > ifconfig_fxp0="DHCP" > > which means you are picking up DHCP from the modem itself not the > other side of the PPP link. In bridging mode you only need to > configure the underlying ethernet device if you want to route back-out > into the router's LAN (PPPoE and IP can share a lan). > > You don't necessarily need DHCP with PPPoE because PPP can deliver the > IP address, DNS etc by itself. If the ISP requires you to use DHCP you > should probably have configured the tun0 interface instead of fxp0. Exactly that's what I did describe in my message: Configuration data is set in ppp.conf, no DHCP involved, and the actual IP will be delivered to the tun0 interface, while fxp0 (in this case) can be used for involving with NAT (if required). Setting the nameserver to an _actual_ nameserver (either running named on the machine, or relying on the ISP's nameservers) is required. This is the easiest approach to dealing with PPPoE modems (if they are used as "actual modems" without any additional routing, DHCP or other functionality). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121019095117.bc10a4e0.freebsd>