Print "\nThe command adds the following text to /etc/hosts:"Īfter the script is runned on the machine I got the following. Print "Disable the phone home feature with this command:" Print "\n" hostname " = " iouLicense " " Print "\nThe command adds the following text to $HOME/.iourc:" " hostname " = " iouLicense " '" " | tee $HOME/.iourc " Print "Create the license file $HOME/.iourc with this command:" IouLicense=hashlib.md5(md5input).hexdigest() Md5input=iouPad1 iouPad2 struct.pack('!L', ioukey) iouPad1 Print "hostid=" hostid ", hostname=" hostname ", ioukey=" hex(ioukey) # get the host id and host name to calculate the hostkey Print "Cisco IOU License Generator - Kal 2011, python port of 2006 C version" In order to do this you need to have an IOU licence which can be created with the script found on this website.Ĭreate a file named "CiscoKeyGen.py" with the following content: There is an option to also use IOU images trough GNS3. I copied all my IOS images to the "images" folder and added some routers using this link. Once GNS3 was installed I created some extra directories (images, projects, configs, ie, capture, and tmp) as a best practice that I found here. I used this guide install all the dependancies for GNS3 and GNS3 itself. Ubuntu server installs itself without the GUI that we need for GNS3 later, so I used this link to install the gui with the commands: I started with installing the Ubuntu Server (ubuntu-14.04.3-server-amd64.iso). Root# set security forwarding-options family inet6 mode packet-based Root# set security forwarding-options family iso mode packet-based Root# set security forwarding-options family mpls mode packet-based Root# set interfaces ge-0/0/0 unit 0 family inet address x.x.x.x/xx Root# set system root-authentication plain-text-password Root# set system host-name NL-RTD01-VSRX01 In order to get make sure the vSRX behaves like a router (packet-mode) a few commands needed to be executed: I downloaded the "" file and deployed the OVA (trough the vSphere desktop client) using this and this link. Various Cisco IOS routers trough GNS3 on a Ubuntu VM (on ESXi).In order to build Proof of Concept networks to test new features in mixed-vendor networks I have decided to create a setup with some virtual routers that I can test and use together with my existing lab environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |