Skip to content

Commit f701d66

Browse files
authored
Merge pull request vyos#438 from samburney/master
pppoe: T3273: Add usage of each default-route mode
2 parents c5272b1 + 4842a37 commit f701d66

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

docs/configuration/interfaces/pppoe.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ PPPoE options
113113
timeout period, after which an idle PPPoE link will be disconnected. A
114114
non-zero idle timeout will never disconnect the link after it first came up.
115115

116-
.. cfgcmd:: set interfaces pppoe <interface> default-route
116+
.. cfgcmd:: set interfaces pppoe <interface> default-route [auto | force | none]
117117

118118
Use this command to specify whether to automatically add a default route
119119
pointing to the endpoint of the PPPoE when the link comes up. The default
@@ -122,6 +122,16 @@ PPPoE options
122122
**default:** A default route to the remote endpoint is automatically added
123123
when the link comes up (i.e. auto).
124124

125+
* auto: A default route is added if no other default route (From any
126+
source) already exists.
127+
* force: A default route is added after removing *all* existing default
128+
routes.
129+
* none: No default route is installed.
130+
131+
.. note:: In all modes except 'none', all default routes using this interface
132+
will be removed when the interface is torn down - even manually installed
133+
static interface-routes.
134+
125135
.. cfgcmd:: set interfaces pppoe <interface> idle-timeout <time>
126136

127137
Use this command to set the idle timeout interval to be used with on-demand
@@ -240,7 +250,8 @@ Requirements:
240250
* With the ``default-route`` option set to ``auto``, VyOS will only add the
241251
default gateway you receive from your DSL ISP to the routing table if you
242252
have no other WAN connections. If you wish to use a dual WAN connection,
243-
change the ``default-route`` option to ``force``.
253+
change the ``default-route`` option to ``force``. You could also install
254+
a static interface-route and set the ``default-route`` option to ``none``.
244255
* With the ``name-server`` option set to ``none``, VyOS will ignore the
245256
nameservers your ISP sens you and thus you can fully rely on the ones you
246257
have configured statically.

0 commit comments

Comments
 (0)