Junos OS

Expand all | Collapse all

PPPoE server - Hello World

Jump to Best Answer
  • 1.  PPPoE server - Hello World

    Posted 05-28-2018 13:08

    I'm creating a very much hello world pppoe server and I try to connect a client and can't see any signal in log.
    16:46 < tanpi> I've already done a lot of config. Can someone appoint what's wrong?

     

    set interfaces xe-0/1/7 unit 0 encapsulation ppp-over-ether


    set interfaces pp0 unit 0 ppp-options chap
    set interfaces pp0 unit 0 ppp-options pap
    set interfaces pp0 unit 0 pppoe-options underlying-interface xe-0/1/7.0
    set interfaces pp0 unit 0 pppoe-options server
    set interfaces pp0 unit 0 family inet unnumbered-address lo0.0
    set interfaces pp0 unit 0 family inet6 unnumbered-address lo0.0

    set access profile Access-Profile authentication-order radius
    set access profile Access-Profile radius authentication-server 192.168.0.1
    set access profile Access-Profile radius accounting-server 192.168.0.1
    set access profile Access-Profile accounting order radius
    set access profile Access-Profile accounting update-interval 120
    set access profile Access-Profile accounting statistics volume-time


    set access address-assignment pool v4-pool family inet network 10.16.0.0/24
    set access address-assignment pool v4-pool family inet range v4-range-0 low 10.16.0.1
    set access address-assignment pool v4-pool family inet range v4-range-0 high 10.16.0.1
    set access address-assignment pool v4-pool family inet dhcp-attributes maximum-lease-time 99999
    set access address-assignment pool v6-ia-na-pool family inet6 prefix 1000:0000::/64
    set access address-assignment pool v6-ia-na-pool family inet6 range v6-range-0 low 1000::1/128
    set access address-assignment pool v6-ia-na-pool family inet6 range v6-range-0 high 1000::ffff:ffff/128
    set access address-assignment pool v6-pd-pool family inet6 prefix 2012::/48
    set access address-assignment pool v6-pd-pool family inet6 range v6-pd prefix-length 64
    set access address-protection


    set access radius-server 192.168.0.1 secret "$9$OqHt87N-bYaZ8nDjH2vzFi"
    set access radius-server 192.168.0.1 retry 4
    set access radius-server 192.168.0.1 source-address 192.168.0.2



  • 2.  RE: PPPoE server - Hello World
    Best Answer

    Posted 05-28-2018 17:37


  • 3.  RE: PPPoE server - Hello World

    Posted 05-30-2018 05:30

    Thanks. I've changed to dynamic profile and now is working.