1. Introduction
This Perl script generates RIP-2 routes to simulate a dynamic routed network. Is only allowed to use in a laboratory environment!
This Perl script generates RIP-2 routes to simulate a dynamic routed network. Is only allowed to use in a laboratory environment!
Usage:
RIPgen.pl -n [options]
Parameter:
-n initial network with mask
Option:
-a amount of generate routes (default 1)
-m metric of all RIP routes (default 15)
-h next hop of all RIP routes (default 0.0.0.0)
-t tag of all RIP routes (default 0)
-d delay between RIP updates (default 30)
-r routes per RIP PDU (default 25)
-dp delay between PDUs (default 0)
-u amount of RIP updates (default endless)
-default generate a default route
Examples:
RIPgen.pl -n 10.1.1.0/24
RIPgen.pl -n 10.1.1.0/255.255.255.0 -a 120
RIPgen.pl -n 10.1.1.0/24 -a 120 -m 3 -d 0 -r 2 -u 15 -h 172.16.1.5