Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Oct 2012 07:34:20 +0200
From:      Polytropon <>
To:        Jack <>
Subject:   Re: pppoe configuration and dns name resolution
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, 16 Oct 2012 20:38:47 +0530, Jack wrote:
> I'm new as a FreeBSD user, and trying to configure my
> pppoe connection.

I've been using PPPoE with a DSL modem for many years, using
FreeBSD 4, 5 and 7 with the system's PPPoE tools. The IP
was provided to the computer directly, so no DHCP in the
modem involved ("real modem mode").

In /etc/ppp/ppp.conf, I did simply define:

		set device PPPoE:xl0
		set authname customer1234567@myispname
		set authkey XXXXXXXXX
		set dial
		set login
		add default HISADDR

No further changes to that file. Note that here, xl0 is the
interface directly connected to the modem.

And in /etc/rc.conf:

	ifconfig_xl0=" netmask 0xffffff00"

So the system would automatically start the connection
at boot time. The tun0 interface would then be associated
the public IP designated when the PPPoE connection was up
and running.

Note that ppp_nat only has been needed to "transition" the
connection through a 2nd NIC into the local net, making my
machine a gateway (including related services, such as natd
and dhcpd).

I also think initializing the NIC xl0 is not entirely needed,
maybe "up" would have been sufficient.

For actually being able to use PPPoE, I did add the required
components to the kernel, because that approach was "state of
the art" at those times. :-)

In /etc/resolv.conf I did add the nameservers published by
my ISP. Anything worked automatically, I did not need to make
further changes.

Basically my setup looks like yours, except that (as I said) I
did not use any "additional features" of the DSL modem (as it
did not have such features). :-)

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

Want to link to this message? Use this URL: <>