I would like a perl script written to check the running network routes on a linux (centos) server against the routes saved on the server's disk. This script will be run remotely from a windows workstation. It will take a list of ip addresses, usernames/passwords and report if the routes on disk are identical to the routes in memory, or if they are different. It should also list the default route and the interface for the default route. The application will use ssh to connect to the remote machines. I will also need directions to install and configure the cpan modules used.
[login to view URL] -i c:\path\[login to view URL] -o c:\path\[login to view URL]
HOST FILE (Label, Server IP, username/password, root/password)
Label1 [login to view URL] user1/password1 root/password1
Label2 [login to view URL] user2/password2 root/password2
Label3 [login to view URL] user3/password3 root/password3
Label4 [login to view URL] user4/password4 root/password4
OUTPUT FILE (Label, server-IP, different/same, default route interface, default route)
Label1 [login to view URL] same eth4.300 [login to view URL]
Label2 [login to view URL] different eth0 [login to view URL]
Label3 [login to view URL] different eth2.200 [login to view URL]
Label4 [login to view URL] same eth5.410 [login to view URL]