Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Oct 2012 20:03:50 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: pppoe configuration and dns name resolution
Message-ID:  <20121018200350.48504572@gumby.homeunix.com>
In-Reply-To: <CACmXQA3FtszXH92JDg9Gwv=YMm00ZL15F2pw3a5MbqfuV7Zd6w@mail.gmail.com>
References:  <CACmXQA3FtszXH92JDg9Gwv=YMm00ZL15F2pw3a5MbqfuV7Zd6w@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 16 Oct 2012 20:38:47 +0530
Jack wrote:


> My network schematic is:
> 
> PC <-----------------------> ADSL modem <-----> Internet
>  192.168.1.2   192.168.1.1
> 
...
> /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.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20121018200350.48504572>