Routing
Routing

how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:12 AM

meu nome e vitor sou novo no JunosOs, I would like the help of you to help me set up a piece of equipment as a full pppoe server from scratch

12 REPLIES 12
Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:21 AM

Hi,

 

set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" no-traps
set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" ppp-options chap
set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" ppp-options pap
set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" pppoe-options underlying-interface "$junos-underlying-interface"
set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" pppoe-options server
set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" family inet unnumbered-address lo0.0
set chassis network-services enhanced-ip
set access-profile aaa
set interfaces lo0 unit 0 family inet address 10.10.10.10/32
set interfaces ge-4/0/0 flexible-vlan-tagging
set interfaces ge-4/0/0 unit 100 encapsulation ppp-over-ether
set interfaces ge-4/0/0 unit 100 vlan-id 100
set interfaces ge-4/0/0 unit 100 pppoe-underlying-options dynamic-profile PPPoE-Profile

set access radius-server 10.204.95.67 secret "$9$n2XKC0IyrvLX-yl87Nd4o"
set access radius-server 10.204.95.67 timeout 6
set access radius-server 10.204.95.67 retry 10
set access radius-server 10.204.95.67 source-address 10.204.12.210

set access profile aaa authentication-order radius
set access profile aaa radius authentication-server 10.204.95.67
set access profile aaa radius accounting-server 10.204.95.67
set access profile aaa radius options nas-port-extended-format slot-width 4
set access profile aaa radius options nas-port-extended-format adapter-width 1
set access profile aaa radius options nas-port-extended-format port-width 3
set access profile aaa radius options nas-port-extended-format vlan-width 16
set access profile aaa radius options nas-port-type ethernet xdsl
set access profile aaa radius options revert-interval 1200
set access profile aaa accounting order radius
set access profile aaa accounting accounting-stop-on-access-deny
set access profile aaa accounting coa-immediate-update
set access profile aaa accounting update-interval 10
set access profile aaa accounting statistics volume-time
set access address-assignment pool test family inet network 10.1.1.0/24
set access address-assignment pool test family inet range 1 low 10.1.1.1
set access address-assignment pool test family inet range 1 high 10.1.1.254
set access domain map default access-profile aaa

 

Regards,

Rahul

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:22 AM

Hi,

 

1. For Junos Subscriber Management, i would suggest to load JUNOS 17.3R3-S1

2. For testing purpose, you can have uncapped scale for upto 30 days of DEMO from the day of first subscriber login.

3. Post 30 days, system would limit to 10 subscribers.

4. If testing at scale is needed beyond the expiration of the 30 day Demo license grace period, the system must be reinitialized via USB. 

5. In previous post, i had shared a sample static vlan PPPoE Server configuration with IP Pool. let me you require anything specfic.

6. You would need a Radius Server to authenticate subscriber and for accounting purpose.

7. Subscriber Licensing for scale and service provisioing is required for production use.

 

I would suggest to log a case with JTAC in case any help. If this is net setup, please reach out to accounts team / ps team for new setup installation. They can demo you a JunOS Subscriber Mgmt in our Juniper openLab / PoC setup enviorment.

 

 

 

 

 

 

/Karan Dhanak
# Please mark my solution as accepted if it helped, Kudos are appreciated as well.

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:22 AM
Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:53 AM

there is some software that makes it easy to configure the juniper ?


@karand wrote:

Hi,

 

1. For Junos Subscriber Management, i would suggest to load JUNOS 17.3R3-S1

2. For testing purpose, you can have uncapped scale for upto 30 days of DEMO from the day of first subscriber login.

3. Post 30 days, system would limit to 10 subscribers.

4. If testing at scale is needed beyond the expiration of the 30 day Demo license grace period, the system must be reinitialized via USB. 

5. In previous post, i had shared a sample static vlan PPPoE Server configuration with IP Pool. let me you require anything specfic.

6. You would need a Radius Server to authenticate subscriber and for accounting purpose.

7. Subscriber Licensing for scale and service provisioing is required for production use.

 

I would suggest to log a case with JTAC in case any help. If this is net setup, please reach out to accounts team / ps team for new setup installation. They can demo you a JunOS Subscriber Mgmt in our Juniper openLab / PoC setup enviorment.

 

 

 

 

 

 


 

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:54 AM

there is some software that makes it easy to configure the juniper ?

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 02:59 AM

