1998-11-27 19:39:16 +00:00
|
|
|
/*
|
|
|
|
* This is an example configuration file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
# Yet another comment
|
|
|
|
|
1999-01-15 17:18:41 +00:00
|
|
|
#router id 62.168.0.1
|
1998-11-27 21:09:57 +00:00
|
|
|
|
1999-01-15 17:18:41 +00:00
|
|
|
#define xyzzy = 120+10
|
1998-11-27 21:32:45 +00:00
|
|
|
|
1998-11-29 22:03:58 +00:00
|
|
|
#protocol rip MyRIP_test {
|
|
|
|
# preference xyzzy
|
|
|
|
# debug all
|
|
|
|
#}
|
|
|
|
|
|
|
|
protocol device {
|
|
|
|
# disabled
|
|
|
|
# interface "-eth*", "*"
|
1998-11-27 21:09:57 +00:00
|
|
|
}
|
1998-12-06 17:40:42 +00:00
|
|
|
|
|
|
|
protocol kernel {
|
|
|
|
# disabled
|
1998-12-08 18:37:58 +00:00
|
|
|
# learn; # Learn all routes from the kernel
|
1998-12-06 17:40:42 +00:00
|
|
|
scan time 10; # Scan kernel tables every 10 seconds
|
1998-12-08 18:37:58 +00:00
|
|
|
# route scan time 20; # But routes only every 20 seconds
|
1998-12-06 17:40:42 +00:00
|
|
|
}
|
1998-12-06 18:21:23 +00:00
|
|
|
|
|
|
|
protocol static {
|
1998-12-06 23:13:31 +00:00
|
|
|
# disabled
|
1999-01-15 17:18:41 +00:00
|
|
|
# route 0.0.0.0/0 via 62.168.0.13
|
|
|
|
# route 62.168.0.0/25 reject
|
1998-12-06 23:13:31 +00:00
|
|
|
# route 10.0.0.0/8 reject
|
1998-12-08 18:37:58 +00: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-06 23:13:31 +00:00
|
|
|
# route 10.2.0.0/24 via "arc0"
|
1998-12-06 18:21:23 +00:00
|
|
|
}
|