Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- log syslog all;
- function is_default() {
- return net ~ [ 0.0.0.0/0 ];
- }
- protocol direct if_int {
- check link;
- interface "ext0*";
- interface "int0*";
- interface "vip0*";
- }
- protocol device {
- scan time 10;
- }
- protocol kernel {
- scan time 10;
- merge paths 8;
- persist;
- export filter {
- if net != 0.0.0.0/0 then {
- accept;
- }
- reject;
- };
- }
- protocol static {
- check link;
- route 10.0.0.0/8 recursive 203.0.113.1;
- route 10.255.2.0/24 recursive 203.0.113.1;
- import filter {
- krt_prefsrc = 10.8.49.68;
- accept;
- };
- }
- protocol rip r1 {
- debug all;
- ecmp 8;
- interface "en*", "eth*" {
- update time 10;
- metric 1;
- poison reverse no;
- check link;
- };
- import filter {
- if is_default() then {
- accept;
- }
- reject;
- };
- export filter {
- if ifname ~ "ext0*" then {
- rip_metric = 1;
- accept;
- }
- if ifname ~ "int0*" then {
- rip_metric = 1;
- accept;
- }
- if ifname ~ "vip0*" then {
- rip_metric = 1;
- accept;
- }
- reject;
- };
- }
- protocol bfd {
- interface "en*", "eth*" {
- multiplier 3;
- };
- neighbor 10.28.133.68;
- neighbor 10.28.133.130;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement