diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-21 17:53:00 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2023-05-21 17:53:00 +0000 |
commit | 1be331f2084e094f6322744083012b4e394f39fd (patch) | |
tree | 46d87538efd0919cf67476daa1429e958eab12fe /sys/man | |
parent | cbf5d3dc340da5b96cd1282e622a3f862c5b103e (diff) |
ip/ppp, ip/pppoe: handle ipv6 address auto-configuration, call ip/ipconfig
Change ip/ppp to call ip/ipconfig to add and remove
addresses to avoid duplicating code for removing
ndb entries and handling default routes as well as
allow ipv6 address auto-configuration.
Diffstat (limited to 'sys/man')
-rw-r--r-- | sys/man/8/ppp | 62 |
1 files changed, 41 insertions, 21 deletions
diff --git a/sys/man/8/ppp b/sys/man/8/ppp index f8f954ace..1a27d49a6 100644 --- a/sys/man/8/ppp +++ b/sys/man/8/ppp @@ -20,6 +20,9 @@ ppp, pppoe, pptp, pptpd \- point-to-point protocol ] [ .B -p .I dev +| +.B -e +.I dev ] [ .B -x .I netmntpt @@ -27,6 +30,9 @@ ppp, pppoe, pptp, pptpd \- point-to-point protocol .B -t .I modemcmd ] [ +.B -U +.I duid +] [ .I local [ .I remote @@ -35,48 +41,41 @@ ppp, pppoe, pptp, pptpd \- point-to-point protocol .B ip/pppoe [ .B -PdcCr -] -[ +] [ .B -A .I acname -] -[ +] [ .B -S .I srvname -] -[ +] [ +.B -U +.I duid +] [ .B -k .I keyspec -] -[ +] [ .B -m .I mtu -] -[ +] [ .B -b .I baud -] -[ +] [ .B -x .I pppnetmntpt -] -[ +] [ .I ether ] .PP .B ip/pptp [ .B -dP -] -[ +] [ .B -k .I keyspec -] -[ +] [ .B -w .I window -] -[ +] [ .B -x .I pppnetmntpt ] @@ -98,7 +97,6 @@ ppp, pppoe, pptp, pptpd \- point-to-point protocol .I tcp-dir .SH DESCRIPTION The Point-to-Point Protocol is used to encapsulate Internet Protocol packets -in IPv4 packets for transfer over serial lines or other protocol connections. .I Ppp can run either as a client or, with the @@ -130,6 +128,12 @@ disallow packet compression .B C disallow IP header compression .TP +.B e +assigns +.I dev +to the packet interface device (for identification only), +but otherwise communicates over standard I/O. +.TP .B f make PPP add HDLC framing. This is necessary when using PPP over a serial line or a TCP connection @@ -169,6 +173,20 @@ before starting the PPP protocol, write .I modemcmd to the device .TP +.B U +use +.I duid +as the DHCPv6 client identier. +.I Pppoe +creates the +.I duid +from the ethernet address (DUID-LL) of +.I dev +when not specified and passes it on to +.IR ppp . +See also +.IR ipconfig (8)). +.TP .B u before starting the PPP protocol with the remote end, shuttle bytes between the device and standard I/O until an EOF on standard @@ -291,6 +309,8 @@ set the receive window to .br .B /sys/src/cmd/ip/pppoe.c .SH SEE ALSO +.IR ipconfig (8), .I gre in .IR ip (3) + |