Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Ansible managed: /usr/local/etc/ansible/roles/client/files/usr/local/etc/bird.conf.j2 modified on 2014-09-25 23:47:16 by boyo on manager
- # Configure logging
- log syslog all;
- log "/var/log/bird.log" all;
- log stderr all;
- # Override router ID
- router id 3.3.3.6;
- filter kernel_in
- {
- # Prevent to put the default-route (already learn by DHCP) into the kernel table
- if net = 0.0.0.0/0 then reject;
- else accept;
- }
- # Sync bird routing table with kernel
- protocol kernel {
- export filter kernel_in;
- learn;
- scan time 10;
- }
- # Include device route (warning, a device route is a /32)
- protocol device {
- scan time 10;
- }
- # Enable OSPF, only on tun interface
- protocol ospf CLIENT {
- rfc1583compat yes;
- area 0.0.0.0 {
- interface "tun0" {
- cost 10;
- type ptp;
- passwords {
- password "superpass" {
- id 1;
- };
- };
- authentication cryptographic;
- };
- interface "lo1" {
- stub yes;
- };
- interface "re0" {
- stub yes;
- };
- interface "wlan0" {
- stub yes;
- };
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment