pppoe configuration and dns name resolution

Polytropon freebsd at edvax.de
Fri Oct 19 07:51:26 UTC 2012

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
> If 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).

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list