summaryrefslogtreecommitdiff
path: root/share/man/man4
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2014-10-08 12:57:52 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2014-10-08 12:57:52 +0000
commit064750a99a7b1fc4704ad680819677457847d077 (patch)
treeb8f82eb2c030c748954e71792641701801273715 /share/man/man4
parent163b0527130107a72841083aa5ac0d11c134d3c6 (diff)
At present (since NOINET6-by-default), pppoe(4) does not request IPV6CP unless
the pppoe interface already has a link-local address. Add to the config sample showing how to do this with "inet6 eui64". Not ideal and may want further changes in the driver, but since v6 over pppoe is broken for some people let's at least document it for now. Also show the not-easy-to-guess "route add" line that's needed. ok deraadt@ jmc@
Diffstat (limited to 'share/man/man4')
-rw-r--r--share/man/man4/pppoe.48
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man4/pppoe.4 b/share/man/man4/pppoe.4
index 1c7c293646f..387de882dd4 100644
--- a/share/man/man4/pppoe.4
+++ b/share/man/man4/pppoe.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pppoe.4,v 1.26 2014/03/17 21:55:05 jmc Exp $
+.\" $OpenBSD: pppoe.4,v 1.27 2014/10/08 12:57:51 sthen Exp $
.\" $NetBSD: pppoe.4,v 1.26 2003/10/02 07:06:36 wiz Exp $
.\"
.\" Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 17 2014 $
+.Dd $Mdocdate: October 8 2014 $
.Dt PPPOE 4
.Os
.Sh NAME
@@ -87,6 +87,8 @@ Configure authentication.
The PPP session needs to identify the client to the peer.
For more details on the available options see
.Xr ifconfig 8 .
+.It
+If using IPv6, configure a link-local address.
.El
.Pp
This all is typically accomplished using an
@@ -94,11 +96,13 @@ This all is typically accomplished using an
file.
A typical file looks like this:
.Bd -literal -offset indent
+inet6 eui64
inet 0.0.0.0 255.255.255.255 NONE \e
pppoedev em0 authproto pap \e
authname 'testcaller' authkey 'donttell' up
dest 0.0.0.1
!/sbin/route add default -ifp pppoe0 0.0.0.1
+!/sbin/route add default -ifp pppoe0 fe80::
.Ed
.Pp
The physical interface must also be marked