Hi Vitor,

 

No S/w in particular.  But setting up MX80 as PPPoE server doesn't require much effords. its easy once you get along with setup.

As i suggested, for JUNOS Subscriber mgmt, pick JUNOS 17.3R3 release & enable subscriber mgmt knobs.

I believe you already have PPPoE Server / AAA/ IPPool configuration with you and the Radius VSA which i shared in previous post.

 

If possible, open a JTAC case, we can guide you on the setup in under a test scope of work.

 

 

 

 

 

/Karan Dhanak
# Please mark my solution as accepted if it helped, Kudos are appreciated as well.

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 03:13 AM

Could you explain this line better ?

set dynamic-profiles PPPoE-Profile interfaces pp0 unit "$junos-interface-unit" pppoe-options underlying-interface "$junos-underlying-interface"

"$junos-underlying-interface"

What interface will I put here ?

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 03:20 AM

This is junos variable to build the subscriber interface dynamically.

 

"$junos-underlying-interface";   <<< interface where the subscriber’s packet arrives

"$junos-interface-unit" {      <<< subs IFL unit number

 

Regards,
Rahul Nayar

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 03:25 AM

I would put the physical or logical interface pointing to the VLAN ?

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-27-2018 03:27 AM

I've shared you the sample configuration.

 

set interfaces ge-4/0/0 flexible-vlan-tagging
set interfaces ge-4/0/0 unit 100 encapsulation ppp-over-ether
set interfaces ge-4/0/0 unit 100 vlan-id 100
set interfaces ge-4/0/0 unit 100 pppoe-underlying-options dynamic-profile PPPoE-Profile

 

You don't need to modify the variable. MX will automatically pull the information and build the interface based on dynamic-profile.

 

Regards,

Rahul Nayar

Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-28-2018 04:01 AM

 could you give me an example of a real working pppoe ?

because I'm very difficult




Highlighted
Routing

Re: how to setup a zero PPPoE-SERVER and an ip pool for the clients in the mx80

‎11-28-2018 04:10 AM

Hi Vitor,

 

The static vlan configuration given my prevoius post, is real working PPPoE configuration:

https://forums.juniper.net/t5/Routing/who-configure-PPPoE-SERVER-and-bandwidth-control-rules/m-p/407...

 

set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" ppp-options chap
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" ppp-options initiate-ncp ip
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" ppp-options initiate-ncp ipv6
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" ppp-options peer-ip-address-optional
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" pppoe-options underlying-interface "$junos-underlying-interface"
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" pppoe-options server
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" keepalives interval 60
set dynamic-profiles jnpr interfaces pp0 unit "$junos-interface-unit" family inet unnumbered-address "junos-loopback-interface"
set access-profile jnpr
set interfaces lo0 unit 0 family inet address x.x.x.x/32
set interfaces xe-x/0/0 vlan-tagging
set interfaces xe-x/0/0 unit 3000 encapsulation ppp-over-ether
set interfaces xe-x/0/0 unit 3000 vlan-id 3000
set interfaces xe-x/0/0 unit 3000 pppoe-underlying-options dynamic-profile jnpr
set access profile jnpr accounting-order radius
set access profile jnpr authentication-order radius
set access profile jnpr radius authentication-server x.x.x.x
set access profile jnpr radius accounting-server x.x.x.x
set access profile jnpr radius-server x.x.x.x port 1812
set access profile jnpr radius-server x.x.x.x accounting-port 1813
set access profile jnpr radius-server x.x.x.x secret test
set access profile jnpr radius-server x.x.x.x timeout 3
set access profile jnpr radius-server x.x.x.x retry 5
set access profile jnpr radius-server x.x.x.x source-address x.x.x.x
set access profile jnpr accounting order radius
set access profile jnpr accounting address-change-immediate-update
set access profile jnpr accounting statistics volume-time
set access profile jnpr accounting send-acct-status-on-config-change

 

 

There is documented PPPoE Server configuration for your reference:

https://www.juniper.net/documentation/en_US/junos/topics/example/subscriber-management-pppoe-dynamic...

 

The configuration can further change depending on type of model you want to deploy.

Do you require static vlan or dynamic-vlan PPPoE subscriber?

 

 

 

/Karan Dhanak
# Please mark my solution as accepted if it helped, Kudos are appreciated as well.