How to make GNS3/Dynamips communicate with your local network

Posted: November 7, 2010 in Infrastructure Management and Disaster Recovery
1) Install the Microsoft Loopback Adapter as per this guide (Windows 7. Similar process for other Windows versions):
2) Configure the Loopback Adapter with whatever network settings you like
3) Restart the PC. You cannot continue until you restart the PC.
4) Open up a cmd prompt as administrator and navigate to your GNS3 installation directory, something like this:
D:\Program Files\GNS3\
Run this batch file:
Network device list.cmd
It will come up with something like this:
d:\Program Files\GNS3>”Network device list.cmd” 

Network adapters on this machine:

NIO_gen_eth:\Device\NPF_{3B5E3AA6-9CB1-432A-96B8-AAE3A5CDEECB}
Name      : Local Area Connection* 13
Desciption: Anchorfree HSS Adapter

NIO_gen_eth:\Device\NPF_{A4FE4E95-2FA5-459A-9CF5-C5C791E9C56F}
Name      : VMware Network Adapter VMnet1
Desciption: VMware Virtual Ethernet Adapter

NIO_gen_eth:\Device\NPF_{527BED14-BACA-4172-BC91-461E6BF5ADC8}
Name      : VirtualBox Host-Only Network
Desciption: Sun

NIO_gen_eth:\Device\NPF_{666C55DE-B00A-4DCA-8965-BBCAA585B1A2}
Name      : VMware Network Adapter VMnet8
Desciption: VMware Virtual Ethernet Adapter

NIO_gen_eth:\Device\NPF_{43547361-64A5-4F9A-8F9E-FA8AC8566CCF}
Name      : Local Area Connection
Desciption: VIA Rhine II Fast Ethernet Adapter

NIO_gen_eth:\Device\NPF_{93765268-BEF5-4BAC-A09B-761F48BB6861}
Name      : Loopback
Desciption: MS LoopBack Driver

Find your loopback adapter and take note of the last few characters of the long code (i.e. 6861 in this example).

5) Run GNS3 as Administrator.
6) Add a Router and a Could.
7) Configure the Cloud. On the NIO Ethernet tab find your loopback device on the dropdown
Add this and return to your project.
8) Start the router and configure it with an IP address which could talk to the one you set on your loopback device.
interface FastEthernet0/0
ip address 10.10.10.2 255.255.255.0
duplex auto
speed auto
That’s it! Ping from the router to your desktop and vice versa to prove connectivity. You can now use GNS3 and Dynamips as real routers on your home network, and can make VMs talk to your virtual routers, enabling you to perform network monitoring at home without needing lab access.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s