Systems and Network Infrastructure Integration. Saida Helali

Читать онлайн книгу.

Systems and Network Infrastructure Integration - Saida Helali


Скачать книгу

      Memory values can be adjusted here and, depending on the type, different modular locations can also be added.

      GNS3 offers a selection of modules that can be virtually installed in routers.

      To connect the two routers, simply select the type of corresponding connection using the left-hand button (a serial connection in this case) and click on the respective routers on the left to select the desired interface.

      A corresponding connection line appears at R1, which is then dragged toward the partner router R2.

      Figure 2.10. Connection of two routers. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Although switches cannot be emulated, it is still possible to simulate them. A corresponding button to the left allows you to select the desired switch. This is usually an Ethernet switch.

Image014

      Figure 2.11. Adding a switch. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Peripheral devices are connected to the switch by selecting the Ethernet connection using the connection button on the left (as previously shown for the serial connection).

      Figure 2.12. Connection to a switch. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Switches can be configured in a very generic way. To do this, we click on the switch to the right and select CONFIGURE. Now we can specify the VLAN and the mode assigned to each port.

Image016

      Figure 2.13. Switch configuration. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      This allows us to control at least the basic aspects of a switch's configuration.

      2.3.4.3. Configuring a router

      Once a network infrastructure has been constructed, we move on to its configuration.

      2.3.4.4. Adding virtual systems

      It is possible to import virtual machines into GNS3, like an IOS image, or to use the cloud.

      Method 1 (cloud)

      Based on VirtualBox, VMware or any other virtualization software program installed on the host system executing GNS3, we can create GNS3 interfaces on our virtual machines and integrate them into GNS3.

      To do this, we have to choose the host-only network interface in the virtualization software, illustrated by VMware Workstation shown in Figure 2.14, for example.

Image017

      Figure 2.14. Network configuration of a virtual machine. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Next, we create a cloud connection in GNS3 via the End Devices button.

      Figure 2.15. Creation of a cloud connection. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Before we can connect to the cloud, we must right-click on the cloud and select Configure, then choose the interface to connect to GNS3 (in this case VMnet1).

Image019

      Figure 2.16. Configuring the cloud. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      After selecting it, we click on Add to add this interface.

      Now, we can connect the cloud to other objects, such as the switch, in the usual way.

      Through this VMnet1 interface connection, each virtual machine (VM) connected via VMnet1 is integrated into GNS3.

      Using the same principle, we can integrate the physical environment using the physical interface of our host computer as a cloud interface.

      Figure 2.17. Adding the interface. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

Image021

      Figure 2.18. Connecting the cloud with the switch. For a color version of the figure, see www.iste.co.uk/helali/systems.zip

      Method 2

      A ready-to-use virtual machine is available, for which we will modify the network parameters. We choose the adapter2 card, for example, and put it into “Host-only Adapter”.

      Once the virtual machine is configured, we will prepare GNS3 to integrate this machine. To do this, we start the software program and go to “Edit”, then to “Preferences”, and finally to the “VirtualBox” menu.

      We are particularly interested in the “VirtualBoxGuest” tab, where the virtual machine will actually be imported into GNS3. The first thing to do is to click on “Refresh VM List” so that the GNS3 native module will display the available virtual machines. These will then be available in the “VM List”.

      Finally, we can click and drag the “Virtual Guest” icon. The name of our VirtualBox machine should then appear in our topology. Then, we simply start it via GNS3 by right-clicking on Start.

Image022

      Note

      1 This chart is also available at www.iste.co.uk/helali/systems.zip

      Конец ознакомительного фрагмента.

      Текст предоставлен ООО «ЛитРес».

      Прочитайте эту книгу целиком, купив полную легальную версию на ЛитРес.

      Безопасно оплатить книгу можно банковской картой Visa, MasterCard, Maestro, со счета мобильного телефона, с платежного терминала, в салоне


Скачать книгу