Netemu 虚拟化先锋 's Archiver

xseah 发表于 2008-6-2 12:40

如何在分布式环境中将VPCs集成到.net文件中???

如何在分布式环境中将VPCs集成到.net文件中???
以EduRainbow Virtual Lab Switching version环境为范本,重新部署为分布式环境,dynamips运行在一台win2003上,dynagen放在了一台WinXP上,现想将VPCs集成到.net文件中。VPCs的startup.vpc设置为:
# The startup file of VPC
#
1
ip 192.168.1.1 192.168.1.254 24
2
ip 192.168.1.2 192.168.1.254 24
3
ip 192.168.1.3 192.168.1.254 24
4
ip 192.168.1.4 192.168.1.254 24
5
ip 192.168.1.5 192.168.1.254 24
6
ip 192.168.1.6 192.168.1.254 24
# switch to PC1
1

.net文件的部分设置:
[[router SW1]]
    image = D:\dy6pre2sw\ios\unzip-c3640-js-mz.124-10.bin
    model = 3640
    console = 3003
    ram = 96
    confreg = 0x2142
    idlepc = 0x604eaf94
    exec_area = 64
    mmap = false
    slot1 = NM-16ESW
    f1/1 = SW2 f1/2
    f1/2 = SW2 f1/1
    f1/3 = SW3 f1/1
    #  f1/11 = PC1 f0/0
    #  f1/12 = PC2 f0/0
    #  f1/13 = PC3 f0/0
       f1/11 = NIO_udp:30000:127.0.0.1:20000  #xseah-add---->对应VPC1
       f1/12 = NIO_udp:30001:127.0.0.1:20001  #xseah-add---->对应VPC2
       f1/13 = NIO_udp:30002:127.0.0.1:20002  #xseah-add---->对应VPC3
在这种设置下,启动SW1后,将VPCs放置在运行dynagen的WinXP的机器上,在VPCs下的VPCs1中ping VPCs2不通???

将桥接设置作更改,将VPCs放置运行dynamips的win2003上,其中192.192.192.5是运行dynamips的Win2003的物理网卡ip。
       f1/11 = NIO_udp:30000:192.192.192.5:20000  #xseah-add---->对应VPC1
       f1/12 = NIO_udp:30001:192.192.192.5:20001  #xseah-add---->对应VPC2
       f1/13 = NIO_udp:30002:192.192.192.5:20002  #xseah-add---->对应VPC3
在VPCs下的VPCs1中ping VPCs2还是不通???
问题出现在哪儿,网请见教~

页: [1]

Powered by Discuz! Archiver 7.0.0  © 2001-2009 Comsenz Inc.