SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  LCP always down on PPPOE configuration

    Posted 04-21-2014 12:29

    I have made pppoe configuration on SRX 2010, but LCP always down, its state become Ack-sent for seconds then became down again, so plz can you help to solve this

     

    configuration Parameters

     

    ppp protocol PPP
    VPI 8
    VCI 35
    Protocol PPPOE
    Mutiplexing LLC

     

    Router Configuration

     

    oot> show configuration
    ## Last commit: 2014-04-22 09:45:52 UTC by root
    version 12.1X46-D15.3;
    system {
        root-authentication {
            encrypted-password "$1$.nnggaiX$zMnhOWPw6x796ohMQWNgm/"; ## SECRET-DATA
        }
        name-server {
            208.67.222.222;
            208.67.220.220;
        }
        services {
            ssh;
            telnet;
            xnm-clear-text;
            web-management {
                http {
                    interface vlan.0;
                }
                https {
                    system-generated-certificate;
                    interface vlan.0;
                }
            }
            dhcp {                          
                router {
                    192.168.1.1;
                }
                pool 192.168.1.0/24 {
                    address-range low 192.168.1.2 high 192.168.1.254;
                }
                propagate-settings ge-0/0/0.0;
            }
        }
        syslog {
            archive size 100k files 3;
            user * {
                any emergency;
            }
            file messages {
                any critical;
                authorization info;
            }
            file interactive-commands {
                interactive-commands error;
            }
        }
        max-configurations-on-flash 5;      
        max-configuration-rollbacks 5;
        license {
            autoupdate {
                url https://ae1.juniper.net/junos/key_retrieval;
            }
        }
    }
    interfaces {
        interface-range interfaces-trust {
            member ge-0/0/0;
            member ge-0/0/1;
            member fe-0/0/2;
            member fe-0/0/3;
            member fe-0/0/4;
            member fe-0/0/5;
            member fe-0/0/6;
            member fe-0/0/7;
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }                           
            }
        }
        ge-0/0/0 {
            unit 0;
        }
        ge-0/0/1 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        fe-0/0/2 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }                                   
        fe-0/0/3 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        fe-0/0/4 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        fe-0/0/5 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        fe-0/0/6 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        fe-0/0/7 {
            unit 0 {
                family ethernet-switching {
                    vlan {
                        members vlan-trust;
                    }
                }
            }
        }
        at-1/0/0 {                          
            mtu 1540;
            encapsulation ethernet-over-atm;
            atm-options {
                vpi 8;
            }
            dsl-options {
                operating-mode auto;
            }
            unit 0 {
                encapsulation ppp-over-ether-over-atm-llc;
                vci 8.35;
            }
        }
        pp0 {
            traceoptions {
                flag all;
            }
            unit 0 {
                point-to-point;
                ppp-options {
                    pap {
                        local-name testnoor1;
                        local-password "$9$.Pz3/CtOIE"; ## SECRET-DATA
                    }
                }
                pppoe-options {
                    underlying-interface at-1/0/0.0;
                    idle-timeout 0;
                    auto-reconnect 10;
                    client;
                }
                family inet {
                    mtu 1492;
                    negotiate-address;
                }
            }
        }
        vlan {
            unit 0 {
                family inet {
                    address 192.168.1.1/24;
                }
            }
        }
    }
    routing-options {                       
        static {
            route 0.0.0.0/0 {
                next-hop pp0.0;
                metric 0;
            }
        }
    }
    protocols {
        stp;
    }
    security {
        screen {
            ids-option untrust-screen {
                icmp {
                    ping-death;
                }
                ip {
                    source-route-option;
                    tear-drop;
                }
                tcp {
                    syn-flood {
                        alarm-threshold 1024;
                        attack-threshold 200;
                        source-threshold 1024;
                        destination-threshold 2048;
                        timeout 20;
                    }
                    land;
                }
            }
        }
        nat {
            source {
                rule-set trust-to-untrust {
                    from zone trust;
                    to zone untrust;
                    rule source-nat-rule {
                        match {
                            source-address 0.0.0.0/0;
                        }
                        then {
                            source-nat {
                                interface;
                            }
                        }                   
                    }
                }
            }
        }
        policies {
            from-zone trust to-zone untrust {
                policy trust-to-untrust {
                    match {
                        source-address any;
                        destination-address any;
                        application any;
                    }
                    then {
                        permit;
                    }
                }
                policy default-permit {
                    match {
                        source-address any;
                        destination-address any;
                        application any;
                    }
                    then {                  
                        permit;
                    }
                }
            }
        }
        zones {
            security-zone trust {
                host-inbound-traffic {
                    system-services {
                        all;
                    }
                    protocols {
                        all;
                    }
                }
                interfaces {
                    vlan.0;
                }
            }
            security-zone untrust {
                screen untrust-screen;
                host-inbound-traffic {
                    system-services {       
                        all;
                    }
                    protocols {
                        all;
                    }
                }
                interfaces {
                    ge-0/0/0.0 {
                        host-inbound-traffic {
                            system-services {
                                dhcp;
                                tftp;
                            }
                        }
                    }
                    at-1/0/0.0;
                    pp0.0;
                }
            }
        }
    }
    vlans {
        vlan-trust {                        
            vlan-id 3;
            l3-interface vlan.0;
        }
    }

     
     

     

    root> show ppp interface pp0    
    Sessions for interface pp0
      Session pp0.0, Type: PPP, Phase: Establish
        LCP State: Ack-sent
        Authentication: PAP State: Closed
        IPCP State: Closed

     

     

     

    juniper@noor> show interfaces at-1/0/0 extensive                 
    Physical interface: at-1/0/0, Enabled, Physical link is Up
      Interface index: 148, SNMP ifIndex: 532, Generation: 151
      Link-level type: Ethernet-over-ATM, MTU: 1512, Clocking: Internal, ADSL mode,
      Speed: ADSL2+, Loopback: None
      Device flags   : Present Running
      Link flags     : None
      CoS queues     : 8 supported, 8 maximum usable queues
      Hold-times     : Up 0 ms, Down 0 ms
      Current address: 50:c5:8d:67:bb:a0
      Last flapped   : 2014-04-15 07:02:07 UTC (00:06:45 ago)
      Statistics last cleared: Never
      Traffic statistics:
       Input  bytes  :                    0                    0 bps
       Output bytes  :                    0                    0 bps
       Input  packets:                    0                    0 pps
       Output packets:                    0                    0 pps
      Input errors:
        Errors: 0, Drops: 0, Invalid VCs: 0, Framing errors: 0,
        Policed discards: 405, L3 incompletes: 0, L2 channel errors: 0,
        L2 mismatch timeouts: 0, Resource errors: 0
      Output errors:
        Carrier transitions: 3, Errors: 0, Drops: 0, Aged packets: 0, MTU errors: 0,
        Resource errors: 0
    
    
      Egress queues: 8 supported, 4 in use  
      Queue counters:       Queued packets  Transmitted packets      Dropped packets
        0 BE                             0                    0                    0
        1 expedited-fo                   0                    0                    0
        2 AF                             0                    0                    0
        3 network-cont                   0                    0                    0
      Queue number:         Mapped forwarding classes
        0                   BE          
        1                   expedited-forwarding
        2                   AF          
        3                   network-control
      ADSL  alarms   : None
      ADSL  defects  : None
      ADSL media:            Seconds        Count  State
        LOF                        830            0  OK
        LOS                        830            0  OK
        LOM                          0            0  OK
        LOP                          0            0  OK
        LOCDI                        0            0  OK
        LOCDNI                     830            0  OK
      ADSL status:
        Modem status  : Showtime (Annexm-adsl2plus)
        DSL mode      : Annexm-adsl2plus Annex A     
        Last fail code: None
        Subfunction   : 0x00
        Seconds in showtime : 406           
      ADSL Chipset Information:               ATU-R                  ATU-C       
        Vendor Country :                       0xb5                   0xb5
        Vendor ID      :                       TSTC                   BDCM
        Vendor Specific:                     0x0000                 0xa19e
      ADSL Statistics:                        ATU-R                  ATU-C        
        Attenuation (dB)         :             27.0                   17.0
        Capacity used (%)        :                0                      0
        Noise margin (dB)        :             12.0                   29.0
        Output power (dBm)       :              0.0                    0.0
    
                                      Interleave       Fast  Interleave       Fast
        Bit rate (kbps)   :                13509          0         996          0
        CRC               :                    1          0           0          0
        FEC               :                  333          0           0          0
        HEC               :                    0          0           0          0
        Received cells    :                  808          0
        Transmitted cells :                    0          0
      ATM status:
        HCS state:     Hunt
        LOC      :       OK
      ATM Statistics:
        Uncorrectable HCS errors: 0, Correctable HCS errors: 0,
        Tx cell FIFO overruns: 0, Rx cell FIFO overruns: 0,
        Rx cell FIFO underruns: 0, Input cell count: 0, Output cell count: 0,
        Output idle cell count: 0, Output VC queue drops: 0, Input no buffers: 0,
        Input length errors: 0, Input timeouts: 0, Input invalid VCs: 0,
        Input bad CRCs: 0, Input OAM cell no buffers: 0
      Packet Forwarding Engine configuration:
        Destination slot: 1
      CoS information:
        Direction : Output 
        CoS transmit queue               Bandwidth               Buffer Priority   Limit
                                  %            bps     %           usec
        0 BE                     95         946200    95              0      low    none
        3 network-control         5          49800     5              0      low    none
    
      Logical interface at-1/0/0.0 (Index 84) (SNMP ifIndex 544) (Generation 149)
        Flags: Point-To-Multipoint SNMP-Traps 0x0 Encapsulation: PPPoE-over-ATM-LLC
        Traffic statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Local statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Transit statistics:
         Input  bytes  :                    0                    0 bps
         Output bytes  :                    0                    0 bps
         Input  packets:                    0                    0 pps
         Output packets:                    0                    0 pps
        Security: Zone: Null
        Flow Statistics :  
        Flow Input statistics :
          Self packets :                     0
          ICMP packets :                     0
          VPN packets :                      0
          Multicast packets :                0
          Bytes permitted by policy :        0
          Connections established :          0 
        Flow Output statistics: 
          Multicast packets :                0
          Bytes permitted by policy :        0 
        Flow error statistics (Packets dropped due to): 
          Address spoofing:                  0
          Authentication failed:             0
          Incoming NAT errors:               0
          Invalid zone received packet:      0
          Multiple user authentications:     0 
          Multiple incoming NAT:             0
          No parent for a gate:              0
          No one interested in self packets: 0       
          No minor session:                  0 
          No more sessions:                  0
          No NAT gate:                       0 
          No route present:                  0 
          No SA for incoming SPI:            0 
          No tunnel found:                   0
          No session for a gate:             0 
          No zone or NULL zone binding       0
          Policy denied:                     0
          Security association not active:   0 
          TCP sequence number out of window: 0
          Syn-attack protection:             0
          User authentication errors:        0
        VCI 8.35
          Flags: Active, Multicast          
          Total down time: 0 sec, Last down: Never
          ATM per-VC transmit statistics:
           Tail queue packet drops: 0
          Traffic statistics:
           Input  bytes  :                33936
           Output bytes  :                    0
           Input  packets:                  404
           Output packets:                    0
    
      Logical interface at-1/0/0.32767 (Index 85) (SNMP ifIndex 545)
      (Generation 150)
        Flags: Point-To-Multipoint No-Multicast SNMP-Traps 0x0
        Encapsulation: ATM-VCMUX
        Traffic statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Local statistics:
         Input  bytes  :                    0
         Output bytes  :                    0
         Input  packets:                    0
         Output packets:                    0
        Security: Zone: Null
        Flow Statistics :  
        Flow Input statistics :
          Self packets :                     0
          ICMP packets :                     0
          VPN packets :                      0
          Multicast packets :                0
          Bytes permitted by policy :        0
          Connections established :          0 
        Flow Output statistics: 
          Multicast packets :                0
          Bytes permitted by policy :        0 
        Flow error statistics (Packets dropped due to): 
          Address spoofing:                  0
          Authentication failed:             0
          Incoming NAT errors:               0
          Invalid zone received packet:      0
          Multiple user authentications:     0 
          Multiple incoming NAT:             0
          No parent for a gate:              0
          No one interested in self packets: 0       
          No minor session:                  0 
          No more sessions:                  0
          No NAT gate:                       0 
          No route present:                  0 
          No SA for incoming SPI:            0 
          No tunnel found:                   0
          No session for a gate:             0 
          No zone or NULL zone binding       0
          Policy denied:                     0
          Security association not active:   0 
          TCP sequence number out of window: 0
          Syn-attack protection:             0
          User authentication errors:        0
        VCI 8.4
          Flags: Active
          Total down time: 0 sec, Last down: Never
          ATM per-VC transmit statistics:
           Tail queue packet drops: 0
          Traffic statistics:
           Input  bytes  :                    0
           Output bytes  :                    0
           Input  packets:                    0
           Output packets:                    0

     

     

     



  • 2.  RE: LCP always down on PPPOE configuration

    Posted 04-25-2014 08:36

    Hello,

     

    Could you please give output for below command ? . There could be a chance that ISP dont respond back for the conf-ack that we sent for the conf-request that srx received.

     

    monitor traffic interface at-1/0/0 extensive

     

     



  • 3.  RE: LCP always down on PPPOE configuration

    Posted 04-27-2014 23:53

    Couple of things!

     

    1- are you sure your connection type is PAP ?

    2- try to disable RFC2486.

     

    Also try to run

    run show ppp stastics detail

     

    and paste here.

     



  • 4.  RE: LCP always down on PPPOE configuration

    Posted 05-03-2014 22:02

    Yes i am sure that the ISP is using pap as i work in the same ISP

     

     

    juniper> show ppp statistics detail     

    Session statistics from PPP process

      Total sessions: 1

        Sessions in disabled phase    : 1

        Sessions in establish phase   : 0

        Sessions in authenticate phase: 0

        Sessions in network phase     : 0

        Bundles in pending phase      : 0

    Type                   Size  Active  Free  Limit  Total size  Requests Failures

    PPP Auth session         24      1                        24         1

    Queued rtsock msgs        0      0      0  65535           0         0

    CI settings               0      0                         0         0

    Interface address         0      0      0  65535           0         0

    Destination profile       0      0                         0         0

    ML link settings          0      0                         0         0

    IPCP blocked address      0      0                         0         0

    PPP session              76      1                        76         1

    PPP session trace         0      0                         0         0

    IFL redundancy state      0      0                         0         0

    PPP Auth session : Pap    104      1                     104         1

    Protocol family         108      1      0  65535         108         1

    ML bundle settings        0      0                         0         0

    PPP LCP session         132      1                       132         1

    PPP NCP session         136      1                       136         1

    Physical interface      136      3      0  65535         408         3

    Access profile          136      1                       136         1

    ML wait entry             0      0      0     20           0         0

    Group profile             0      0                         0         0

    Profile client            0      0                         0         0

    PPP Auth session : Chap      0      0                      0         0

    Logical interface      1644      1      0  65535        1644         1

    Non-tagged                                                 8        18

    Total                                                   2776        29        0

     

     

     

    juniper> monitor traffic interface at-1/0/0 size 96

    verbose output suppressed, use <detail> or <extensive> for full protocol decode

    Address resolution is ON. Use <no-resolve> to avoid any reverse lookup delay.

    Address resolution timeout is 4s.

    Listening on at-1/0/0, capture size 96 bytes

     

    07:18:13.971767 Out PPPoE PADI [Host-Uniq UTF8] [Service-Name]

    07:18:14.014668  In PPPoE PADO [Host-Uniq UTF8] [Service-Name] [AC-Name "bng.rams.ca.asr1"]

    07:18:14.015729 Out PPPoE PADR [Host-Uniq UTF8] [Service-Name] [AC-Name "bng.rams.ca.asr1"]

    07:18:14.059093  In PPPoE PADS [ses 8528] [Host-Uniq UTF8] [Service-Name] [AC-Name "bng.rams.ca.asr1"]

    07:18:14.126484 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 121, length 20

    07:18:14.169886  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 1, length 20

    07:18:14.171090 Out PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 1, length 10

    07:18:14.172520  In PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 121, length 10

    07:18:14.214496  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 2, length 20

    07:18:14.215422 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 2, length 20

    07:18:16.210279  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 3, length 20

    07:18:16.211019 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 3, length 20

    07:18:17.043445 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 122, length 20

    07:18:17.087563  In PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 122, length 10

    07:18:18.226658  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 4, length 20

    07:18:18.227875 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 4, length 20

    07:18:20.060246 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 123, length 20

    07:18:20.102038  In PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 123, length 10

    07:18:20.242453  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 5, length 20

    07:18:20.243368 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 5, length 20

    07:18:22.258263  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 6, length 20

    07:18:22.259029 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 6, length 20

    07:18:22.968903 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 124, length 20

    07:18:23.012721  In PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 124, length 10

    07:18:24.274454  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 7, length 20

    07:18:24.275263 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 7, length 20

    07:18:25.932812 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 125, length 20

    07:18:25.976607  In PPPoE  [ses 8528]LCP, Conf-Nack (0x03), id 125, length 10

    07:18:26.290284  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 8, length 20

    07:18:26.291057 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 8, length 20

    07:18:28.305900  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 9, length 20

    07:18:28.306854 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 9, length 20

    07:18:28.894596 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 126, length 20

    07:18:28.941073  In PPPoE  [ses 8528]LCP, Conf-Reject (0x04), id 126, length 10

    07:18:30.321041  In PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 10, length 20

    07:18:30.322077 Out PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 10, length 20

    07:18:31.850076 Out PPPoE  [ses 8528]LCP, Conf-Request (0x01), id 127, length 16

    07:18:31.892858  In PPPoE  [ses 8528]LCP, Conf-Ack (0x02), id 127, length 16

    07:18:31.913477 Out PPPoE  [ses 8528]PAP, Auth-Req (0x01), id 0, Peer noor0222664811, Name noor

    07:18:31.987475  In PPPoE  [ses 8528]PAP, Auth-ACK (0x02), id 0, Msg

    07:18:31.989522  In PPPoE  [ses 8528]LCP, Term-Request (0x05), id 11, length 6

    07:18:31.990258 Out PPPoE  [ses 8528]LCP, Term-Ack (0x06), id 11, length 6

    07:18:32.037162  In PPPoE PADT [ses 8528]

    ^C

    43 packets received by filter

    0 packets dropped by kernel

     

     

     

    >monitor traffic interface at-1/0/0 extensive

     

    07:16:01.108636  In

            Juniper PCAP Flags [Ext, In], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 0d00 0001 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): c8:4c:75:b0:63:04 > 50:c5:8d:67:bb:a0, ethertype PPPoE S (0x8864), length 60: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Request (0x01), id 5, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0105 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0xec8384ab

                0x0000: ec83 84ab

    07:16:01.109609 Out

            Juniper PCAP Flags [Ext], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 814a 0000 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): 50:c5:8d:67:bb:a0 > c8:4c:75:b0:63:04, ethertype PPPoE S (0x8864), length 40: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Ack (0x02), id 5, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0205 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0xec8384ab

                0x0000: ec83 84ab

    07:16:03.126734  In

            Juniper PCAP Flags [Ext, In], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 0d00 0001 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): c8:4c:75:b0:63:04 > 50:c5:8d:67:bb:a0, ethertype PPPoE S (0x8864), length 60: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Request (0x01), id 6, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0106 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0xec8384ab

                0x0000: ec83 84ab

    07:16:03.127648 Out

            Juniper PCAP Flags [Ext], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 814a 0000 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): 50:c5:8d:67:bb:a0 > c8:4c:75:b0:63:04, ethertype PPPoE S (0x8864), length 40: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Ack (0x02), id 6, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0206 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0xec8384ab

                0x0000: ec83 84ab

    07:16:03.905877 Out

            Juniper PCAP Flags [Ext], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 814a 0000 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): 50:c5:8d:67:bb:a0 > c8:4c:75:b0:63:04, ethertype PPPoE S (0x8864), length 40: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Request (0x01), id 116, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0174 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0x5368f087

                0x0000: 5368 f087

    07:16:03.948614  In

            Juniper PCAP Flags [Ext, In], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 0d00 0001 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): c8:4c:75:b0:63:04 > 50:c5:8d:67:bb:a0, ethertype PPPoE S (0x8864), length 60: PPPoE  [ses 8471]LCP (0xc021), length 10: LCP, Conf-Nack (0x03), id 116, length 10

            encoded length 8 (=Option(s) length 4)

            0x0000: c021 0374 0008

              MRU Option (0x01), length 4: 1492

                0x0000: 05d4

    07:16:05.141531  In

            Juniper PCAP Flags [Ext, In], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 0d00 0001 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): c8:4c:75:b0:63:04 > 50:c5:8d:67:bb:a0, ethertype PPPoE S (0x8864), length 60: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Request (0x01), id 7, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0107 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Option (0x05), length 6: 0xec8384ab

                0x0000: ec83 84ab

    07:16:05.142662 Out

            Juniper PCAP Flags [Ext], PCAP Extension(s) total length 22

              Device Media Type Extension TLV #3, length 1, value: Ethernet-over-ATM (33)

              Logical Interface Encapsulation Extension TLV #6, length 1, value: ATM VCMUX (4)

              Device Interface Index Extension TLV #1, length 2, value: 38400

              Logical Interface Index Extension TLV #4, length 4, value: 87

              Logical Unit Number Extension TLV #5, length 4, value: 32767

            -----original packet-----

            cookie [0000 814a 0000 0000]: LLC, dsap SNAP (0xaa) Individual, ssap SNAP (0xaa) Command, ctrl 0x03: oui Ethernet bridged (0x0080c2), pid Ethernet w/o FCS (0x0007): 50:c5:8d:67:bb:a0 > c8:4c:75:b0:63:04, ethertype PPPoE S (0x8864), length 40: PPPoE  [ses 8471]LCP (0xc021), length 20: LCP, Conf-Ack (0x02), id 7, length 20

            encoded length 18 (=Option(s) length 14)

            0x0000: c021 0207 0012

              MRU Option (0x01), length 4: 1480

                0x0000: 05c8

              Auth-Prot Option (0x03), length 4: PAP

                0x0000: c023

              Magic-Num Opti^C

     

    86 packets received by filter

    0 packets dropped by kernel

     

     



  • 5.  RE: LCP always down on PPPOE configuration
    Best Answer

    Posted 05-20-2014 04:32

    Solved after adding passive under the pp0 interface, thanks to all 🙂 🙂

    [edit]

    juniper# edit interfaces at-1/0/0

     

    [edit interfaces at-1/0/0]

    juniper# show

    encapsulation ethernet-over-atm;

    atm-options {

        vpi 8;

    }

    dsl-options {

        operating-mode auto;

    }

    unit 0 {

        encapsulation ppp-over-ether-over-atm-llc;

        vci 8.35;

    }

     

    [edit interfaces at-1/0/0]

    juniper# exit                       

     

    [edit]

    juniper# edit interfaces pp0        

     

    [edit interfaces pp0]

    juniper# show

    unit 0 {

        ppp-options {

            pap {

                local-name noor0222664811;

                local-password "$9$fQnCrlM-VYM8"; ## SECRET-DATA

                passive;

            }

        }

        pppoe-options {

            underlying-interface at-1/0/0.0;

            auto-reconnect 120;

            client;

        }

        family inet {

            mtu 1492;

            negotiate-address;

        }

    }