Читать книгу Systems and Network Infrastructure Integration - Saida Helali - Страница 31
2.3.4.2. Constructing a simple network topology
ОглавлениеWe begin by selecting a router. Only the types of routers for which we have already provided an IOS image are available; all others are grayed out. In Figure 2.7, we have two router models available (the previously added C1700 and the existing C3600).
Figure 2.7. Available router images. For a color version of the figure, see www.iste.co.uk/helali/systems.zip
Using Drag & Drop, we drag the desired routers into the main window.
Figure 2.8. Adding routers to a topology. For a color version of the figure, see www.iste.co.uk/helali/systems.zip
To configure a router, right-click and select CONFIGURE.
Figure 2.9. Configuration of a router. For a color version of the figure, see www.iste.co.uk/helali/systems.zip
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.
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.
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.