Junos OS

Expand all | Collapse all

Windows 10 PPPoE session is disconnected upon L4Redirection

Jump to Best Answer
  • 1.  Windows 10 PPPoE session is disconnected upon L4Redirection

    Posted 09-30-2020 01:40

    Hi

    I am testing L4 Redirection of MX BNG

    I connect one Windows 10 PC to BNG directly without and CPE. This means CPE is bridged. I applied the redirection service via a dynamic profile to Subscriber session

    As soon as session was established, a browser is opened and redirection page is going to be displayed but the PPPoE session is terminated by Windows.

    I check the event logs of Windows and saw this:

    The user DESKTOP-NB6L649\ronnie dialed a connection named Broadband Connection which has terminated. The reason code returned on termination is 631.

    I used same username/password on a CPE which is connected to BNG and I configured it to do NAT. The problem is not observed in this mode and connection remains up and redirection works flawlessly.

    Here is Redirection config on  BNG:

    captive-portal-content-delivery {
    rule Captive-Redirect {
    match-direction input;
    term 1 {
    then {
    redirect http://www.redirect_portal/dslredirector-day;
    }
    }
    }
    profile CPCD-PROFILE {
    cpcd-rules Captive-Redirect;
    }
    traceoptions {
    file Captive.log size 10000000;
    flag all;
    }
    }
    service-set REDIRECT-SERVICE-SET {
    service-set-options {
    routing-engine-services;
    }
    captive-portal-content-delivery-profile CPCD-PROFILE;
    interface-service {
    service-interface si-0/0/0.0;
    }
    }

    REDIRECT-SERVICE {
    interfaces {
    "$junos-interface-ifd-name" {
    unit "$junos-interface-unit" {
    family inet {
    service {
    input {
    service-set REDIRECT-SERVICE-SET service-filter REDIRECT_v4_WHITE_LIST;
    }
    }
    }
    }
    }
    }
    }

     

    Does anyone have a clue about this issue?

    Windows version is Version 10.0.19041.508

    Thank you

    Alireza



  • 2.  RE: Windows 10 PPPoE session is disconnected upon L4Redirection
    Best Answer

    Posted 09-30-2020 04:03

    Hi , first of all , read this doc.   This is how windows detect captive portal. 

    If your subscribers will connect from windows pc directly , so best option will be use external redirect server, where you can handle all this requests