dynagen net文件 3640系列路由器写法

简介:

在linux安装GNS3是一件让人很痛苦的事情,既然和dynagen只是表现形式上的不同,那就不重形式看内容吧,其实使用dynagen也同样灵活方便,只是要求自己比使用gns3的时候更清楚在做什么罢了。3640是我经常使用的路由器,因为其可安装交换模块,做交换机也很方便。

使用几天dynagen感觉挺好的,写点东西,以后查查也方便。

在运行dynagen之前,首先启动dynamips

要让路由器可以运行,net文件最起码填写以下内容:

在dyangen的配置模式中对路由器进行设置,也可通过配置模式查看可选用的模块。

根据以上信息,可以在net文件中添加slot内容。

如下:

重新通过dyangen启动net文件,通过show device 命令查看路由器网络模块项。

=> show device
Router R1 is running
  Hardware is dynamips emulated Cisco 3640 with 96 MB RAM
  Router's hypervisor runs on localhost:7200, console is on port 2000
  Image is /opt/IOS/c3640-js-mz.124-10.bin with no idle-pc value
  128 KB NVRAM, 0 MB disk0 size, 0 MB disk1 size
   slot 1 hardware is NM-4T with 4 interfaces
      Serial1/0 is empty
      Serial1/1 is empty
      Serial1/2 is empty
      Serial1/3 is empty
   slot 2 hardware is NM-16ESW with 16 interfaces
      FastEthernet2/0 is empty
      FastEthernet2/1 is empty
      FastEthernet2/2 is empty
      FastEthernet2/3 is empty
      FastEthernet2/4 is empty
      FastEthernet2/5 is empty
      FastEthernet2/6 is empty
      FastEthernet2/7 is empty
      FastEthernet2/8 is empty
      FastEthernet2/9 is empty
      FastEthernet2/10 is empty
      FastEthernet2/11 is empty
      FastEthernet2/12 is empty
      FastEthernet2/13 is empty
      FastEthernet2/14 is empty
      FastEthernet2/15 is empty

Router R2 is running
  Hardware is dynamips emulated Cisco 3640 with 96 MB RAM
  Router's hypervisor runs on localhost:7200, console is on port 2001
  Image is /opt/IOS/c3640-js-mz.124-10.bin with no idle-pc value
  128 KB NVRAM, 0 MB disk0 size, 0 MB disk1 size
   slot 1 hardware is NM-4T with 4 interfaces
      Serial1/0 is empty
      Serial1/1 is empty
      Serial1/2 is empty
      Serial1/3 is empty

Router R3 is running
  Hardware is dynamips emulated Cisco 3640 with 96 MB RAM
  Router's hypervisor runs on localhost:7200, console is on port 2002
  Image is /opt/IOS/c3640-js-mz.124-10.bin with no idle-pc value
  128 KB NVRAM, 0 MB disk0 size, 0 MB disk1 size
   slot 1 hardware is NM-4T with 4 interfaces
      Serial1/0 is empty
      Serial1/1 is empty
      Serial1/2 is empty
      Serial1/3 is empty
现在路由器已经有了所需要的接口,根据需要修改net文件连接路由器之间的接口。

重新通过dynagen链接net文件

查看结果:dynagen下使用命令show device

R2已经和R1的串行接口进行了连接。

 

现在可以进行配置各个路由器了。在dynagen中使用console命令:

好了,就说到这儿吧。





本文转自 tiger506 51CTO博客,原文链接:http://blog.51cto.com/tiger506/487496,如需转载请自行联系原作者

目录
相关文章
|
C# Windows
.NET开源免费的Windows快速文件搜索和应用程序启动器
今天大姚给大家分享一款.NET开源(MIT License)、免费、功能强大的Windows快速文件搜索和应用程序启动器:Flow Launcher。
347 0
|
5月前
|
C++ Windows
.NET Framework安装不成功,下载`NET Framework 3.5`文件,Microsoft Visual C++
.NET Framework常见问题及解决方案汇总,涵盖缺失组件、安装失败、错误代码等,提供多种修复方法,包括全能王DLL修复工具、微软官方运行库及命令行安装等,适用于Windows系统,解决应用程序无法运行问题。
540 3
|
6月前
|
存储 缓存
.NET 6中Startup.cs文件注入本地缓存策略与服务生命周期管理实践:AddTransient, AddScoped, AddSingleton。
记住,选择正确的服务生命周期并妥善管理它们是至关重要的,因为它们直接影响你的应用程序的性能和行为。就像一个成功的建筑工地,工具箱如果整理得当,工具选择和使用得当,工地的整体效率将会大大提高。
268 0
|
12月前
|
Linux C# Windows
.NET使用MiniWord高效生成Word文件
.NET使用MiniWord高效生成Word文件
458 12
Visual Studio 快速分析 .NET Dump 文件
【11月更文挑战第10天】.NET Dump 文件是在 .NET 应用程序崩溃或出现问题时生成的,记录了应用程序的状态,包括内存对象、线程栈和模块信息。通过分析这些文件,开发人员可以定位和解决内存泄漏、死锁等问题。在 Visual Studio 中,可以通过调试工具、内存分析工具和符号加载等功能来详细分析 Dump 文件。此外,还可以使用第三方工具如 WinDbg 进行更深入的分析。
751 1
.NET 压缩/解压文件
【9月更文挑战第5天】在 .NET 中,可利用 `System.IO.Compression` 命名空间进行文件的压缩与解压。首先引入相关命名空间,然后通过 GZipStream 类实现具体的压缩或解压功能。下面提供了压缩与解压文件的方法示例及调用方式,便于用户快速上手操作。
188 6
|
Java Windows 容器
【应用服务 App Service】快速获取DUMP文件(App Service for Windows(.NET/.NET Core))
【应用服务 App Service】快速获取DUMP文件(App Service for Windows(.NET/.NET Core))
265 4
|
C# Windows
一款基于.NET开发的简易高效的文件转换器
一款基于.NET开发的简易高效的文件转换器
133 0
|
存储 对象存储 Python
`openpyxl`是一个用于读写Excel 2010 xlsx/xlsm/xltx/xltm文件的Python库。它不需要Microsoft Excel,也不需要.NET或COM组件。
`openpyxl`是一个用于读写Excel 2010 xlsx/xlsm/xltx/xltm文件的Python库。它不需要Microsoft Excel,也不需要.NET或COM组件。
|
算法 API 数据安全/隐私保护
.NET使用原生方法实现文件压缩和解压
.NET使用原生方法实现文件压缩和解压
155 0
.NET使用原生方法实现文件压缩和解压