]> git.ipfire.org Git - thirdparty/bird.git/blame - bird.conf
ip_pton: Avoid modification of the string we're converting.
[thirdparty/bird.git] / bird.conf
CommitLineData
ca3d562b
PM
1/*
2 * This is an example configuration file.
3 */
4
5# Yet another comment
6
7router id 62.168.0.1
8
9define xyzzy = 120+10
10
ba921648
PM
11function startup () int i; { printdebug; printdebug; i = 5; print( i ); i = 1234 + i; print( i ); if 0 then { puts( "You must not ever see this" ); quitbird; } print( 2 ); if 1 then puts( "jedna dve honza jde" ); quitbird; }
12
13filter testf int j; { j = const(4321); print( j ); }
14
ca3d562b 15
ca3d562b
PM
16protocol rip MyRIP_test {
17 preference xyzzy
18 debug all
19 port 1520
20 period 5
21 garbagetime 30
22 interface "*"
23}
ca3d562b
PM
24
25protocol device {
26 disabled
27 interface "eth*", "ppp*"
28}
29
30#protocol kernel {
31# disabled
32# learn; # Learn all routes from the kernel
33# scan time 10; # Scan kernel tables every 10 seconds
34#}
35
36protocol static {
37# disabled
38 route 0.0.0.0/0 via 62.168.0.13
39 route 62.168.0.0/25 reject
40# route 10.0.0.0/8 reject
41# route 10.1.1.0:255.255.255.0 via 62.168.0.3
42# route 10.1.2.0:255.255.255.0 via 62.168.0.3
43# route 10.1.3.0:255.255.255.0 via 62.168.0.4
44# route 10.2.0.0/24 via "arc0"
45}