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