51 lines
954 B
Plaintext
51 lines
954 B
Plaintext
router id 0.0.0.1;
|
|
|
|
ipv6 sadr table auto_l3_v6;
|
|
|
|
protocol device {};
|
|
|
|
protocol direct {
|
|
ipv6 sadr {
|
|
table auto_l3_v6;
|
|
};
|
|
interface "auto-l3";
|
|
}
|
|
|
|
protocol kernel {
|
|
kernel table 200;
|
|
netlink rx buffer 16777216;
|
|
ipv6 sadr {
|
|
table auto_l3_v6;
|
|
# export everything but the unreachable static route
|
|
# the correct route is set during boot
|
|
export where (source != RTS_STATIC);
|
|
};
|
|
}
|
|
|
|
protocol babel {
|
|
ipv6 sadr {
|
|
table auto_l3_v6;
|
|
import all;
|
|
export where source ~ [ RTS_DEVICE, RTS_BABEL, RTS_STATIC ];
|
|
};
|
|
|
|
randomize router id on;
|
|
|
|
interface "babel*" { rxcost ${AUTO_L3_RXCOST_PEERING}; };
|
|
}
|
|
|
|
protocol babel {
|
|
ipv6 sadr {
|
|
table auto_l3_v6;
|
|
import keep filtered on;
|
|
import where net ~ ${AUTO_L3_PREFIX}/${AUTO_L3_PREFIX_LEN} from ::/0
|
|
&& net.len >= ${AUTO_L3_DELEGATED_LEN}
|
|
&& babel_metric >= ${AUTO_L3_RXCOST_VXLAN};
|
|
export all;
|
|
};
|
|
|
|
randomize router id on;
|
|
|
|
interface "vxlan0" { rxcost ${AUTO_L3_RXCOST_VXLAN}; };
|
|
}
|