Versions Compared

Key

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



Configuration:

https://kb.juniper.net/InfoCenter/index?page=content&id=KB12769&cat=JUNOS&actp=LIST

https://help.zscaler.com/zia/gre-configuration-example-juniper-srx


Code Block
titleGRE interface
collapsetrue
interfaces {
    fe-0/0/0 {
        unit 0 {
            family inet {
                address 10.1.1.1/30;
            }
        }
    }
    gr-0/0/0 {
        unit 0 {
            tunnel {
                source 10.1.1.1;   #local public IP@
                destination 10.1.1.2;   #remote public IP@
            }
            family inet {
                address 100.1.1.1/32;  # "overlay" interface IP@
            }
        }
    }
}
routing-options {
    static {
        route 2.2.2.0/24 next-hop gr-0/0/0.0;
    }
}


Keep alive timers: