Beruflich Dokumente
Kultur Dokumente
Last updated
August 3, 2017
INTRODUCTION
Contributors
David Bombal
Julien Duponchelle
DOWNLOAD THE INTERNET
APPLIANCE FROM THE GNS3
WEBSITE
EDIT THIS ARTICLE
IMPORT GNS3 APPLIANCE
Last updated
INTRODUCTION
August 3, 2017
Contributors
David Bombal
ThisJulien
document explains how to connect GNS3 topologies to the Internet.
Duponchelle
This document explains how to connect GNS3 topologies to the Internet when using the GNS3 VM.
EDIT THIS ARTICLE
Note If you are using a local install of GNS3, refer to this document.
WARNING
Ensure that your PC rewall is not blocking GNS3 tra c. If necessary, turn off your PC’s rewall.
1. Using a web browser, browse to https://gns3.com and click the MARKETPLACE menu item:
2. Click Appliances:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 2/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 3/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
4. An appliance description is displayed. Con rm details of the appliance and then click Download Template:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 4/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
NOTE
This document assumes that you already have both the GNS3 Graphical User Interface installed (GNS3-all-in-one) and the GNS3 VM integrated with GNS3. Please refer t
on how to install the GNS3 all-in-one package and how to download and con gure the GNS3 VM.
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 5/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
2. Name the project and click OK:. In this example, the name GNS3-VM-Internet is used:
4. Navigate to your Downloads folder, select the internet.gns3a appliance and then click Open:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 6/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
5. The Internet window displays. Review the summary information: “This appliance simulates a domestic modem. It provides IP addresses using
connections to the Internet without you having to use a cloud interface in your GNS3 topologies. The IP subnets used are in the 172.16.0.0/16
be con gured and will have different IP address ranges from 172.16.1.0/24 to 172.16.2.0/24”
6. Select the Run the appliance on the GNS VM (recommend) Server type because the GNS3 VM is required for this server type.
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 7/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
7. An operating system is bundled with the Internet new appliance. Click Next >:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 8/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
11. The appliance is added to GNS3 and a success message displayed. Click OK:
12. Click the Browse all Devices menu option to view the newly imported GNS3 appliance:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 9/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
13. OptionalYou can view the appliance settings by clicking Edit and then Preferences:
14. Optional Click on the appliance type (will vary) to view the appliance details:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 10/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
15. Once you have imported the new appliance into GNS3, you can create topologies which include the new appliance. Drag and drop the Internet
Toolbar to the GNS3 Workspace. You may be prompted to upload the appliance operating system to the GNS3 VM. Click Yes to upload the app
17. To add a router to the GNS3 topology, clickn the Routers button on the Devices_Toolbar
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 11/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
18. The routers available will depend on your GNS3 con guration. In this example both a local router and GNS3 VM router are available.
19. Drag and drop a GNS3 VM router to the GNS3 Workspace. An instance of the node becomes available in the Workspace:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 12/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
20. Drag and drop another local router to the GNS3 Workspace:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 13/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
22. Click the Add a Link button to start adding links to your topology. The mouse cursor will change to indicate that links can be added:
23. Click on the rst router topology to display available interfaces (this is device dependant):
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 14/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
24. Click the interface and then select the cloud in the topology to connect the interface to. In this example FastEthernet 0/0 on R1 was selected a
cloud Internet_0.1-1
25. Select an interface on the cloud to complete the connection. In this example, Ethernet0 on cloud Internet 0.1-1 was selected:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 15/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
27. Click the Add a Link button to stop adding links. The mouse cursor will change back to normal to indicate that you have stopped adding links:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 16/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
28. If not already done, click the Show/Hide interface labels button on the GNS3 Toolbar to display interface labels in your topology:
29. You are now ready to power on your network devices. Click the Start/Resume button on the GNS3 Toolbar to start up your network devices:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 17/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
30. Click the Console connect to all devices button on the GNS3 Toolbar to open a connection to every device in the topology:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 18/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
Username: gns3
Password: gns3
gns3@box:~$
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 19/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
2. Ping google.com:
R1#
*Mar 1 00:02:14.619: %DHCP-6-ADDRESS_ASSIGN: Interface FastEthernet0/0 assigned DHCP address 172.16.48.202, mask 255.255.255.0, hostname R1
R1#
4. Ensure that the router is con gured to use the correct DNS server:
R1(config)# ip domain-lookup
R1(config)# ip name-server 8.8.8.8
R1(config)# end
R1#
Note By default the DHCP server on the Internet cloud will advertise itself as the DNS server and will reply to DNS queries.
5. Ping google.com:
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 20/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
Result Pings succeed.
If your pings don’t succeed, ensure that you have connectivity to your default gateway and ensure that the default gateway is con gured for NAT to
to the GNS3 router. Also ensure that your rewalls are not blocking tra c.
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 21/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
R1*Mar 1 00:10:30.275: %OSPF-5-ADJCHG: Process 1, Nbr 10.1.1.2 on FastEthernet0/1 from LOADING to FULL, Loading Done
R2*Mar 1 00:10:30.307: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.48.202 on FastEthernet0/0 from LOADING to FULL, Loading Done
Note If the OSPF relationships are not formed, wait 30 seconds and check your con guration. Make sure you have con gured IP addresses correctl
cabled the GNS3 network correctly.
R2(config)# ip domain-lookup
R2(config)# ip name-server 8.8.8.8
R2(config)# end
R2#
9. R2 will not be able to ping Internet devices until you con gure NAT on R1. In this example, the Internet gateway does not support routing, so NA
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 22/23
9/13/2017 Connect GNS3 to the Internet (GNS3 VM) - GNS3
11. Congratulations! You have con gured Internet connectivity from GNS3 VM devices.
https://docs.gns3.com/1EjaCJlcM0RYIyyE_MbJOYNatEBnffOX5tcnJShR_KfY/index.html 23/23