See here the required files for creating on your machines the topologies found in labs (you need to be enrolled on course for accessing them).
Folder Tools contains:
"$path_to_solar_putty_exe" --telnet --hostname %h --port %p --name %d
(tutorial on this link)
After installing VMWare, there is need to add some vmnets on the machine. Go to Preferences (Ctl+shift+P) > VMWare (see the executable on tab Local settings is the correct one) > Advanced local settings tab > Add vmnets from vmnet8 to vmnet8 > Configure and wait for the process to finish. After this, try to add a NAT cloud. See more on this link about this appliance.
Note that for Linux device, gnome-terminal is added by default and can be used without Solar-PuTTY.
Make sure your VMs are opened in Virtual Box. Go to Preferences, VirtualBox VMs > New and select from the list the VM > Finish and verify the configuration using Edit. Ubuntu and Kali need to have 1 network adapter (on tab Network) and InternetVM 2. All adapters need to be “Generic driver” to be recognised by GNS3.
In case of Linux devices, utilities from iproute2 are detailed for configuring.
user@LinuxMachine ~ $ sudo ip a a 10.10.10.2/24 dev enp0s3 user@LinuxMachine ~ $ ifconfig enp0s3 eth1 Link encap:Ethernet HWaddr [...] inet addr:10.10.10.2 Bcast:0.0.0.0 Mask:255.255.255.0 BROADCAST MULTICAST MTU:1500 Metric:1 [...] # ip a a stands for: ip address add. Try to use shortcuts for configurations
user@LinuxMachine ~ $ sudo ip r a default via 10.20.20.2 dev enp0s3 user@LinuxMachine ~ $ ip r s default via 10.20.20.2 dev enp0s3 [...] # ip r s stands for: ip route show
On the course link, there exist 2 images for Cisco 3640 (used in lab1) and Cisco 7200 (can be used for both 1 and 2) that need to be imported in GNS3 in a form of appliance. Go to File > New template (a plus sign on left) > Install an appliance from the GNS3 server > on filter add 3640/7200 and select > Click Install > Install the appliance on your local computer > Check allow custom files (click Yes to dialog box) and click Import > Add here the .bin file downloaded > Accept the warning about integrity check > Select the appliance (it needs to have the status: Ready to install > Next and Finish.
After this, from the left side, select Browse all devices, then right click on the newly added appliance and click on configure template. Add a new network slot (Slots - third tab) - PA-4E for 7200 and NM-4E for 3540. After this, you drag and drop the virtual router in your project.
Let's say I want to add the IP address: 10.10.10.1/24 to interface FastEthernet0/0:
CISCO_7200(config)#interface FastEthernet 0/0 CISCO_7200(config-if)#no shutdown %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up CISCO_7200(config-if)#ip address 10.10.10.1 255.255.255.0
In this case I want to add a default route to internet via 10.30.30.2 (the ip of InternetVM on interface enp0s3):
CISCO_7200(config)#ip route 0.0.0.0 0.0.0.0 10.30.30.2
CISCO_7200(config)#int fastEthernet 0/0 CISCO_7200(config-if)#? arp Set arp type (arpa, probe, snap) or timeout bandwidth Set bandwidth informational parameter cdp CDP interface subcommands channel-group Add this interface to an Etherchannel group [...]
Download from here the zip for Cisco FTD which contains: a VDI image and 2 OVFs. After unzipping the files, you are required to open the first one (with *-VI-6.5.0-115) using Virtual Box and configure the appliance settings as follows:
The click Import and wait for it to complete.
Before going to GNS3, you to modify the network adapter configuration. Go to VirtualBox > right click on the FTD VM > Settings > Network:
Continuing, there is need to import the FTD in GNS3. Go to GNS3 > Preferences (Ctrl+Shift+P) > VirtualBox > VirtualBox VMs > New > select the VM from the list (see the name you gave it) > then Finish. You need to also modify the configuration by going to Edit > Network > change adapters number to 4 (the default value is 1), modify name format to GigabitEthernet{0} and configure custom adapters:
Click Ok and Apply.
After this, you can drag and drop the newly added machine (found as appliance on left side). You can start the machine and wait for it to boot. To use a different terminal than the one from VBox, you can use PuTTY or Solar-PuTTY to access it on the management interface using ssh (port 22 is enabled by default).
After waiting for 10 minutes, from your browser access the Firepower Device Manager (FDM - a web based user interface on the firewall) using the management ip from above and https protocol (no http - there is not redirect done to http over ssl).
user: admin
passwd: Admin123
You have now to:
Deploy at the end for changes to take effect.