Less indentation
This commit is contained in:
parent
af96f5e985
commit
7dc787cb68
|
@ -15,89 +15,89 @@ protocol device {
|
||||||
# direct routes to all network interfaces. Can exist in as many instances as you
|
# direct routes to all network interfaces. Can exist in as many instances as you
|
||||||
# wish if you want to populate multiple routing tables with direct routes.
|
# wish if you want to populate multiple routing tables with direct routes.
|
||||||
protocol direct {
|
protocol direct {
|
||||||
ipv4;
|
ipv4;
|
||||||
ipv6;
|
ipv6;
|
||||||
interface "dummy0";
|
interface "dummy0";
|
||||||
}
|
}
|
||||||
|
|
||||||
# The Kernel protocol is not a real routing protocol. Instead of communicating
|
# The Kernel protocol is not a real routing protocol. Instead of communicating
|
||||||
# with other routers in the network, it performs synchronization of BIRD
|
# with other routers in the network, it performs synchronization of BIRD
|
||||||
# routing tables with the OS kernel. One instance per table.
|
# routing tables with the OS kernel. One instance per table.
|
||||||
protocol kernel {
|
protocol kernel {
|
||||||
ipv4 {
|
ipv4 {
|
||||||
import none;
|
import none;
|
||||||
export filter { if source = RTS_DEVICE then { reject; } accept; };
|
export filter { if source = RTS_DEVICE then { reject; } accept; };
|
||||||
};
|
};
|
||||||
# Create ECMP routes in kernel table from multiple paths
|
# Create ECMP routes in kernel table from multiple paths
|
||||||
merge paths;
|
merge paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol kernel {
|
protocol kernel {
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import none;
|
import none;
|
||||||
export filter { if source = RTS_DEVICE then { reject; } accept; };
|
export filter { if source = RTS_DEVICE then { reject; } accept; };
|
||||||
};
|
};
|
||||||
# Create ECMP routes in kernel table from multiple paths
|
# Create ECMP routes in kernel table from multiple paths
|
||||||
merge paths;
|
merge paths;
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol bgp tug_r11_v4 {
|
protocol bgp tug_r11_v4 {
|
||||||
description "tug-r11-v4";
|
description "tug-r11-v4";
|
||||||
local 130.242.64.233 as 65443;
|
local 130.242.64.233 as 65443;
|
||||||
neighbor 130.242.64.232 as 1653;
|
neighbor 130.242.64.232 as 1653;
|
||||||
hold time 90;
|
hold time 90;
|
||||||
|
|
||||||
ipv4 {
|
ipv4 {
|
||||||
import all;
|
import all;
|
||||||
export filter {
|
export filter {
|
||||||
if net ~ [ 188.240.152.0/24{32,32} ] then
|
if net ~ [ 188.240.152.0/24{32,32} ] then
|
||||||
accept; else reject;
|
accept; else reject;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol bgp tug_r11_v6 {
|
protocol bgp tug_r11_v6 {
|
||||||
description "tug-r12-v6";
|
description "tug-r12-v6";
|
||||||
local 2001:6b0:2006:74::1 as 65443;
|
local 2001:6b0:2006:74::1 as 65443;
|
||||||
neighbor 2001:6b0:2006:74:: as 1653;
|
neighbor 2001:6b0:2006:74:: as 1653;
|
||||||
hold time 90;
|
hold time 90;
|
||||||
|
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import all;
|
import all;
|
||||||
export filter {
|
export filter {
|
||||||
if net ~ [ 2001:6b0:2100::/48{128,128} ] then
|
if net ~ [ 2001:6b0:2100::/48{128,128} ] then
|
||||||
accept; else reject;
|
accept; else reject;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protocol bgp tug_r12_v4 {
|
protocol bgp tug_r12_v4 {
|
||||||
description "tug-r12-v4";
|
description "tug-r12-v4";
|
||||||
local 130.242.64.235 as 65443;
|
local 130.242.64.235 as 65443;
|
||||||
neighbor 130.242.64.234 as 1653;
|
neighbor 130.242.64.234 as 1653;
|
||||||
hold time 90;
|
hold time 90;
|
||||||
|
|
||||||
ipv4 {
|
ipv4 {
|
||||||
import all;
|
import all;
|
||||||
export filter {
|
export filter {
|
||||||
if net ~ [ 188.240.152.0/24{32,32} ] then
|
if net ~ [ 188.240.152.0/24{32,32} ] then
|
||||||
accept; else reject;
|
accept; else reject;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
protocol bgp tug_r12_v6 {
|
protocol bgp tug_r12_v6 {
|
||||||
description "tug-r12-v6";
|
description "tug-r12-v6";
|
||||||
local 2001:6b0:2006:75::1 as 65443;
|
local 2001:6b0:2006:75::1 as 65443;
|
||||||
neighbor 2001:6b0:2006:75:: as 1653;
|
neighbor 2001:6b0:2006:75:: as 1653;
|
||||||
hold time 90;
|
hold time 90;
|
||||||
|
|
||||||
ipv6 {
|
ipv6 {
|
||||||
import all;
|
import all;
|
||||||
export filter {
|
export filter {
|
||||||
if net ~ [ 2001:6b0:2100::/48{128,128} ] then
|
if net ~ [ 2001:6b0:2100::/48{128,128} ] then
|
||||||
accept; else reject;
|
accept; else reject;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue