summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorpali <7141871+pali@users.noreply.github.com>2021-02-26 05:44:19 +0100
committerGitHub <noreply@github.com>2021-02-26 15:44:19 +1100
commitc3120199a30977a4da12fd031c1df4a95dec417a (patch)
tree914da9245d866114086e83ad8714af8ad1ca7972 /sample
parent98ec18f098e5ef68e3a8cc6954fcaf5a7fb8b7be (diff)
downloadppp-c3120199a30977a4da12fd031c1df4a95dec417a.tar.gz
pppd: defaultroute6 is not frequent option and should not be used (#257)
In pppd.8 manpage, move defaultroute6 option from FREQUENTLY USED OPTIONS into OPTIONS, and add a warning that this option should not be needed or used on IPv6 networks. Option defaultroute6 is needed only for broken IPv6 networks. Also add nodefaultroute6 into sample options file. Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'sample')
-rw-r--r--sample/options6
1 files changed, 6 insertions, 0 deletions
diff --git a/sample/options b/sample/options
index 8d0a3f9..35852c5 100644
--- a/sample/options
+++ b/sample/options
@@ -32,6 +32,12 @@ noipdefault
# enable this on a server that already has a permanent default route
#nodefaultroute
+# Default IPv6 route is automatically configured by kernel based on
+# received ICMPv6 Router Advertisement packets.
+# pppd should not touch default IPv6 route to prevent breaking IPv6 setup.
+# Enabling defaultroute6 is needed only for broken IPv6 setup.
+nodefaultroute6
+
# Run the executable or shell command specified after pppd has terminated
# the link. This script could, for example, issue commands to the modem
# to cause it to hang up if hardware modem control signals were not