Since it's non-obvious how to setup pppoe for v6 now that link-local
addresses are no longer configured by default, I think we should have
something in the manual.
Any comments/objections/suggestions for a better way to do this?
Index: man4/pppoe.4
===================================================================
RCS file: /cvs/src/share/man/man4/pppoe.4,v
retrieving revision 1.26
diff -u -p -r1.26 pppoe.4
--- man4/pppoe.4 17 Mar 2014 21:55:05 -0000 1.26
+++ man4/pppoe.4 8 Oct 2014 02:01:14 -0000
@@ -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
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