bird/protocols/kernel.conf
2020-04-20 04:42:25 +02:00

65 lines
847 B
Text

protocol kernel kernel_v4 {
ipv4 {
import none;
export where source != RTS_DEVICE && net.len > 0 && dest != RTD_UNREACHABLE;
};
metric 0;
}
protocol kernel kernel_v6 {
ipv6 {
import none;
export where source != RTS_DEVICE && net.len > 0 && dest != RTD_UNREACHABLE;
};
metric 0;
}
protocol kernel kernel_dn42_v4 {
kernel table krt_dn42;
ipv4 {
table dn42_v4;
import none;
export all;
};
}
protocol kernel kernel_dn42_v6 {
kernel table krt_dn42;
ipv6 {
table dn42_v6;
import none;
export all;
};
}
protocol kernel kernel_ebgp_v6 {
kernel table krt_ebgp;
ipv6 {
table ebgp_v6;
export where source != RTS_DEVICE;
import none;
};
metric 0;
}
protocol kernel kernel_ebgp_v4 {
kernel table krt_ebgp;
ipv4 {
table ebgp_v4;
export where source != RTS_DEVICE;
import none;
};
metric 0;
}