1998-11-27 20:39:16 +01:00
|
|
|
/*
|
|
|
|
* This is an example configuration file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
# Yet another comment
|
|
|
|
|
1999-01-15 18:18:41 +01:00
|
|
|
#router id 62.168.0.1
|
1998-11-27 22:09:57 +01:00
|
|
|
|
1999-01-15 18:18:41 +01:00
|
|
|
#define xyzzy = 120+10
|
1998-11-27 22:32:45 +01:00
|
|
|
|
1999-03-17 15:31:26 +01:00
|
|
|
#filter sink { reject; }
|
|
|
|
#filter okay { accept; }
|
|
|
|
|
1998-11-29 23:03:58 +01:00
|
|
|
#protocol rip MyRIP_test {
|
|
|
|
# preference xyzzy
|
|
|
|
# debug all
|
|
|
|
#}
|
|
|
|
|
1999-03-26 22:44:38 +01:00
|
|
|
protocol direct {
|
1998-11-29 23:03:58 +01:00
|
|
|
# disabled
|
|
|
|
# interface "-eth*", "*"
|
1998-11-27 22:09:57 +01:00
|
|
|
}
|
1998-12-06 18:40:42 +01:00
|
|
|
|
|
|
|
protocol kernel {
|
|
|
|
# disabled
|
1999-02-13 23:02:21 +01:00
|
|
|
# learn # Learn all routes from the kernel
|
|
|
|
persist # Don't remove routes on bird shutdown
|
1999-03-26 22:44:38 +01:00
|
|
|
scan time 20 # Scan kernel routing table every 20 seconds
|
1999-03-03 20:49:56 +01:00
|
|
|
# async off # Netlink: Disable asynchronous events
|
1999-03-17 15:31:26 +01:00
|
|
|
# input filter sink
|
|
|
|
# output filter okay
|
1998-12-06 18:40:42 +01:00
|
|
|
}
|
1998-12-06 19:21:23 +01:00
|
|
|
|
1999-03-26 22:44:38 +01:00
|
|
|
protocol device {
|
|
|
|
scan time 10 # Scan interfaces every 10 seconds
|
|
|
|
}
|
|
|
|
|
1998-12-06 19:21:23 +01:00
|
|
|
protocol static {
|
1998-12-07 00:13:31 +01:00
|
|
|
# disabled
|
1999-01-15 18:18:41 +01:00
|
|
|
# route 0.0.0.0/0 via 62.168.0.13
|
|
|
|
# route 62.168.0.0/25 reject
|
1998-12-07 00:13:31 +01:00
|
|
|
# route 10.0.0.0/8 reject
|
1998-12-08 19:37:58 +01:00
|
|
|
# route 10.1.1.0:255.255.255.0 via 62.168.0.3
|
|
|
|
# route 10.1.2.0:255.255.255.0 via 62.168.0.3
|
|
|
|
# route 10.1.3.0:255.255.255.0 via 62.168.0.4
|
1998-12-07 00:13:31 +01:00
|
|
|
# route 10.2.0.0/24 via "arc0"
|
1998-12-06 19:21:23 +01:00
|
|
|
}
|