2 * This is an example configuration file.
14 print "Ok, accepting";
16 print "Heya, filtering route to " rta.net.ip " prefixlen " rta.net.len;
17 print "This route was from " rta.from;
20 if rta.rip_metric > 15 then
21 print "RIP Metric is more than infinity";
26 protocol rip MyRIP_test {
32 interface "*" { mode broadcast; };
35 passwords { password "ahoj" from 0 to 10;
36 password "nazdar" from 10;
44 # interface "eth*", "ppp*";
49 # learn; # Learn all routes from the kernel
50 # scan time 10; # Scan kernel tables every 10 seconds
55 route 0.0.0.0/0 via 62.168.0.13;
56 route 62.168.0.0/25 reject;
57 route 1.2.3.4/32 via 1.2.3.5;
58 # route 10.0.0.0/8 reject;
59 # route 10.1.1.0:255.255.255.0 via 62.168.0.3;
60 # route 10.1.2.0:255.255.255.0 via 62.168.0.3;
61 # route 10.1.3.0:255.255.255.0 via 62.168.0.4;
62 # route 10.2.0.0/24 via "arc0";