Mailing List Archive

Static Routes in a VRF question
I am probably missing something simple here, but...

I configured the following VRF:
routing-instances {
VPN-A-Paris-Munich {
instance-type vrf;
interface so-0/0/0.0;
interface so-1/2/0.0;
route-distinguisher 65535:0;
vrf-import VPN-A-import;
vrf-export VPN-A-export;
routing-options {
static {
route 172.16.0.0/16 next-hop so-0/0/0.0;
route 172.17.0.0/16 next-hop so-0/0/1.0;
}
}
}

From which I would expect to see two static routes in the VRF's routing
table, but all I see are the local routes:
VPN-A-Paris-Munich.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0
hid
den)
+ = Active Route, - = Last Active, * = Both

A Destination P Prf Metric 1 Metric 2 Next hop AS path
* 36.11.2.13/32 L 0 Reject
* 36.11.2.113/32 L 0 Reject

How can I get these static routes into this table?

Seth Eliot
Development Engineer, NEM Group
CoManage Corp.
<www.comanage.net>

Now is the Time for TrueSource
The Award-winning Discovery and Reconciliation Solution
Static Routes in a VRF question [ In reply to ]
Well, one of the routes won't be installed because your next-hop for 172.17.0.0/16 ( so-0/0/1.0 ) isn't configured under a routing-instances interface command. My next question would be, are the interfaces up. Do a show interfaces terse on the interfaces concerned.

Have you got direct routes for the subnet of your sonet interfaces?

> -----Original Message-----
> From: Seth Eliot [mailto:SethE@CoManage.net]
> Sent: Friday, 18 July 2003 10:34
> To: 'juniper-nsp@puck.nether.net'
> Subject: [j-nsp] Static Routes in a VRF question
>
>
> I am probably missing something simple here, but...
>
> I configured the following VRF:
> routing-instances {
> VPN-A-Paris-Munich {
> instance-type vrf;
> interface so-0/0/0.0;
> interface so-1/2/0.0;
> route-distinguisher 65535:0;
> vrf-import VPN-A-import;
> vrf-export VPN-A-export;
> routing-options {
> static {
> route 172.16.0.0/16 next-hop so-0/0/0.0;
> route 172.17.0.0/16 next-hop so-0/0/1.0;
> }
> }
> }
>
> >From which I would expect to see two static routes in the
> VRF's routing
> table, but all I see are the local routes:
> VPN-A-Paris-Munich.inet.0: 2 destinations, 2 routes (2
> active, 0 holddown, 0
> hid
> den)
> + = Active Route, - = Last Active, * = Both
>
> A Destination P Prf Metric 1 Metric 2 Next hop
> AS path
> * 36.11.2.13/32 L 0 Reject
> * 36.11.2.113/32 L 0 Reject
>
> How can I get these static routes into this table?
>
> Seth Eliot
> Development Engineer, NEM Group
> CoManage Corp.
> <www.comanage.net>
>
> Now is the Time for TrueSource
> The Award-winning Discovery and Reconciliation Solution
>
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp@puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
>
>

------------------------------------------------------------------------------
"This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read
it - please contact me immediately, destroy it, and do not
copy or use any part of this communication or disclose
anything about it. Thank you."
------------------------------------------------------------------------------