[j-nsp] filter-based forwarding
Paul Goyette
pgoyette at juniper.net
Wed Mar 11 16:22:38 EDT 2009
> What I meant was the M120 stopped receiving routes(IGP) from
> its upstream router;
>
> I've tried the term "everything else" thing but didn't work
> out. Also tried this, didn't work either. Looks like the last
> term has to use master routing instance.
>
> filter classify-customers {
> term isp1-customers {
> from {
> source-address {
> 10.1.1.0/24;
> }
> }
> then {
> routing-instance instance-1;
> }
> }
> term isp2-customers {
> then {
> routing-instance instance-2;
> }
> }
I suspect it's a combination of:
1. Input filtering happens before determining that packets
are locally addressed, and
2. The routing protocols are running in the default instance,
with adjacencies formed on default-instance addressed.
So packets from your upstream will be diverted into the
alternate routing instance before we discover that those
packets have local destinations and therefore don't get
delivered to rpd.
You could confirm this hypothesis by checking your IGP to
see if you have any adjacencies.
More information about the juniper-nsp
mailing list