ops/nixos: experiment with ECMP
This commit is contained in:
parent
9be6bcaf2d
commit
687d72cfdc
2 changed files with 12 additions and 25 deletions
|
@ -173,33 +173,27 @@ in {
|
||||||
|
|
||||||
protocol static export4 {
|
protocol static export4 {
|
||||||
ipv4 {};
|
ipv4 {};
|
||||||
route 92.118.30.0/24 via 92.118.30.0 bfd {
|
route 92.118.30.0/24 via 92.118.30.0 bfd weight 1 # Virgin Media
|
||||||
# Virgin Media
|
via 92.118.30.4 bfd weight 2 # GNetwork
|
||||||
|
{
|
||||||
preference = 100;
|
preference = 100;
|
||||||
};
|
};
|
||||||
route 92.118.30.0/24 via 92.118.30.2 bfd {
|
route 92.118.30.0/24 via 92.118.30.2 bfd {
|
||||||
# EE
|
# EE
|
||||||
preference = 10;
|
preference = 10;
|
||||||
};
|
};
|
||||||
route 92.118.30.0/24 via 92.118.30.4 bfd {
|
|
||||||
# GNetwork
|
|
||||||
preference = 200;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
protocol static export6 {
|
protocol static export6 {
|
||||||
ipv6 {};
|
ipv6 {};
|
||||||
route 2a09:a443::/32 via 2a09:a442::1:1 bfd {
|
route 2a09:a443::/32 via 2a09:a442::1:1 bfd weight 1 # Virgin Media
|
||||||
# Virgin Media
|
via 2a09:a442::3:1 bfd weight 2 # GNetwork
|
||||||
|
{
|
||||||
preference = 100;
|
preference = 100;
|
||||||
};
|
};
|
||||||
route 2a09:a443::/32 via 2a09:a442::2:1 bfd {
|
route 2a09:a443::/32 via 2a09:a442::2:1 bfd {
|
||||||
# EE
|
# EE
|
||||||
preference = 10;
|
preference = 10;
|
||||||
};
|
};
|
||||||
route 2a09:a443::/32 via 2a09:a442::3:1 bfd {
|
|
||||||
# GNetwork
|
|
||||||
preference = 200;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
protocol bfd {
|
protocol bfd {
|
||||||
|
|
|
@ -574,23 +574,21 @@ in {
|
||||||
|
|
||||||
protocol static export4 {
|
protocol static export4 {
|
||||||
ipv4 {};
|
ipv4 {};
|
||||||
route 0.0.0.0/0 via 92.118.30.1 bfd {
|
route 0.0.0.0/0 via 92.118.30.1 bfd weight 1 # Virgin Media
|
||||||
# Virgin Media
|
via 92.118.30.5 bfd weight 20 # GNetwork
|
||||||
|
{
|
||||||
preference = 100;
|
preference = 100;
|
||||||
};
|
};
|
||||||
route 0.0.0.0/0 via 92.118.30.3 bfd {
|
route 0.0.0.0/0 via 92.118.30.3 bfd {
|
||||||
# EE
|
# EE
|
||||||
preference = 10;
|
preference = 10;
|
||||||
};
|
};
|
||||||
route 0.0.0.0/0 via 92.118.30.5 bfd {
|
|
||||||
# GNetwork
|
|
||||||
preference = 200;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
protocol static export6 {
|
protocol static export6 {
|
||||||
ipv6 {};
|
ipv6 {};
|
||||||
route ::/0 via 2a09:a442::1:2 bfd {
|
route ::/0 via 2a09:a442::1:2 bfd weight 1 # Virgin Media
|
||||||
# Virgin Media
|
via 2a09:a442::3:2 bfd weight 20 # GNetwork
|
||||||
|
{
|
||||||
preference = 100;
|
preference = 100;
|
||||||
krt_prefsrc = 2a09:a443::1;
|
krt_prefsrc = 2a09:a443::1;
|
||||||
};
|
};
|
||||||
|
@ -599,11 +597,6 @@ in {
|
||||||
preference = 10;
|
preference = 10;
|
||||||
krt_prefsrc = 2a09:a443::1;
|
krt_prefsrc = 2a09:a443::1;
|
||||||
};
|
};
|
||||||
route ::/0 via 2a09:a442::3:2 bfd {
|
|
||||||
# GNetwork
|
|
||||||
preference = 200;
|
|
||||||
krt_prefsrc = 2a09:a443::1;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Covering route...
|
# Covering route...
|
||||||
route 2a09:a443::/64 via "en-general";
|
route 2a09:a443::/64 via "en-general";
|
||||||
|
|
Loading…
Reference in a new issue