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;
43 # interface "eth*", "ppp*";
48 # learn; # Learn all routes from the kernel
49 # scan time 10; # Scan kernel tables every 10 seconds
54 route 0.0.0.0/0 via 62.168.0.13;
55 route 62.168.0.0/25 reject;
56 # route 10.0.0.0/8 reject;
57 # route 10.1.1.0:255.255.255.0 via 62.168.0.3;
58 # route 10.1.2.0:255.255.255.0 via 62.168.0.3;
59 # route 10.1.3.0:255.255.255.0 via 62.168.0.4;
60 # route 10.2.0.0/24 via "arc0";