Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Wed Aug 23, 2017 8:48 am


Author Message
mandrei99
Post  Post subject: Junos: ping: invalid routing instance `RI0'  |  Posted: Fri Jan 03, 2014 10:11 am

Joined: Tue Aug 04, 2009 9:16 am
Posts: 245

Offline
 

Junos: ping: invalid routing instance `RI0'

The following routing instance related error is not a bug, but a configuration mistake:

Here is a routing instance that commits into configuration:
Code:
# show RI_0
instance-type virtual-router;
interface ge-0/0/7.770;
interface st0.0;
routing-options {
    static {
        route 0.0.0.0/0 next-hop st0.0;
    }
}
# run show route table RI_0.inet.0

RI_0.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0          *[Static/5] 00:01:33
                    > via st0.0
11.75.0.0/30       *[Direct/0] 00:01:33
                    > via st0.0
11.75.0.1/32       *[Local/0] 00:01:43
                      Local via st0.0
12.77.0.0/24       *[Direct/0] 00:01:43
                    > via ge-0/0/7.770
12.77.0.1/32       *[Local/0] 00:01:43
                      Local via ge-0/0/7.770


So logically if I try to ping a host in the 12.77.0.0/24 or 11.75.0.0/30 subnets, I should be able to ping them right ? Wrong...
Code:
# run ping 12.77.0.2 routing-instance RI_0                 
ping: invalid routing instance `RI_0'


This because the routing instance needs to be defined as a virtual router:
Code:
# set routing-instances RI_0 instance-type virtual-router
# commit


Now ping can use the routing instance (VRF light - VPN routing and forwarding, but without vpn capabilities, just a simple alternate routing table) .
Code:
# run ping 12.77.0.2 routing-instance RI_0                             
PING 12.77.0.2 (12.77.0.2): 56 data bytes





Top
Display posts from previous:  Sort by  
E-mail friendPrint view

Topics related to - "Junos: ping: invalid routing instance `RI0'"
 Topics   Author   Replies   Views   Last post 
There are no new unread posts for this topic. Junos restricted user disallow "ping rapid" and "ping size" operational commands

mandrei99

0

815

Wed Jun 26, 2013 6:02 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: How to list routing table IDs

admin

0

1050

Sat Jan 17, 2015 3:53 pm

admin View the latest post

There are no new unread posts for this topic. Junos - How to limit arguments to ping CLI command

mandrei99

1

873

Thu Jun 27, 2013 4:04 am

admin View the latest post

There are no new unread posts for this topic. Junos tacacs plus authentication for restricted privileges user with ping restrictions

admin

1

2997

Wed Jun 26, 2013 9:52 am

admin View the latest post

There are no new unread posts for this topic. MTR / My traceroute in Junos

mandrei99

1

3276

Mon Oct 10, 2016 5:54 am

barrel View the latest post

There are no new unread posts for this topic. Juniper - Junos 11.4R8 based Olive

mandrei99

1

2682

Tue Jun 18, 2013 5:36 am

mandrei99 View the latest post

There are no new unread posts for this topic. Junos: How to show uncommitted changes and cancel them

mandrei99

1

17620

Wed Sep 25, 2013 7:31 am

mandrei99 View the latest post

There are no new unread posts for this topic. Juniper SRX / Junos rescue configuration is not set

mandrei99

0

3368

Mon Feb 16, 2015 11:42 am

mandrei99 View the latest post

There are no new unread posts for this topic. How to search junos configuration option within cli help apropos

mandrei99

0

837

Mon Jan 12, 2015 12:34 pm

mandrei99 View the latest post

There are no new unread posts for this topic. Junos system configuration archival is not working over scp

mandrei99

0

2948

Thu Jan 01, 2015 4:06 am

mandrei99 View the latest post

 

Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO