How to configure a PPPoE interface on the Nodegrid OS (complement)

How to configure a PPPoE interface on the Nodegrid OS (complement)

This article is a complement to the article "Creating a PPPoE connection with a ZSFP-VDSL2V (ADSL SFP)", link: https://support.zpesystems.com/portal/en/kb/articles/creating-a-pppoe-connection-with-a-zsfp-vdsl2v-adsl-sfp. It will guide you, step by step, through the configuration of a PPPoE link on the Nodegrid OS. The Nodegrid appliance, in our example below, is a Link SR, and will be the PPPoE client. 

Requirements: 
Having a PPPoE server set up, and connected to the Nodegrid. In our case, the Link SR is connected to the PPPoE server via its Eth0. 

Configuration: 
Note: on the Nodegrid's webUI, it is required to click on Save, to apply and save the settings being modified on the current window. In the rest of the article, we will assume a click on Save is done, after completing the settings, and before leaving the window. 

In Network :: Connections :: Eth0, configure the IPv4 mode (respectively the IPv6 mode) with 'No Ipv4 Address'(respectively with 'No IPv6 Address'):


In Network :: Connections, add a new Connection, with Type : PPPoE. Then, fill in carefully the following fields: 
  1.  Enter a Name. 
  2.  Select 'Set as Primary Connection'.
  3.  IPv4 mode: set at 'DHCP'.
  4. In the PPPoE Connection section: 
  1.    Parent Interface: set at 'eth0'.
  2.    Service: This is defined by the PPPoE server. If no Service is available, just use the same name as for the Parent Interface (in our case: 'eth0'). In the example below, we simply set it to 'isp'.
  3.    Username: set it, as per defined on the PPPoE server. 
  4.    Password: set it, as per defined on the PPPoE server


Visualization: 
Go back to Network :: Connections, we can see that: 
  1. eth0 is UP, with No Ip address. 
  2.  The PPPoE interface ('myppp'), is  created as 'pppoe.eth0', is UP, and has obtained an IP address from the PPPoE Server. 

We can also check the routing table and we make sure we ping correctly the zpecloud.com: