1.4 Policy route problem

If I have a policy that routes ports over an interface and that interface goes down how do i prevent that route going over the default route ?

For example

route policy-route-eth1 {
rule 10 {
description “Route DNS”
interface eth1
destination {
port domain
}
protocol tcp_udp
set {
table 10
}
source {
group {
address-group host-xxxxx
}
}
}

if the interface on table 10 goes down the route will go over the default and i want to prevent it so that if the interface is down the packets are dropped.

For example

set protocols static table 10 route 0.0.0.0/0 blackhole distance 254

Thanks so much, this has solved my issue!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.