1
0
Fork 0

bgpwtf: edge01: fix ipv4 static routing for customers

Change-Id: I9c34d12a7947c9bb25331e38ea7ee03beede7e47
master
q3k 2021-09-08 23:29:52 +02:00
parent 11248d88ab
commit 81e7fbaadd
1 changed files with 4 additions and 1 deletions

View File

@ -191,7 +191,10 @@ in rec {
};
in {
v4."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
v4."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" "";
v4."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
# Static v4 routes for customers.
if proto ~ "static_static_ipv4_customer_*" then accept;
'';
v6."internet_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "internet" "";
v6."aggregate_to_kernel" = copySourcesToKernel ["BGP" "OSPF"] "aggregate" ''
# Static v6 routes for customers.