I am newer in junier.
I need to configured FBF to redirect traffic.
I know that I can define two or more qualified-next-hop in routing-instances to redirect triffic.
But if all of the qualified-next-hop is unreachable〈interface down〉, how should I configure that packet forwarding refer the routing-table?
Because my defult route was advertised from bgp peer, I don't want to define the last qualified-next-hop is bgp peer ip.
Sorry for my English
My configuration is follow:
ge-0/0/6 {
unit 0 {
family inet {
address 192.168.11.2/24;
}
}
}
ge-0/0/8 {
unit 0 {
family inet {
address 192.168.12.2/24;
}
}
}
ge-0/0/10 {
unit 0 {
family inet {
address 192.168.13.2/24;
}
}
}
routing-options {
interface-routes {
rib-group inet rib1;
}
rib-groups {
rib1 {
import-rib [ inet.0 r1.inet.0];
}
}
autonomous-system 1000;
}
firewall {
family inet {
filter fil {
term t1 {
from {
source-address {
20.1.30.0/24;
}
}
then {
routing-instance r1;
}
}
term default {
then accept;
}
}
}
}
routing-instances {
r1 {
instance-type forwarding;
routing-options {
static {
route 0.0.0.0/0 {
qualified-next-hop 192.168.12.1 {
preference 100;
}
qualified-next-hop 192.168.13.1 {
preference 150;
}
qualified-next-hop 192.168.11.1 {
preference 200;
}
}
}
}
}