科技行者

行者学院 转型私董会 科技行者专题报道 网红大战科技行者

知识库

知识库 安全导航

至顶网软件频道应用软件Dynamips 模拟设备与host通讯1

Dynamips 模拟设备与host通讯1

  • 扫一扫
    分享文章到微信

  • 扫一扫
    关注官方公众号
    至顶头条

Dynamips 模拟设备与host通讯

作者:ddvip 来源:ddvip 2009年12月31日

关键字: 思科 路由器

  • 评论
  • 分享微博
  • 分享邮件

Dynamips 模拟设备与host通讯1

 

问题: Dynamips 模拟设备不能与host主机通讯,但能与host网络中其他设备通讯

   软件版本:

   dynagen 0.10.1.090807

   dynamips version(s):   localhost: 0.2.8-RC2-x86

   host操作系统: Windows 2003 server

   模拟设备:Cisco c3660 Software (C3660-JS56I-M), Version 12.1(2)T

   WinPcap:4.0.2

   解决方法:

   在host主机中添加loopback interface.

   操作方法:

   开始-->控制面板-->添加硬件-->下一步-->选择“是,我已连接到设备”,下一步-->选择“添加一个新的硬件设备”,下一步-->选择“高级”,下一步-->选择“network adapters”,下一步-->选择Microsoft, Microsoft Loopback Adapter,下一步-->完成

   安装完成后,给新加的网卡配置IP地址192.168.100.1,网关192.168.100.1。

   实际的网络连接1的IP地址是192.168.66.181。

   Dynamips 配置文件:

 port = 7200
        udp = 10000
        workingdir = ..\tmp\

        [[3660]]
                idlepc = 0x60393fb8

        [[router R1]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8001
                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 1
                s1/1 = R2 s1/0
                s1/2 = FR1 1

        [[router R2]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8002
                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 2
                s1/1 = R3 s1/0
                s1/2 = FR1 2

        [[router R3]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8003

                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 3
                s1/1 = R4 s1/0
                s1/2 = FR1 3

        [[router R4]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8004

                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 4
                s1/1 = R5 s1/0
                s1/2 = FR1 4

        [[router R5]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8005

                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 5
                s1/1 = R6 s1/0
                s1/2 = FR1 5

        [[router R6]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8006

                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 6
                s1/1 = R7 s1/0
                s1/2 = FR1 6

        [[router R7]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8007

                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 7
                s1/1 = R8 s1/0
                s1/2 = FR1 7

        [[router R8]]
                image = ..\IOS\C3660-JS.BIN
                model = 3660
                console = 8008
                ram = 96
                confreg = 0x2102
                exec_area = 64
                mmap = False
                slot0 = Leopard-2FE
                slot1 = NM-4T
  slot2 = NM-4T
                f0/0 = SW1 8
                s1/2 = FR1 8


        [[ethsw SW1]]
                1 = dot1q 1
                2 = dot1q 1
                3 = dot1q 1
                4 = dot1q 1
                5 = dot1q 1
                6 = dot1q 1
                7 = dot1q 1
                8 = dot1q 1
                9 = access 1 NIO_gen_eth:\Device\NPF_{DE72E504-098D-4D8C-95CB-DA6F4CF1316E}

        [[FRSW FR1]]
                1:102 = 2:201
                1:103 = 3:301
                1:104 = 4:401
                1:105 = 5:501
                1:106 = 6:601
                1:107 = 7:701
                1:108 = 8:801
                2:203 = 3:302
                2:204 = 4:402
                2:205 = 5:502
                2:206 = 6:602
                2:207 = 7:702
                2:208 = 8:802

    • 评论
    • 分享微博
    • 分享邮件
    邮件订阅

    如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。

    重磅专题
    往期文章
    最新文章