Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
networks.
To provide complete and accurate simulations, GNS3 is strongly linked
with:
INSTALLING GNS3
Step 1 Download GNS3
The easiest way to install GNS3 in a Windows environment is to download
the all-in-one version. The file is a little under 16 MB in size and will take
less than a minute to download on a DSL or cable connection. Dial-up
connections will take somewhat longer.
Step 2 Install GNS3
Find the file you download and double-click on it to begin installing GNS3.
The GNS3 Setup Wizard will begin. Everything else is a matter of clicking
on next or agree buttons.
GNS3 depends on several other programs to operate. Those dependencies
include WinPCAP, Dynamips and Qemu and these components along with
GNS3 are all chosen by default for installation. The default location to
install GNS3 is also chosen for you.
Moreover note that if needed, WinPcap Setup Wizard will be launched for
you to install it, this dependency is required for GNS3 to communicate
with real networks through a physical network internal controller. The
installation for WinPcap will begin. However, if you have a previous
version of WinPcap on your computer, the wizard will ask to remove the
older version and will then install the newer version.
You
have
now
completed
the
installation
of
GNS3.
Click
the Start button,All Programs, GNS3, and then choose GNS3 out of the
list of applications installed. Youll see the main GNS3 window. Well
discuss its panes in a later step, but first we have to configure the
location for a Cisco IOS.
Step 3 Defining Cisco IOS files
As mentioned earlier,
you must provide your own Cisco IOS to use with GNS3 due to licensing
issues. GNS3 is meant to be used in a lab environment for testing and
learning. Once you have obtained your own copy of a Cisco IOS for one of
the supported platforms, you are ready to continue. Supported platforms
are Cisco 7200, 3600 series (3620, 3640 and 3660), 3700 series (3725,
3745) and 2600 series (2610 to 2650XM, 2691).
On the Edit menu, choose IOS image and hypervisors. Then under
the IOS Images tab, click and then find your Cisco IOS file and
click Open. The file will appear as your Image file. Next, click the dropdown arrow next toPlatform and choose the platform that corresponds to
your IOS file.
Now click the drop-down arrow next to Model and choose the model
corresponding to your IOS file. For now, well accept the default values
that remain. However, there is a very important value called the IDLE PC
value that we will want to include. Well get to that later. Click
the Savebutton and then the Close button. This will return you to the
default GNS3 window. Its time to create our very first simple topology.
These are some important things that the Cisco router IOS software is responsible
for:
Router(config-line)#line vty 0 4
Router(config-line)# password admin2
Router(config-line)# login
Cisco Command
Router(config)#line con 0
Router(config-line)#password cisco
Router(config-line)#login
Router(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config)#line con 0
Router(config-line)#exec-timeout 0 0
Enable an interface
Router(config-if)#no shutdown
To disable an interface
Router(config-if)#shutdown
To add an IP address to a
interface
show version
show running-config
show startup-config
show flash
show log
Disable
Exit Router
up arrow or <Ctrl-P>
Suspend or abort
<Shift> and
<Ctrl-R>
Complete Command
TAB
To set the time, use this command in enable mode (not configuration mode):
Router# clock set 22:10:35 June 20 2012
The time is in 24 hour mode. To see the information about the clock settings,
use:
Router# show clock detail 22:56:07.136 PDT Wed Jun 20 2012
Time source is user configuration
This will show the current date and time and the source of the time
configuration (in this case showing that the time was manually set).
The f0/0 denotes the interface of the router,Where f denotes fast Ethernet.
Firstly each interface is assigned an ip address along with a subnet mask
The command that facilitates the desired is :
Raveena(config-line)#int f0/0
Raveena(config-if)#ip addr 10.1.1.1 255.255.255.0
Lastly the command no shutdown, changes the state of the router to
up.
Raveena(config-if)#no shutdown
.
When pinging to the other node r2 in the same network i.e connected to the same
interface the delivery ratio was 0.8