SRX

last person joined: yesterday 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
Expand all | Collapse all

What is wrong with my PPPOE configuration

  • 1.  What is wrong with my PPPOE configuration

    Posted 04-06-2012 13:58

    It is so wierd, with this configuration, some PC on my LAN can go to the internet , but some only can go to google and bing site (ping, nsookup is ok). They can use google search for something, but when click on the result link , it takes ...very long wait and then no page is display...: -(

    Yesterday, it happened to my laptop too, even though days before i can go to the internet without any problem.

    Could some one give me some help for this ?

    Thanks

     

    Note:

    The PCs , laptops (have problems ) have no issues if I connect them to networks other than my LAN

    Attached file is the configuration on my SRX 240



  • 2.  RE: What is wrong with my PPPOE configuration

    Posted 04-06-2012 18:28
    That sounds much like an MTU issue. You might try using either ping with various sizes, or the mturoute.exe utility to try to see if you can pinpoint the issue. Ron


  • 3.  RE: What is wrong with my PPPOE configuration

    Posted 04-07-2012 03:18

    Thanks for your advice.

    Iam a noob on Juniper box, so if it is a MTU issue -> what is the solutions ?



  • 4.  RE: What is wrong with my PPPOE configuration

    Posted 04-07-2012 04:16


  • 5.  RE: What is wrong with my PPPOE configuration

    Posted 04-07-2012 04:22

    Hi

     

    Remove the router 192.168.1.1 from your DHCP config, as this can stop the PPPOE DHCP allocation.

     

     

    dhcp {
                pool 172.16.20.0/24 {
                    address-range low 172.16.20.150 high 172.16.20.200;
                    name-server {
                        8.8.8.8;
                    }
                    router {
                        172.16.20.1;
                    }
                    propagate-settings vlan.20;
                }
                pool 172.16.30.0/24 {
                    address-range low 172.16.30.150 high 172.16.30.200;
                    name-server {
                        8.8.8.8;
                    }
                    router {
                        172.16.30.1;
                    }
                    propagate-settings vlan.30;
                }
                propagate-settings ge-0/0/0.0;
            }

     

     

    Here is my snippet from my PP0 config

     

        pp0 {
            unit 0 {
                ppp-options {
                    chap {
                        default-chap-secret "PPPOE PASSWORD";
                        local-name "PPPOE  USERNAME";
                        passive;
                    }
                }
                pppoe-options {
                    underlying-interface ge--0/0/0.0;
                    idle-timeout 0;
                    auto-reconnect 5;
                    client;
                }
                family inet {
                    mtu 1492;
                    negotiate-address;
                }
            }
        }

     

     



  • 6.  RE: What is wrong with my PPPOE configuration

    Posted 04-07-2012 04:24

    I noticed an error in my last post  "underlying-interface ge--0/0/0.0;" should be "underlying-interface ge-0/0/0.0;"



  • 7.  RE: What is wrong with my PPPOE configuration

    Posted 04-07-2012 06:24

    Definately sounds like an MTU problem. You could try to lower the MTU from 1492 to something lower and check if the problem disappears? Try to find the correct MTU using ping as previously suggested by the other poster.



  • 8.  RE: What is wrong with my PPPOE configuration
    Best Answer

    Posted 04-07-2012 08:09

    to have the SRX modify the TCP MSS settings to alleviate the slow loading, etc, you can use the command:

     

    set security flow tcp-mss all-tcp mss 1350

     

    1350 is a starting point, you can fiddle with the numbers to find what works best, but iirc 1350 is a good starting point.

     

    will



  • 9.  RE: What is wrong with my PPPOE configuration

    Posted 04-08-2012 21:02

    Hi all,

     

    At last problem is solved, it is MTU size issue as RON, RBEVAART, WIMCLEND identified.

    By the way, just thing that make me confused.

    - On my draytek router (default MTU: 1438), and this router is configured to be PPPOE client -> every one behind this runs OK

    - But when I configured my SRX 240 to be PPPOE client with MTU: 1438 -> MTU issue happened ... :-(. I used ping to identify the optimal setting for MTU size -> it is 1272. Things work perfect.

    Any explanation for this

     

    Anyway, thank you all for helping to resolve my MTU issue.

     

     



  • 10.  RE: What is wrong with my PPPOE configuration

    Posted 04-09-2012 04:32
    Juniper MTU settings, unlike many vendors, include the frame size. So to set the MTU so that there can be a 1500-byte payload, you actually make the setting 1514 on JunOS devices. Technically more correct, but very confusing because everyone else uses the payload size as the setting. Ron


  • 11.  RE: What is wrong with my PPPOE configuration

    Posted 05-14-2013 10:40

    I'am have exactly the same issue. I set the MTU size on the pp0 interface to 1490. Every windows workstation is working well, but my Apple iMac doesn't. Only when I change the MTU size on the Mac itself to 1490 everything works well.

     

    In my view the lowest MTU in the chain will be chosen for the TCP connection, so 1490 should win over the ppoe link.

     

    Can someone tell me why this is not working with my SRX210 (Using the standard FritxBox router, no problems occur)

     

    root@vuurmuur# show interfaces pp0 unit 6
    description xs4all;
    point-to-point;
    ppp-options {
    pap {
    local-name "user@xs4all.nl";
    local-password "$9$o3pB36ylvMXxjHk"; ## SECRET-DATA
    passive;
    }
    }
    pppoe-options {
    underlying-interface ge-0/0/0.6;
    idle-timeout 0;
    auto-reconnect 10;
    client;
    }
    family inet {
    mtu 1492;
    negotiate-address;
    }



  • 12.  RE: What is wrong with my PPPOE configuration

    Posted 05-14-2013 18:30
    Take a packet capture in both scenarios on your PC. You should find the answer. Attach it here if you like.