2 * This is an example configuration file.
9 define xyzzy = (120+10);
13 # interface "eth*", "ppp*";
21 # learn; # Learn all routes from the kernel
22 # scan time 10; # Scan kernel tables every 10 seconds
28 import filter { print "ahoj";
30 if source = RTS_STATIC then {
31 print "It is from static";
46 rip_metric = rip_metric + 5;
48 # bgp_community = - empty - ;
50 # bgp_community = add(bgp_community, (1,2));
52 # bgp_community = add(bgp_community, (2,3));
53 # bgp_community.add((4,5));
54 # print "community = ", bgp_community;
55 # bgp_community.delete((2,3));
56 # print "community = ", bgp_community;
57 # bgp_community.empty;
58 # print "community = ", bgp_community;
63 route 0.0.0.0/0 via 195.113.31.113;
64 route 62.168.0.0/25 reject;
65 route 1.2.3.4/32 via 195.113.31.124;
66 # route 10.0.0.0/8 reject;
67 # route 10.1.1.0:255.255.255.0 via 62.168.0.3;
68 # route 10.1.2.0:255.255.255.0 via 62.168.0.3;
69 # route 10.1.3.0:255.255.255.0 via 62.168.0.4;
70 # route 10.2.0.0/24 via "arc0";