disable exporting default gateway via bgp
This commit is contained in:
@@ -12,8 +12,7 @@ protocol kernel kernel4 {
|
||||
scan time 10;
|
||||
merge paths yes;
|
||||
ipv4 {
|
||||
# Importing only default route, we're their default gateway so they dont need rest
|
||||
import filter { if net = 0.0.0.0/0 then { igp_metric = 100; accept; } reject; };
|
||||
import none;
|
||||
export all;
|
||||
};
|
||||
}
|
||||
@@ -23,7 +22,7 @@ protocol kernel kernel6 {
|
||||
scan time 10;
|
||||
merge paths yes;
|
||||
ipv6 {
|
||||
import filter { if net = ::/0 then { igp_metric = 100; accept; } reject; };
|
||||
import none;
|
||||
export all;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user