summaryrefslogtreecommitdiff
path: root/roles/uvok_bird
diff options
context:
space:
mode:
Diffstat (limited to 'roles/uvok_bird')
-rw-r--r--roles/uvok_bird/templates/clearnet.conf.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/uvok_bird/templates/clearnet.conf.j2 b/roles/uvok_bird/templates/clearnet.conf.j2
index ac7af56..ff6674b 100644
--- a/roles/uvok_bird/templates/clearnet.conf.j2
+++ b/roles/uvok_bird/templates/clearnet.conf.j2
@@ -134,6 +134,7 @@ protocol pipe {
};
}
+# BGP *internal* table
protocol kernel p_myas_i {
# scan time 20;
kernel table 150;
@@ -146,6 +147,10 @@ protocol kernel p_myas_i {
print "SHOULD NOT HAPPEN: export babel to kernel: ", net, " from", source;
reject;
}
+ # DO NOT PUT DEFAULT ROUTE INTO TABLE 150!!
+ # This will completely replace *the default route for non-my-AS-traffic* !!!
+ # will be copied into "BGP table" anyway.
+ if is_default_route() then reject;
krt_prefsrc = CLEARNET_PREFIP;
accept;
};