RE: Propagate Static Routes into Routing Protocols

From: Mark M. Forest (milo279@yahoo.com)
Date: Mon Feb 04 2002 - 11:42:31 EST


To expand just a bit as well...

discard - will drop packets to the route and not send ICMP unreachable
messages

reject - will drop packets to the route and DOES send ICMP unreachable
messages to the source

receive - this will allow the local system to to receive packets for this
destination

milo

-----Original Message-----
From: Guy Davies [mailto:Guy.Davies@telindus.co.uk]
Sent: Monday, February 04, 2002 7:52 AM
To: 'hawling'; juniper-nsp@puck.nether.net
Subject: RE: Propagate Static Routes into Routing Protocols

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

Hi,

Discard doesn't mean ignore this route, it means silently discard any
packets arriving for this prefix for which there are no longer
matches in the forwarding table. The two are entirely different.

It's similar to the cisco config

ip route n.n.n.n m.m.m.m null0

You're just creating a static route in your forwarding table so that
you can redistribute that route into another routing protocol. The
next hop, when you redistribute the route, will be your own IP
address.

Regards,

Guy

> -----Original Message-----
> From: hawling [mailto:ojhomy@singnet.com.sg]
> Sent: Monday, February 04, 2002 12:12 PM
> To: juniper-nsp@puck.nether.net
> Subject: Propagate Static Routes into Routing Protocols
>
>
> Can someone please shed some light on why "discard" is used
> to inject a
> static route? I thought it meant: "ignore this static route".
>
> Thanks.
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~
>
> Propagate Static Routes into Routing Protocols
>
> A common way to propagate static routes into the various routing
> protocols is to configure the routes so that the next-hop
> router is the
> loopback address (commonly, 127.0.0.1). Doing this with the JUNOS
> software (by including a statement such as route
> address/mask-length next-hop 127.0.0.1 ) does not propagate the
> static routes,
> because the
> forwarding table ignores static routes whose next-hop router is the
> loopback address. To propagate static routes into the routing
> protocols,
> configure them as follows:
>
> [edit]
> user@host# set routing-options static route destination-prefix
> discard [edit]
> user@host# show routing-options {
> static {
> route destination-prefix {
> discard;
> }
> }
> }
>
>
>
>

-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.1

iQA/AwUBPF6DoY3dwu/Ss2PCEQKvGACgib42MNnlEk4/PRY7z7+rcoeZd1EAn1za
LFfYNLtvxRnedcjG42iGwGif
=+0Hq
-----END PGP SIGNATURE-----

.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



This archive was generated by hypermail 2b29 : Mon Aug 05 2002 - 10:42:39 EDT