SRX

IMPORTANT MODERATION NOTICE

This community is currently under full moderation, meaning  all posts will be reviewed before appearing in the community. Please expect a brief delay—there is no need to post multiple times. If your post is rejected, you'll receive an email outlining the reason(s). We've implemented full moderation to control spam. Thank you for your patience and participation.



Sample config to configure PPPoE for Spark New Zealand

  • 1.  Sample config to configure PPPoE for Spark New Zealand

    Posted 06-17-2021 04:22
    Hi all, after a bit of research, I've worked out the configuration for an Internet connection provided by Spark New Zealand on a SRX1500.  Hopefully the excerpts below will help someone in the future! Note that I have a static IP which was picked up by pp0 even with family inet negotiate-address

    interfaces {
        ge-0/0/1 {
            vlan-tagging;
            ether-options {
                auto-negotiation;
            }
            unit 10 {
                encapsulation ppp-over-ether;
                vlan-id 10;
            }
    	}
        pp0 {
            unit 0 {
                ppp-options {
                    pap {
                        local-name "user@spark.co.nz";
                        local-password [text here]; ## SECRET-DATA
                        passive;
                    }
                }
                pppoe-options {
                    underlying-interface ge-0/0/1.10;
                    idle-timeout 0;
                    auto-reconnect 10;
                    client;
                }
                family inet {
                    mtu 1492;
                    negotiate-address;
                }
            }
        }
    }
    routing-options {
        static {
            route 0.0.0.0/0 next-hop pp0.0;
        }
    }​
    Any feedback would be appreciated!