summaryrefslogtreecommitdiffstats
path: root/doc/bird.conf.example
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-03-26 22:44:38 +0100
committerMartin Mares <mj@ucw.cz>1999-03-26 22:44:38 +0100
commit7e5f5ffdda7232048c4baf3fdec358afb494a29d (patch)
tree0cbc52ac45785f16175d04039a27aa133b4b2cf2 /doc/bird.conf.example
parent739ebd8e82b090ed91b3ebe77509ecd6784eca9a (diff)
downloadbird-7e5f5ffdda7232048c4baf3fdec358afb494a29d.tar
bird-7e5f5ffdda7232048c4baf3fdec358afb494a29d.zip
Moved to a much more systematic way of configuring kernel protocols.
o Nothing is configured automatically. You _need_ to specify the kernel syncer in config file in order to get it started. o Syncing has been split to route syncer (protocol "Kernel") and interface syncer (protocol "Device"), device routes are generated by protocol "Direct" (now can exist in multiple instances, so that it will be possible to feed different device routes to different routing tables once multiple tables get supported). See doc/bird.conf.example for a living example of these shiny features.
Diffstat (limited to 'doc/bird.conf.example')
-rw-r--r--doc/bird.conf.example9
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/bird.conf.example b/doc/bird.conf.example
index 1d8203d..d91a792 100644
--- a/doc/bird.conf.example
+++ b/doc/bird.conf.example
@@ -16,7 +16,7 @@
# debug all
#}
-protocol device {
+protocol direct {
# disabled
# interface "-eth*", "*"
}
@@ -25,13 +25,16 @@ protocol kernel {
# disabled
# learn # Learn all routes from the kernel
persist # Don't remove routes on bird shutdown
- scan time 10 # Scan kernel tables every 10 seconds
- route scan time 20 # But routes only every 20 seconds
+ scan time 20 # Scan kernel routing table every 20 seconds
# async off # Netlink: Disable asynchronous events
# input filter sink
# output filter okay
}
+protocol device {
+ scan time 10 # Scan interfaces every 10 seconds
+}
+
protocol static {
# disabled
# route 0.0.0.0/0 via 62.168.0.13