pppoe configuration and dns name resolution

RW rwmaillists at googlemail.com
Thu Oct 18 19:03:59 UTC 2012


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.


More information about the freebsd-questions mailing list