Statistics
| Branch: | Revision:

iof-bird-daemon / doc / bird.conf.example @ 9c11ec9e

History | View | Annotate | Download (1.16 KB)

1
/*
2
 *	This is an example configuration file.
3
 */
4

    
5
# Yet another comment
6

    
7
#router id 62.168.0.1;
8

    
9
#define xyzzy = 120+10;
10

    
11
#filter sink { reject; }
12
#filter okay { accept; }
13

    
14
#table testable;
15

    
16
#protocol rip MyRIP_test {
17
#	preference xyzzy;
18
#	debug all;
19
#	import filter okay;
20
#}
21

    
22
protocol direct {
23
#	disabled;
24
#	interface "-eth*", "*";
25
}
26

    
27
protocol kernel {
28
#	disabled;
29
#	learn;			# Learn all routes from the kernel
30
	persist;		# Don't remove routes on bird shutdown
31
	scan time 20;		# Scan kernel routing table every 20 seconds
32
#	async off;		# Netlink: Disable asynchronous events
33
#	import none;		# Default is import all
34
	export all;		# Default is export none
35
#	kernel table 5;		# Kernel table to synchronize with (default: main)
36
}
37

    
38
protocol device {
39
	scan time 10;		# Scan interfaces every 10 seconds
40
}
41

    
42
protocol static {
43
#	disabled;
44
#	table testable;
45
#	route 0.0.0.0/0 via 62.168.0.13;
46
#	route 62.168.0.0/25 reject;
47
#	route 10.0.0.0/8 reject;
48
#	route 10.1.1.0:255.255.255.0 via 62.168.0.3;
49
#	route 10.1.2.0:255.255.255.0 via 62.168.0.3;
50
#	route 10.1.3.0:255.255.255.0 via 62.168.0.4;
51
#	route 10.2.0.0/24 via "arc0";
52
}
53

    
54
#protocol pipe {
55
#	peer table testable;
56
#	import all;
57
#	export all;
58
#}