One of the major internet broadband service provider in my country Malaysia require VLAN-Tagged PPPoE dial-up in order to connect to their internet broadband. I have successfully connect Nethserver to the internet broadband by creating both PPPoE and VLAN (500) interface on one of the NIC port let say eth1 and edit the ETH=‘eth1’ to ETH=‘eth1.500’ in ifcfg-ppp0 file.
Is that possible to have VLAN interface in red role (eth1.500) as one of the option in Ethernet interface drop-down list when creating PPPoE?
I tested it, it doesn’t work. Following is the result of my testing
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<< Setting before keying in the command. PPPoE line is up. <<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[root@atomtest ~]# db networks getprop eth1.500 role
red
[root@atomtest ~]# db networks getprop ppp0 eth
[root@atomtest ~]# db networks gettype ppp0
xdsl
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<<< Setting after keying in the command. PPPoE line is down <<<
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[root@atomtest ~]# db networks getprop eth1.500 role
pppoe
[root@atomtest ~]# db networks getprop ppp0 eth
eth1.500
[root@atomtest ~]# db networks gettype ppp0
xdsl
I am not sure whether we can conquer all Malaysian users but this ISP does have about 500,000 subscribers in Malaysia . By the way, pfSense has this feature.
it is like workaround after successfully created ppoe interface , but with out it you couldnot do anything.
So First we need to create Vlan without role (or with RED role for Dual connection). After that we need to modify SetPppoeParameters.php to validate interface not only ethernet without role and vlan without role.
If the commands above work correctly I’d add the VLAN tag to the PPPoE settings form. This way we do not add one more step to the current UI procedure.
No I did’t start from a previous test. I just tried your latest command and it works . Just now I reset my pppoe back to initial state (state before I manually changed the ifcfg-ppp0 file) which is down by issuing command #signal-event interface-upate (this command will overwrite my manual setting). Then follow by your command and the pppoe line is up and running. The result of #db networks show after issuing the command as following:-