[j-nsp] filter-based forwarding
ying zhang
cynthia_dal at yahoo.ca
Wed Mar 11 13:49:36 EDT 2009
Hi list,
Tried to use source-based forwarding on a M120. I created two OTHER routing instances: instance-1 and instance-2. Then apply a filter on an M120 interface which connected to an upstream router.
If I do this:
filter classify-customers {
term isp1-customers {
from {
source-address {
10.1.1.0/24;
}
}
then {
routing-instance instance-1;
}
}
term isp2-customers {
from {
source-address
{10.2.1.0/24;
}
then {
routing-instance instance-2;
}
}
} *END of filter*
This will break the routing between M120 and its upstream router, but If change the last term to using master routing instance, things work just fine:
filter classify-customers {
term isp1-customers {
from {
source-address {
10.1.1.0/24;
}
}
then {
routing-instance instance-1;
}
}
term isp2-customers {
from {
source-address {
10.2.1.0/24;
}
then {
accept;
}
}
} *END of filter*
Does anyone know why? Checked the document, didn't find a clue. Thanks a lot.
C.
__________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at
http://ca.toolbar.yahoo.com.
More information about the juniper-nsp
mailing list