更新了分库分表配置
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
include "/etc/bird/vars.conf";
|
||||
include "/etc/bird/first/*.conf";
|
||||
include "/etc/bird/whitelist/*.conf";
|
||||
include "/etc/bird/function/*.conf";
|
||||
include "/etc/bird/conf/*.conf";
|
||||
|
||||
@@ -7,47 +7,23 @@ protocol device {
|
||||
scan time 10;
|
||||
};
|
||||
|
||||
protocol kernel {
|
||||
scan time 20;
|
||||
ipv6 {
|
||||
import none;
|
||||
export filter {
|
||||
if source = RTS_STATIC then reject;
|
||||
if !is_bogon_prefix() then {
|
||||
krt_prefsrc = LOCAL_V6_kernel;
|
||||
accept;
|
||||
}
|
||||
if is_dn42_prefix() then {
|
||||
krt_prefsrc = DN42_V6_kernel;
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
protocol kernel {
|
||||
scan time 20;
|
||||
ipv4 {
|
||||
import none;
|
||||
export filter {
|
||||
if source = RTS_STATIC then reject;
|
||||
if !is_bogon_prefix() then {
|
||||
krt_prefsrc = LOCAL_V4_kernel;
|
||||
accept;
|
||||
}
|
||||
if unet_is_valid_network_v4() then {
|
||||
krt_prefsrc = UNET_V4_kernel;
|
||||
accept;
|
||||
}
|
||||
if is_dn42_prefix() then {
|
||||
krt_prefsrc = DN42_V4_kernel;
|
||||
accept;
|
||||
}
|
||||
reject;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
include "/etc/bird/net/*.conf";
|
||||
include "/etc/bird/template/include.conf";
|
||||
include "/etc/bird/template/*.conf";
|
||||
include "/etc/bird/peers/inet/*.conf";
|
||||
include "/etc/bird/peers/dn42/*.conf";
|
||||
include "/etc/bird/peers/unet/*.conf";
|
||||
|
||||
Reference in New Issue
Block a user