[j-nsp] install static route to inet.2?

Guy Davies Guy.Davies at telindus.co.uk
Fri May 2 10:20:42 EDT 2003


 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Yu-lin,

Yes, you need to have a rib-group configured something like this...


routing-options {
  rib-groups {
    static-rib {
      import-rib [ inet.0 inet.2 ];
    }
  }
  static {
    rib-group static-rib;
    route 10.100.0.0/16 {
      reject;
      preference 255;
    }
  }
}

Regards,

Guy

> -----Original Message-----
> From: Yu-lin Chang [mailto:ylchang at ascc.net]
> Sent: Friday, May 02, 2003 6:22 AM
> To: juniper-nsp at puck.nether.net; juniper at groupstudy.com
> Subject: [j-nsp] install static route to inet.2?
> 
> 
> Hi,
> 
> I set a static route in the [route-options] section as following,
> 
> [routing-options static]
> route 10.100.0.0/16 {
>     reject;
>     preference 255;
> }
> 
> after that, I can advertise it to my eBGP peers.
> 
> But this route only appears in inet.0
> I cannot find this route in inet.2
> 
> Is that possible to install this static route to both
> inet.0 and inet.2?
> 
> 
> Thank you for your help
> 
> Yu-lin
> --
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
> 

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPrIqO43dwu/Ss2PCEQL0xgCfQpL8z+HZDfGmSfXJ4dIJvKTpqRkAnRIz
hAMz4l/tnvIidM6tNNga4Ghd
=s8CA
-----END PGP SIGNATURE-----


More information about the juniper-nsp mailing list