-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample-config
32 lines (32 loc) · 879 Bytes
/
example-config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
protocols {
failover {
route 0.0.0.0 {
description 'Balance traffic between two providers'
ucmp enabled
drop-lower-weight enabled
next-hop 192.168.0.1 {
check {
target 1.1.1.1
type icmp
interval 1500ms
rtt-threshold 50ms
loss-threshold 1
}
interface eth0
weight 1
}
next-hop 192.168.1.1 {
check {
target 'https://google.com/'
type http
interval 1500ms
rtt-threshold 50ms
loss-threshold 1
}
interface eth1
weight 1
}
}
flap-rate 1s
}
}