gns3gns3下载
Gns3 very useful tool to simulate real networks and systems. In the first days of its Gns3 was simple Cisco IOS image emulator. But recent years its development has gained momentum. This made Gns3 a multi-platform, flexible real-world simulator. Gns3 supports systems like Cisco, Juniper, Palo Alto, Pfsense, Docker, etc. In this tutorial, we will look at how to install Gns3 to the Fedora 64 bit.
Gns3非常有用的工具,可以模拟真实的网络和系统。 在其Gns3的初期,它是简单的Cisco IOS图像模拟器。 但是近年来,它的发展势头强劲。 这使Gns3成为了多平台,灵活的真实世界模拟器。 Gns3支持诸如Cisco,Juniper,Palo Alto,Pfsense,Docker等系统。在本教程中,我们将研究如何将Gns3安装到Fedora 64位。
(Get Gns3 Installation Files)
Gns3 files are hosted on GitHub. There are different ways to get these files. Git tool can be used to get all Gns3 and history or current version can be downloaded with wget. GNS3 uses server and client architecture and maintained in two git projects we should download both of them.
Gns3文件托管在GitHub上。 有多种获取这些文件的方法。 Git工具可用于获取所有Gns3,并且历史记录或当前版本可通过wget下载。 GNS3使用服务器和客户端架构,并在两个git项目中进行维护,我们应同时下载它们。
(Client:)
The latest version of the GNS3 Client files can be downloaded with the following command.
可以使用以下命令下载GNS3客户端文件的最新版本。
$ wget https://codeload.github.com/GNS3/gns3-gui/zip/master
Get Gns3 Installation Files
获取Gns3安装文件
服务器:(Server:)
The latest GNS3 server installation files can be installed with the following command.
可以使用以下命令安装最新的GNS3服务器安装文件。
$ wget https://codeload.github.com/GNS3/gns3-server/zip/master
Get Gns3 Installation Files
获取Gns3安装文件
We will unzip these files with
我们将解压缩这些文件
$ unzip gns3-gui-master.zip
Extract GUI
提取GUI
$ unzip master.zip
Extract Server
提取服务器
安装Gns3依赖项(Install Gns3 Dependencies)
Now we have to get core Gns3 files we need to install dependencies to install Gns3. There are different type of dependencies but following command simple install all dependencies.
现在我们必须获取核心Gns3文件,我们需要安装依赖项才能安装Gns3。 有不同类型的依赖项,但是通过简单的命令安装所有依赖项。
$ sudo dnf install kernel-devel gcc python3-devel python3-setuptools python3-PyQt4 redhat-lsb.x86_64 redhat-rpm-config -y && sudo pip3 install netifaces
(Get Dynamips)
Dynamips is the Cisco IOS emulator. To run Arm-based Cisco IOS we need Dynamips
.
Dynamips是Cisco IOS模拟器。 要运行基于Arm的Cisco IOS,我们需要Dynamips
。
$ git clone https://github.com/GNS3/dynamips.git
(Install Dynamips Dependencies)
We will enter to the dynamips directory
我们将进入dynamips目录
$ cd dynamips/
and create a directory named build
并创建一个名为build
的目录
$ mkdir build
and then enter the build directory
然后进入构建目录
$ cd build
and create Makefile with cmake
并用cmake
创建Makefile
$ cmake ..
Now we will compile the dynamips
现在我们将编译动态
$ make
after compilation, we will install compiled binaries
编译后,我们将安装编译后的二进制文件
$ sudo make install
(Get IOU Emulator)
IOU is used to emulate x86 Cisco images.
IOU用于模拟x86 Cisco映像。
$ git clone https://github.com/GNS3/iouyap.git
Get IOU Emulator
获取借条模拟器
安装IOU依赖关系(Install IOU Dependencies)
We will install bison and flex to compile
我们将安装bison和flex进行编译
$ sudo dnf install bison flex -y
Install IOU Dependencies
安装IOU依赖项
$ git clone http://github.com/ndevilla/iniparser.git
Install IOU Dependencies
安装IOU依赖关系
$ cd iniparser
We will compile the source files
我们将编译源文件
$ make
After compilation, we will copy produced binaries and libraries to the lib
directory
编译后,我们会将生成的二进制文件和库复制到lib
目录中
$ sudo cp libiniparser.* /usr/lib/
$ sudo cp src/iniparser.h /usr/local/include
$ sudo cp src/dictionary.h /usr/local/include
initparser
初始化程序
安装借条(Install IOU)
Enter to the iouyap directory
进入iouyap目录
$ cd iouyap/
Compile source code with the make.
用make编译源代码。
$ make
And install compiled binaries and libraries with the make install
command like below.
并使用如下所示的make install
命令安装编译的二进制文件和库。
$ sudo make install
Install IOU
安装借条
运行GNS3(Run GNS3)
Simple run gns3
command. This command will start gns3-server first and then start client application which will connect to the gns3-server .
简单运行gns3
命令。 此命令将首先启动gns3-server,然后启动将连接到gns3-server的客户端应用程序。
$ gns3
Run Gns3
运行Gns3
LEARN MORE How To Direct and Reverse Ip Look Up With Nslookup In Linux and Windows?
了解更多信息如何在Linux和Windows中使用Nslookup定向和反向IP查找?
gns3gns3下载