天天看點

GNS3報錯,206-unable to create UDP NIO,208-unable to find object 'ASW1'

對GNS3不是太熟今天遇到個報錯,

拓撲是鴻鹄下的NP 832排錯的拓撲:

http://bbs.hh010.com/thread-344825-1-1.html

打開832forgns.net時候報錯206,

導入配置檔案夾也是報錯208

GNS3從0.8.7換到0.8.6也不行

看樣子不是版本的問題。

報錯如下

#########################################################

GNS3 management console. Running GNS3 version 0.8.6.

Copyright (c) 2006-2013 GNS3 Project.

=> *** Warning:  Connecting ASW1 f1/9 to DSW1 f1/9 resulted in:

206-unable to create UDP NIO

*** Warning:  Connecting ASW1 f1/10 to DSW1 f1/10 resulted in:

*** Error: errors during loading of the topology file, please correct them

導入ASW1 從 ASW1.cfg

Dynamips錯誤: 208-unable to find object 'ASW1'

導入ASW2 從 ASW2.cfg

Dynamips錯誤: 208-unable to find object 'ASW2'

導入DSW1 從 DSW1.cfg

Dynamips錯誤: 208-unable to find object 'DSW1'

導入DSW2 從 DSW2.cfg

Dynamips錯誤: 208-unable to find object 'DSW2'

導入ISP 從 ISP.cfg

Dynamips錯誤: 208-unable to find object 'ISP'

導入R1 從 R1.cfg

Dynamips錯誤: 208-unable to find object 'R1'

導入R2 從 R2.cfg

Dynamips錯誤: 208-unable to find object 'R2'

導入R3 從 R3.cfg

Dynamips錯誤: 208-unable to find object 'R3'

導入R4 從 R4.cfg

Dynamips錯誤: 208-unable to find object 'R4'

---------Traceback lines (saved in exception.log)----------

Traceback (most recent call last):

  File "GNS3\Scene.pyo", line 725, in slotStartNode

  File "GNS3\Node\IOSRouter.pyo", line 608, in startNode

  File "GNS3\Dynagen\dynamips_lib.pyo", line 2347, in start

  File "GNS3\Dynagen\dynamips_lib.pyo", line 4998, in send

DynamipsError: 208-unable to find object 'DSW2'

-----------------------------------------------------------

百度啥也查不到,

谷歌能在國外網站找到發生同樣問題的朋友,

但是說的不是太詳細。

這個問題是這樣

如果打開net拓撲就報錯206,

根據我的實踐導入配置一定失敗208.

208報錯的字面了解是找不到對象ASW1,

給人的感覺是好像導入拓撲時候這個對象就沒被導入。

是以才找不到嘛,這個I'm not sure, 

但是GNS3的界面上是能看見這些裝置的圖示的。

由于是先報206錯誤,

是以要先解決206報錯,

字面了解是不能建立udp NIO,

我也不知道NIO是啥,

總之就是ASW1這個裝置不能建立udp。

然後用notepad打開net拓撲找到這個裝置,

看它使用的udp是什麼端口,

和其他裝置使用的udp端口是否有沖突,

如果有給它改個别的無沖突的端口。

我的net拓撲

autostart = False

version = 0.8.6

[127.0.0.1:7202]

    workingdir = C:\Users\xingxing\AppData\Local\Temp

    udp = 10000

    `7200`

        p_w_picpath = D:\CISCO\IOS\c7200-adventerprisek9.124-9.T.p_w_picpath

        idlepc = 0x606f8fec

    `ROUTER R1`

        console = 5008

        aux = 2100

        cnfg = 123_configs\R1.cfg

        slot0 = C7200-IO-2FE

        slot1 = PA-8T

        s1/0 = FR 4

        s1/1 = ISP s1/0

        x = -422.0

        y = -438.0

        z = 1.0

    `ROUTER R2`

        console = 5007

        aux = 2101

        cnfg = 123_configs\R2.cfg

        s1/0 = FR 3

        x = -254.0

        y = -414.0

[127.0.0.1:7203]

    udp = 10300

    `ROUTER ISP`

        console = 5009

        aux = 2102

        cnfg = 123_configs\ISP.cfg

        f0/0 = NIO_udp:30003:127.0.0.1:20003

        s1/0 = R1 s1/1

        x = -654.0

        y = -421.0

[127.0.0.1:7200]

    udp = 11000   # <---這裡原來是10000和前面的沖突了我改為了11000。

    `3640`

        p_w_picpath = D:\CISCO\IOS\unzip-c3640-ik9o3s-mz.124-10.bin

……

仔細看上面的拓撲配置紅字部分7200、7201、7202還有udp=10000

似乎和GNS3首選項裡的這幾個配置的端口有些關系懶得仔細研究了。

GNS3報錯,206-unable to create UDP NIO,208-unable to find object 'ASW1'