Page MenuHomeVyOS Platform

PPPoE client CLI redesign
Closed, ResolvedPublicFEATURE REQUEST


The current PPPoE CLI is rather clumsy, like everything that is nested in interface for no good reason.
It's hard to extend it to support new interface types, and it's also hard for the user to change the interface it's sourced from.

I suggest moving it to its own interface type.


Difficulty level
Hard (possibly days)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

c-po added a subscriber: c-po.Mar 28 2019, 7:03 AM

Cisco has the interface type Dialer which is used to configure a ton of PPPoE stuff. In addition a dialer is later assigned to a physical interface, e.g. ATM line card or an ethernet port. With this type of configuration a physical interface can be moved easily.

runar added a subscriber: runar.Mar 28 2019, 7:50 AM

PPP supports many forms of transfer, hense the dialer interface on cisco. almost all supported ppp/slip etc. functions are supported by the dialer function in a cisco device. Now, vyos supports PPPoE, but we don't support any other PPP "format".. if we intend to add support for more formats (serial nullmodem, modem, isdn++) then i would favor a new Dialer or Dialup interface type.. if not.. why not call it pppoe?

runar added a comment.Mar 28 2019, 7:58 AM

And yea, i feel like the configuration is quite backwards in the curremt implementation... Configuration of the ppp interface should be in its own interface block, and not inside a parent interface like it is today.. the parent is only an attribute on the ppp interface...

pasik added a subscriber: pasik.Mar 30 2019, 10:59 AM
c-po added a comment.May 29 2019, 3:05 PM

If there is a refactoring ongoing please also consider the following change to flatten the PPPoE IPv6 configuration by making use of a present nested node:

IMHO it makes no sense to have a dedicated enable-ipv6 leafnode in parallel to the ipv6 node. It should be placed under the ipv6 node instead as enable or enabled


vyos@vyos# show interfaces ethernet eth0 vif 7
+pppoe 0 {
+    enable-ipv6
+    ipv6 {
+        address {
+            autoconf
+        }
+        dup-addr-detect-transmits 2
+    }


vyos@vyos# show interfaces ethernet eth0 vif 7
+pppoe 0 {
+    ipv6 {
+        enable
+        address {
+            autoconf
+        }
+        dup-addr-detect-transmits 2
+    }

This change only applies to pppoe, regular ethernet interfaces do not have this CLI design flaw

vyos@vyos:~$ find /opt/vyatta/share/vyatta-cfg -name node.def | grep enable-ipv6
c-po added a comment.Dec 31 2019, 12:11 PM

Right now there is also the possibility to enable IPv6 router-advertisments on a PPPoE client interface - this somehow makes no sense at all

  • set interfaces ethernet eth0 vif 7 pppoe 0 ipv6 router-advert
  • set interfaces ethernet eth0 pppoe 0 ipv6 router-advert
c-po changed the task status from Open to In progress.Feb 19 2020, 5:13 PM
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po changed Difficulty level from Unknown (require assessment) to Hard (possibly days).
c-po set Is it a breaking change? to Unspecified (possibly destroys the router).
c-po changed the status of subtask T2055: Remove IPv6 router-advert options for PPPoE from Open to In progress.Feb 20 2020, 7:19 AM
c-po closed this task as Resolved.Feb 23 2020, 2:42 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.