48 lines
636 B
Plaintext
48 lines
636 B
Plaintext
router id 10.9.99.1;
|
|
|
|
log "/var/log/bird/bird.log" all;
|
|
debug protocols { states, routes, filters, interfaces }
|
|
|
|
protocol kernel {
|
|
#import none;
|
|
export all;
|
|
learn;
|
|
preference 254;
|
|
}
|
|
|
|
protocol device {
|
|
# defaults...
|
|
scan time 10;
|
|
}
|
|
|
|
protocol direct {
|
|
interface "vlan10";
|
|
}
|
|
|
|
filter ospfexport {
|
|
if (source = RTS_DEVICE) || (net = 0.0.0.0/0)
|
|
then accept;
|
|
else reject;
|
|
};
|
|
|
|
protocol ospf {
|
|
export filter ospfexport;
|
|
import all;
|
|
area 0 {
|
|
interface "lo" {
|
|
stub;
|
|
};
|
|
interface "vlan1001" {
|
|
};
|
|
interface "vlan1012" {
|
|
};
|
|
interface "vlan1356" {
|
|
stub;
|
|
};
|
|
interface "vlan10" {
|
|
type broadcast;
|
|
};
|
|
};
|
|
};
|
|
|