Netkit A bash script I wrote to quick build the requested Netkit labs for the final of the Computer  Networks  Infrastuctures class last july. I’m really pleased with those exams where you can  separate concepts  from specific and likely-to-change knowledge that may become useless or  forgotten soon.  Especially if smart professors allow you to automate or give less emphasis to the  second part, which  should be anyway known, but focusing on the first.

This bash script implements an input driven lab generator for Netkit, the “poor man’s system to experiment computer networking” developed and mantained at Roma Tre University.
The script prompt the user with questions and expects answers in indicated formats (pretty easy to get from examples). At the end, if feed with correct input, it should build up a working lab with network configuration based on BGP and RIP as IGP. It doesn’t configure prefix-lists or route-maps but examples are provided under comments.
This may be really useful for students at the Computer Networks Infrastructures class since most of the labs requested in finals may be generated with this script in minutes (while you are given about an hour, so you got lots of time to set up more complex stuffs and to check them).

[ Download ]

Read more