Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added


Quick Configs Juniper - PPPoE Server & Client

Widget Connector
urlhttps://www.youtube.com/watch?v=pCyq31UQrtw&list=PLi4_AmFcCMfYp9dG4Hs0Ij6aBotw6wHaq&index=11

ADSL: PPPoA

set interfaces at-2/0/0 encapsulation atm-pvc 
set interfaces at-2/0/0 atm-options vpi 0
set interfaces at-2/0/0 dsl-options operating-mode auto
set interfaces at-2/0/0 unit 0 encapsulation atm-ppp-vc-mux
set interfaces at-2/0/0 unit 0 vci 0.38
set interfaces at-2/0/0 unit 0 ppp-options chap default-chap-secret “chap-password”        ## SECRET-DATA
set interfaces at-2/0/0 unit 0 ppp-options chap local-name “username@testisp.net
set interfaces at-2/0/0 unit 0 ppp-options chap passive
set interfaces at-2/0/0 unit 0 family inet negotiate-address

ADSL: PPPoEoA

set interfaces at-2/0/0 encapsulation ethernet-over-atm
set interfaces at-2/0/0 atm-options vpi 0
set interfaces at-2/0/0 dsl-options operating-mode auto
set interfaces at-2/0/0 unit 0 encapsulation ppp-over-ether-over-atm-llc
set interfaces at-2/0/0 unit 0 vci 0.38

...

set interfaces st0 unit 0 family inet mtu 1480
set interfaces st0 unit 0 family inet address x.x.x.x/30


VDSL: PPPoE

set interfaces pt-1/0/0 mtu 1530
set interfaces pt-1/0/0 vdsl-options vdsl-profile 17a
set interfaces pt-1/0/0 unit 0 encapsulation ppp-over-ether
set interfaces pt-1/0/0 unit 0 vlan-id 10
set interfaces pp0 unit 0 ppp-options pap default-password "<<VDSL Password>>"
set interfaces pp0 unit 0 ppp-options pap local-name <<VDSL Username>>
set interfaces pp0 unit 0 ppp-options pap local-password "<<VDSL Password>>"
set interfaces pp0 unit 0 ppp-options pap passive
set interfaces pp0 unit 0 pppoe-options underlying-interface pt-1/0/0.0
set interfaces pp0 unit 0 pppoe-options idle-timeout 0
set interfaces pp0 unit 0 pppoe-options auto-reconnect 2
set interfaces pp0 unit 0 pppoe-options client
set interfaces pp0 unit 0 family inet negotiate-address
set interfaces vlan unit 0 family inet address <<internal IP range>>/24
set routing-options static route 0.0.0.0/0 next-hop pp0.0
set routing-options generate route 0.0.0.0/0


MTU calculation:


PPP FCS = 4???
Payload = 1472
ICMP Header = 8
IPv4 header = 20
PPP header = 2
PPPoE Header = 6
Vlan tag = 4
Ethernet Header = 14
                            = 1530