Project

General

Profile

Actions

Bug #8603

closed

PPP WANs do not work on VLANs on current snapshots

Added by Jim Pingle almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Very High
Assignee:
Category:
Interfaces
Target version:
Start date:
06/27/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4
Affected Architecture:
All

Description

At some time between April and now on 2.4.4 snapshots, PPP WANs like PPPoE stopped working when using a VLAN interface.

Jun 27 09:54:35 jack kernel: ng0: changing name to 'pppoe0'
Jun 27 09:54:35 jack ppp: [opt4_link0] LCP: Open event
Jun 27 09:54:35 jack ppp: [opt4_link0] LCP: state change Initial --> Starting
Jun 27 09:54:35 jack ppp: [opt4_link0] LCP: LayerStart
Jun 27 09:54:35 jack ppp: [opt4_link0] PPPoE: Connecting to ''
Jun 27 09:54:35 jack kernel: ng_ether_attach: can't name node re1_30

At that point it falls into a loop where it times out over and over.

Relevant portions of config.xml:

    <interfaces>
        <opt4>
            <descr><![CDATA[PWAN]]></descr>
            <if>pppoe0</if>
            <enable></enable>
            <spoofmac></spoofmac>
            <ipaddr>pppoe</ipaddr>
        </opt4>
    </interfaces>
    <vlans>
        <vlan>
            <if>re1</if>
            <tag>30</tag>
            <pcp></pcp>
            <descr><![CDATA[PPPoE Test]]></descr>
            <vlanif>re1.30</vlanif>
        </vlan>
    </vlans>
    <ppps>
        <ppp>
            <ptpid>0</ptpid>
            <type>pppoe</type>
            <if>pppoe0</if>
            <ports>re1.30</ports>
            <username>jack</username>
            <password>amFjaw==</password>
            <descr><![CDATA[PPPoE Test]]></descr>
            <bandwidth></bandwidth>
            <mtu></mtu>
            <mru></mru>
            <mrru></mrru>
            <provider></provider>
        </ppp>
    </ppps>

/var/etc/mpd_opt4.conf

startup:
    # configure the console
    set console close
    # configure the web server
    set web close

default:
pppoeclient:
    create bundle static opt4
    set bundle enable ipv6cp
    set iface name pppoe0
    set iface disable on-demand
    set iface idle 0
    set iface enable tcpmssfix
    set iface up-script /usr/local/sbin/ppp-linkup
    set iface down-script /usr/local/sbin/ppp-linkdown
    set ipcp ranges 0.0.0.0/0 0.0.0.0/0
    #log -bund -ccp -chat -iface -ipcp -lcp -link

    create link static opt4_link0 pppoe
    set link action bundle opt4
    set link disable multilink
    set link keep-alive 10 60
    set link max-redial 0
    set link disable chap pap
    set link accept chap pap eap
    set link disable incoming
    set link mtu 1492
    set auth authname "jack" 
    set auth password jack
    set pppoe service "" 
    set pppoe iface re1.30
    open

Actions

Also available in: Atom PDF