vSRX can't do dynamic GRE, so you must configure the GRE tunnels
statically.

Here's a working vSRX gateway config:

ge-0/0/0: 10.10.10.240  - On the same subnet as the other contrail servers,
used for BGP peering
gr-0/0/0.0: tunnel to compute node 1
gr-0/0/0.1: tunnel to compute node 2
10.10.10.31: compute-1
10.10.10.32: compute-2

system {
    host-name gateway;
    services {
        ssh;
        netconf {
            ssh;
        }
    }
}
interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 10.10.10.240/24;
            }
        }
    }
    gr-0/0/0 {
        unit 0 {
            tunnel {
                source 10.10.10.240;
                destination 10.10.10.31;
            }
            family inet;
            family mpls;
        }
        unit 1 {
            tunnel {
                source 10.10.10.240;
                destination 10.10.10.32;
            }
            family inet;
            family mpls;
        }
    }
    lt-0/0/0 {
        unit 1 {
            encapsulation ethernet;
            peer-unit 2;
            family inet {
                address 172.16.0.100/24;
            }
        }
        unit 2 {
            encapsulation ethernet;
            peer-unit 1;
            family inet {
                address 172.16.0.1/24;
            }
        }
    }
}
routing-options {
    rib inet.3 {
        static {
            route 10.10.10.31/32 next-hop gr-0/0/0.0;
            route 10.10.10.32/32 next-hop gr-0/0/0.1;
        }
    }
    router-id 10.10.10.240;
    route-distinguisher-id 10.10.10.240;
    autonomous-system 64512;
}
protocols {
    bgp {
        group contrail {
            type internal;
            local-address 10.10.10.240;
            family inet-vpn {
                unicast;
            }
            allow 10.10.10.0/24;
        }
    }
}
security {
    forwarding-options {
        family {
            inet6 {
                mode packet-based;
            }
            mpls {
                mode packet-based;
            }
        }
    }
}
routing-instances {
    Tenant-1 {
        instance-type vrf;
        interface lt-0/0/0.2;
        vrf-target target:111:111;
        routing-options {
            static {
                route 0.0.0.0/0 next-hop 172.16.0.100;
            }
        }
    }
    Host {
        instance-type virtual-router;
        interface lt-0/0/0.1;
        routing-options {
            static {
                route 0.0.0.0/0 next-hop 172.16.0.1;
            }
        }
    }
}

On Wed, Aug 26, 2015 at 6:00 AM, Naveed Ahmad <[email protected]>
wrote:

> Follow the below link. It was more precise
>
> http://www.opencontrail.org/how_to_enable_dynamic_network-based_services/
>
>
> Regards,
> Naveed Ahmad
> Cloud Operations Engineer - InterCloud Systems
>
> Office: 212-202-2930
> Desk: 929-265-3334
>
>
> Sent via the Samsung Galaxy Note® 4 LTE
>
>
> -------- Original message --------
> From: Javier Castillo Alcíbar <[email protected]>
> Date: 26/08/2015 17:42 (GMT+05:00)
> To: [email protected]
> Subject: [Users] vSRX as OpenContrail Gateway
>
> Hi list,
>
> I'm trying to setup a vSRX (running under KVM) as a simple opencontrail
> gw, I'm following this info:
>
>
> http://www.opencontrail.org/how-to-setup-opencontrail-gateway-juniper-mx-cisco-asr-and-software-gw/
>
>
>
> would you happen to known if there is any doc/guide/blog/etc specific to
> setting up vSRX as gateway?
>
> Thanks in advance.
>
> Best regards,
> J
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
>
>


-- 
Chris Jones, JNCIE-ENT #272 / CCIE #25655 (R&S)
SDN Engineer
www.sdnessentials.com
858-888-0373 (cell)
E-Mail: [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org

Reply via email to