@@ -113,7 +113,7 @@ PPPoE options
113
113
timeout period, after which an idle PPPoE link will be disconnected. A
114
114
non-zero idle timeout will never disconnect the link after it first came up.
115
115
116
- .. cfgcmd :: set interfaces pppoe <interface> default-route
116
+ .. cfgcmd :: set interfaces pppoe <interface> default-route [auto | force | none]
117
117
118
118
Use this command to specify whether to automatically add a default route
119
119
pointing to the endpoint of the PPPoE when the link comes up. The default
@@ -122,6 +122,16 @@ PPPoE options
122
122
**default: ** A default route to the remote endpoint is automatically added
123
123
when the link comes up (i.e. auto).
124
124
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
+
125
135
.. cfgcmd :: set interfaces pppoe <interface> idle-timeout <time>
126
136
127
137
Use this command to set the idle timeout interval to be used with on-demand
@@ -240,7 +250,8 @@ Requirements:
240
250
* With the ``default-route `` option set to ``auto ``, VyOS will only add the
241
251
default gateway you receive from your DSL ISP to the routing table if you
242
252
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 ``.
244
255
* With the ``name-server `` option set to ``none ``, VyOS will ignore the
245
256
nameservers your ISP sens you and thus you can fully rely on the ones you
246
257
have configured statically.
0 commit comments