+ Reply to Thread
Results 1 to 5 of 5

Thread: Kết nối dynamips và pemu

  1. #1
    Join Date
    Jan 2008
    Posts
    21

    Default Kết nối dynamips và pemu

    Xin hởi mình đã kết nối dynamips và pemu đúng như hướng dẫn trên forum http://www.vnpro.org/forum/archive/i...p?t-12494.html, và cũng dùng mô hình như vậy, nhưng mìh không thể ping được giao diện inside của Pix từ R2, không biết là do cấu hình Pix sai hay cấu hình file net của dynamip.
    Các bạn giúp mình với

  2. #2
    Join Date
    Jan 2007
    Location
    hcmC
    Posts
    3,256

    Default

    Chào !!!
    Hiện GNS3 đã giả lập được PIX, bạn xem hướng dẫn về GNS 3 tại đây :http://www.vnpro.org/forum/showthread.php?t=16328

    Chúc bạn vui !!!
    Trần Mỹ Phúc
    tranmyphuc@networkselfstudy.com
    Hãy add nick để có thông tin đề thi mới nhất :tranmyphuc (Hỗ trợ tối đa cho các bạn tự học)

    Cisco Certs : CCNP (Passed TSHOOT 1000/1000)

    Juniper Certs : JNCIA-ER (100%) , JNCIA-EX (100%) , JNCIS-ENT (100%) , JNCIS-SEC (100%), JNCIP-ENT

    INSTRUCTORS (No Fee) : CISCO (Professional) , JUNIPER (Professional) , Microsoft ...

    [version 4.0] Ôn tập CCNA



  3. #3
    Join Date
    Apr 2006
    Posts
    1,596

    Default

    Quote Originally Posted by lemo View Post
    Xin hởi mình đã kết nối dynamips và pemu đúng như hướng dẫn trên forum http://www.vnpro.org/forum/archive/i...p?t-12494.html, và cũng dùng mô hình như vậy, nhưng mìh không thể ping được giao diện inside của Pix từ R2, không biết là do cấu hình Pix sai hay cấu hình file net của dynamip.
    Các bạn giúp mình với
    hi lemo,

    bạn xem thêm ở đoạn này nhé:

    PIX Emulation
    PIX emulation was added with Dynagen 0.11.0, thanks to the PEMU emulator by Milen Svobodnikov, and Pemuwrapper by Thomas Pani. To add a firewall to your lab, first you must launch the Pemu Server. On Windows, use the “Pemu Server” shortcut on the desktop and in the Start menu. On Linux, use the “pemu-start.sh” script.

    In your network file, define the connection to the pemu server and the firewall as shown here:

    [localhost]

    [[7200]]
    image = \Program Files\Dynamips\images\C7200-jk9s-mz.124-12.bin
    ram = 160
    npe = npe-400

    [[router R1]]
    e1/0 = FW1 e0

    [pemu localhost]

    [[525]]
    image = \Program Files\Dynamips\images\pix802.bin
    serial = 0x12345678
    key = 0x00000000,0x00000000,0x00000000,0x00000000

    [[fw FW1]]

    This .net file specifies the Pemuwrapper instance as running on “localhost”. It could be running also on another computer, creating a distributed lab. Then, specify the 525 section (signifying the PIX 525 that PEMU emulates) and set the defaults that will apply to all firewall instances on this PEMU server. Here you can set the “image”, ”key”, ”serial” and “ram” options. The [FW1] line creates the PIX 525 instance; whose Ethernet0 interface is connected to R1’s e1/0 interface (specified in router R1’s config).

    This run the lab and you can list PEMU instances using the 'list' command:

    => list

    Name Type State Server Console

    R1 7200 stopped localhost:7200 2000

    FW1 525 stopped localhost:10525 4000

    PEMU firewalls can be stopped, started, reloaded, and of course you can attach to the console just like a virtual router. However, the following commands are not supported on PEMU firewalls:

    import / export
    suspend / resume
    capture / filter (on firewall interfaces. You can instead capture on the “dynamips” side of the connection)
    cpuinfo
    copy / push

    The following caveats apply to PEMU:

    Currently, PEMU server only runs on Windows and Linux hosts (not OS X,). However Dynagen running on any platform can be used to communicate with a PEMU server running on a Linux or Windows host.
    There is no concept of “idlepc” for PEMU; each PEMU device will consume 100% of a core. However the process does run at a low priority. You can choose to limit CPU consumption with a 3rd party tool like BES (on Windows) or cpulimit on Windows.
    Dynagen does not currently support connecting PIX interfaces to NIOs (for example “e1 = NIO_gen_eth:eth0”). To get around this, bridge the connection with a virtual Ethernet switch like so:

    [localhost]

    [[ethsw sw1]]
    1 = access 1
    2 = access 1 NIO_gen_eth:eth0

    [pemu localhost]

    e1 = sw1 1

    See the “pix” sample lab (in the sample_labs directory) for a more detailed example of utilizing emulated PIX firewalls in your labs.
    (full help: http://dynagen.org/tutorial.htm#_Toc193248006)
    Cisco resources for the exam

    no car...no house...no money, but have only a sharing and friendly heart. What's the most important thing in this life "Heart or Money ?". Anything else can stead money ?



    Nothing last forever...

  4. #4
    Join Date
    Jan 2008
    Posts
    21

    Default

    Cảm ơn các bạn, mình sẽ thử cả hai cách này
    thanks

  5. #5
    Join Date
    Jan 2007
    Location
    hcmC
    Posts
    3,256

    Default

    Dynamips has changed the network world and it helped many network fans to obtain the network labs without paying any fee. The new simulator PEMU makes the security lab available on your computer.
    Following the name last time, just call it
    PEMU 10 Steps for Dummies
    by CiscoSpot
    Any distribution is welcome, please feel free to contact net@netap.com
    1. Download PEMU and decompress it to any folder.
    2. Copy PIX OS to the same folder with PEMU.
    3. Change the image in pemu.ini file, take pix802.bin for example.

    4. Create one .bat file and edit it with the following contents. It’s in ONE line.
    Pemu -net nic,vlan=1,macaddr=00:00:0c:00:00:01 -net udp,vlan=1,sport=8000,dport=9000,daddr=127.0.0.1 -net nic,vlan=2,macaddr=00:00:0c:00:00:02 -net udp,vlan=2,sport=8001,dport=9001,daddr=127.0.0.1 -net nic,vlan=3,macaddr=00:00:0c:00:00:03 -net udp,vlan=3,sport=8002,dport=9002,daddr=127.0.0.1 -serial telnet::4444,server -m 128 FLASH
    5. Make a copy of FLASH.empty and change the name to FLASH.
    6. Run the .bat file that created.
    7. Telnet to 127.0.0.1 4444. If any problem occurred when decompressing the image, you have one option that you change the pix.bin to pix.rar and decompress then get the file pix. Copy it to the PEMU folder and change the pemu.ini to map to this image, “image=pix”.
    8. The CPU utilization will be 100%, and there is no tool integrated in PEMU. Download BES and run it to control the CPU utilization.

    9. Change your dynagen .net file as follows. If you’re not familiar with Dynamips, please see the post “Dynamips 10 Steps for Dummies” in this blog.
    [[2610XM]]
    idlepc = 0×803f4b40
    image = F:\EMU\pemu\routers\c2600-is-mz.122-32.bin
    ram = 64
    [[ROUTER R1]]
    f0/0 = NIO_udp:9000:127.0.0.1:8000
    [[ROUTER R2]]
    f0/0 = NIO_udp:9001:127.0.0.1:8001
    [[ROUTER R3]]
    f0/0 = NIO_udp:9002:127.0.0.1:8002
    10. Now the PIX can communicate with the routers you configured and the result is,
    Trần Mỹ Phúc
    tranmyphuc@networkselfstudy.com
    Hãy add nick để có thông tin đề thi mới nhất :tranmyphuc (Hỗ trợ tối đa cho các bạn tự học)

    Cisco Certs : CCNP (Passed TSHOOT 1000/1000)

    Juniper Certs : JNCIA-ER (100%) , JNCIA-EX (100%) , JNCIS-ENT (100%) , JNCIS-SEC (100%), JNCIP-ENT

    INSTRUCTORS (No Fee) : CISCO (Professional) , JUNIPER (Professional) , Microsoft ...

    [version 4.0] Ôn tập CCNA



+ Reply to Thread

Similar Threads

  1. Sử dụng Dynamips như thế nào ?
    By kalenko in forum Các phần mềm mô phỏng - Simulator
    Replies: 9
    Last Post: 16-11-2008, 12:15 AM
  2. config EoMPLS with Dynamips
    By chitchat in forum Metro, MPLS, Optical Networking, Storage Networking
    Replies: 2
    Last Post: 24-09-2008, 06:05 PM
  3. Lỗi Dynamips
    By htvicky in forum Các phần mềm mô phỏng - Simulator
    Replies: 2
    Last Post: 24-09-2008, 10:14 AM
  4. Nối mạng router Dynamips và máy ảo
    By cuibapcaca in forum Các phần mềm mô phỏng - Simulator
    Replies: 0
    Last Post: 31-07-2008, 12:24 PM
  5. [ Hỏi ] giả lập Switch trên Dynamips
    By cntt1986 in forum SWITCH / BCMSN
    Replies: 1
    Last Post: 10-06-2008, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
 
   TRUNG TÂM TIN HỌC VNPRO
149/1D Ung Văn Khiêm, P. 25, Q.Bình Thạnh
Phone:(08) 35124257
Fax: (08) 35124314
Email: vnpro@vnpro.org
Powered by vBulletin Version 4.1.9
Copyright 2000 - 2011, Jelsoft Enterprises Ltd.
License owned by : VietProfessional Co.,Ltd