Dynamips 模拟设备与host通讯的困惑

问题: 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 配置文件:
autostart = False

[localhost]
        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
 
启动模拟设备R1,配置f0/0的IP地址:
interface FastEthernet0/0
ip address 192.168.100.2 255.255.255.0
speed 100
full-duplex

......

!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.100.1
no ip http server
 
完成。
 
 

你可能感兴趣的:(职场,休闲,dynamips)