Routing

Expand all | Collapse all

Ping destination in routing instance

Jump to Best Answer
  • 1.  Ping destination in routing instance

    Posted 04-05-2018 03:24

    Hello dears,

    I have create a routing-instance :

    routing-instances {
        SLA-LAB {
            instance-type forwarding;
            routing-options {
                static {
                    route 0.0.0.0/0 next-hop A.A.A.A;
                }
            }
        }
    }

    routing-options {
        interface-routes {
            rib-group inet group-direct-connected;
        }
        rib-groups {
            group-direct-connected {
                import-rib [ inet.0 SLA-LAB.inet.0 ];
            }
        }   
    }

    Now I'm trying to ping 8.8.8.8 using my routing-instance

    ping routing-instance SLA-LAB 8.8.8.8 interface lo0.0

    But the ping doesn't lead.

    Notice that when I don't specify routing-instance option the ping lead.

    Can Somme one help me through.

    regards.



  • 2.  RE: Ping destination in routing instance
    Best Answer

    Posted 04-08-2018 20:40

    Hi!

     

    You have created instance-type forwarding. For this type of instance, interfaces are not associated with instance. All interfaces still belongs to default instance only. There is no one-to-one mapping between an interface and routing-instance.

     

    https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/instance-type-edit-routing-instances-vp.html

     



  • 3.  RE: Ping destination in routing instance

    Posted 04-12-2018 21:46

    Let us know, if you need any futher info on this..