[j-nsp] reliable static routing/ip tracking

Kaj Niemi kajtzu at a51.org
Wed Sep 16 12:45:16 EDT 2009


You should be able to do this with scripting.. Check out
http://junos.juniper.net/scripts/op_scripts/default.asp?docId=13055 which
combines RPM and disabling an interface in case the RPM initiated ping
fails. It should be relatively easy to modify that for your purposes. The
site does require registration, though.

More info about scripting in general is available in the Configuration and
Diagnostic Automation Guide.

Kaj :)

> From: matthew wyath <mwyath at gmail.com>
> Date: Wed, 16 Sep 2009 07:42:59 -0700
> To: <juniper-nsp at puck.nether.net>
> Subject: [j-nsp] reliable static routing/ip tracking
> Hi All,
> I wonder if it is possible to do static routing based on the availability of
> an IP. Let's say that I am connected by Ethernet (through a modem) link to
> my upstream provider.
> I am not using any dynamic routing protocol with my ISP (so I can't use any
> generated route) ...I can't use BFD either. I want to put a default static
> route through my upstream provider but I want that route to be valid only
> and only if a specific IP address is reachable in the Internet (by echo
> request). Is it possible on Juniper J series routers?

More information about the juniper-nsp mailing list