가상 라우터 에뮬레이터 다이나밉스(Dynamips)
Dynamips 셋업파일
WinPcap 셋업파일 - dYNAMIC 실행시 필요.
Dynamips용 7200 라우터 이미지
Dynamips용 3640 라우터 이미지
기본 설정 메뉴얼
아무리 생각해도 이 프로그램은 짱인듯 합니다. ㅎㅎㅎ
컴터 두 대를 이용하면 F/R 환경도 자유롭게 구성 할 수 있는.. 물론 혼자서도 되지만. 아날라이져를 사이에 끼워서 가지고 놀려니 역시 두대는 되어야 제 맛이죠
집에서 실제 라우터 한 10대쯤 있었으면 얼마나 좋을까요 (/한숨 /먼산)
아 덤으로 L3 스위치도 ㅎㅎㅎ
기본적인 설치 및 셋팅은 첨부된 pdf 파일을 참조하면 아주 쉽게 설정이 가능할 것으로 생각됩니다. 아니면 별 도리가.... 응?
라우터 이미지 파일은 압축을 푸셔서 [기본경로 기준] C:\Program Files\Dynamips\images 에 넣어주시면 됩니다.
또한 idlepc값은 반드시 지정하시거나 아닌 경우엔 Dynagen 창에서 [ idlepc get 라우터명+ ] 으로 찾아서 지정해주시면 됩니다. 이 설정을 하지 않을 시 cpu가 힘들어 합니다. ^^
라우터 구동 후 Dynagen 창에서 [ telnet 라우터명 ] 으로 해당 라우터로 접근 하실 수 있습니다.
기본값은 윈도우 telnet 입니다. SecureCRT 나 putty 를 기본으로 사용하시려면 설치폴더의 dynagen.ini 파일에서
# Uncomment below for Windows
telnet = start telnet %h %p <- 이 라인 앞에 #을 붙혀 주석처리 하시고
# Or better yet for Terra Term SSH users:
# telnet = C:\progra~1\TTERMPRO\ttssh.exe %h %p /W=%d /T=1
# For PuTTY users:
# telnet = start C:\progra~1\PuTTY\putty.exe -telnet %h %p <- 여기나 아래에서 #을 제거하고 경로를 설정하시면 됩니다.
# For SecureCRT
# telnet = start C:\progra~1\vandyk~1\SecureCRT\SecureCRT.EXE /script c:\progra~1\dynamips\securecrt.vbs /arg %d /T /telnet %h %p
또한 NM-16ESW 모듈을 사용해서 스위치를 흉내낼 수 도 있습니다. 해당 설정에 대한 부분은 http://ttongfly.net/zbxe/?document_srl=184328 참조하세요.
-------------------------------------------------------------------------------------------------------------
아래는 각 라우터 이미지 별로 지원하는 모듈입니다.
라우터 설정파일에서 지정해주시면 해당 모듈을 쓸 수 있습니다.
[[Router SW1]]
model = 3660
slot1 = NM-16ESW <- 이런식으로 ^^
Current Hardware supported by dynamips
7200 (7206 only)
Chassis type:
- STD
- VXR
NPE:
- npe-100
- npe-150
- npe-175
- npe-200
- npe-225
- npe-300
- npe-400
- npe-g1
- npe-g2
Cards:
- C7200-IO-FE (FastEthernet, slot 0 only)
- C7200-IO-2FE (FastEthernet, 2 ports, slot 0 only)
- C7200-IO-GE (GigabitEthernet, slot 0 only)
- PA-FE-TX (FastEthernet)
- PA-2FE-TX (FastEthernet, 2 ports)
- PA-4E (Ethernet, 4 ports)
- PA-8E (Ethernet, 8 ports)
- PA-4T+ (Serial, 4 ports)
- PA-8T (Serial, 8 ports)
- PA-A1 (ATM)
- PA-POS-OC3 (POS)
- PA-GE (GigabitEthernet)
===========
3660
3640
3620
Cards:
- NM-1E (Ethernet, 1 port)
- NM-4E (Ethernet, 4 ports)
- NM-1FE-TX (FastEthernet, 1 port)
- NM-16ESW (Ethernet switch module, 16 ports)
- NM-4T (Serial, 4 ports)
- Leopard-2FE (Cisco 3660 FastEthernet in slot 0, automatically used)
===========
2691
3725
3745
Cards:
- NM-1FE-TX (FastEthernet, 1 port)
- NM-4T (Serial, 4 ports)
- NM-16ESW (Ethernet switch module, 16 ports)
- GT96100-FE (2 integrated ports, automatically used)
===========
2610
2611
2620
2621
2610XM
2620XM
2621XM
2650XM
2651XM
Cards:
- NM-1E (Ethernet, 1 port)
- NM-4E (Ethernet, 4 ports)
- NM-1FE-TX (FastEthernet, 1 port)
- NM-16ESW (Ethernet switch module, 16 ports)
-------------------------------------------------------------------------------------------------------------
아래는 Dynagen network 파일(확장자가 .net 입니다)의 설정 가이드 입니다. 설정 전 찬찬히 읽어보시면 쉬울 듯 합니다.
# Examples of all Dynagen network file options
autostart = true # Should all devices be automatically started? true or false, defaults to true. Can be overridden on a per device basis
debug = 0 # Debug output level. Higher numbers produce increasing levels of verbosity. 0 means none (the default). 1 is the same as the -d command line switch
model = 7200 # Set the default router model for all routers in this lab. Current options are 2610, 2611, 2620, 2621, 2610XM, 2620XM, 2621XM, 2650XM, 2651XM, 2691, 3620, 3640, 3660, 3725, 3745, or 7200
ghostios = false # Enable or disable IOS ghosting globally for this lab. Can be overridden at the device defaults sections, or the device sections. Defaults to False.
ghostsize = 128 # Manually tweak the amount of virtual ram allocated by the ghost image(s). Use of this option should never be necessary, because the ghost size is now automatically calculated.
sparsemem = false # Enable or disable sparse memory support globally for this lab
idlemax = 1500 # Advanced manipulation of idlepc. Applies to all devices in this network.
idlesleep = 30 # Advanced manipulation of idlepc. Applies to all devices in this network.
oldidle = false # Setting this to true allows you to use pre-0.2.7-RC2 idlepc values. This disables direct jumps between JIT blocks (new to 0.2.7 RC2)
# Each DYNAMIPS section sepecifies a dynamips server and the devices it hosts
[bender:7200] # The hostname or IP address of a Dynamips server, and the control port. If you do not specify the port it defaults to 7200
port = 7200 # "Old style" method for specifying the control port. Optional, defaults to 7200
console = 2000 # Base console port. New instances that do not specify a console port will default to this + the intance number. Defaults to 2000
workingdir = /home/labs/test lab 1 # Set the directory where Dynamips will store all the device files for this network. This is the fully qualified path relative to the system running dynamips.
udp = 10000 # Set the base UDP port for NIOs
# Note that you can not use ghostios, ghostsize, sparsemem, idlemax, idlesleep, model, autostart, or oldidle options in this section. They will have no effect!
# The 7200 section specifies defaults for all 7200 routers on this Dynamips server. Everything in this
# section is optional, and defaults to whatever the default is in Dynamips
[[7200]]
image = /opt/7200-images/c7200-ik9o3s-mz.122-15.T17.image # Full path to 7200 IOS image file. This is the fully qualified path relative to the system running dynamips.
ram = 256 # Amount of Virtual RAM to allocate to each router instance.
nvram = 128 # Size of NVRAM
disk0 = 64 # Set size of PCMCIA ATA disk0
disk1 = 64 # Set size of PCMCIA ATA disk1
cnfg = None # Configuration file to import. This is the fully qualified path relative to the system running dynamips.
confreg = 0x2102 # Set the configuration register
clock = 2 # Clock divisor (should no longer been needed as of dynamips 0.2.5 RC1)
npe = npe-200 # NPE type.("npe-100", "npe-150", "npe-175", "npe-200", "npe-225", "npe-300", "npe-400", or "npe-g2")
midplane = vxr # Midplane, either "std" or "vxr"
mmap = true # Set to false to use real memory rather than a disk file for router vitural memory. Conserves RAM at the expense of performance. Defaults to True
idlepc = 0x60719b98 # Set the Idle PC value
exec_area = 64 # Set the exec area size
configuration = ... # Base 64 encoded IOS configuration.
ghostios = false # Enable or disable IOS ghosting for all 7200s on this server
ghostsize = 128 # Manually tweak the amount of virtual ram allocated by the ghost image(s) for all 7200s on this server. Use of this option should never be necessary, because the ghost size is now automatically calculated.
sparsemem = false # Enable or disable sparse memory support for all 7200s on this server
idlemax = 1500 # Advanced manipulation of idlepc. Applies to all 7200s on this server.
idlesleep = 30 # Advanced manipulation of idlepc. Applies to all 7200s on this server.
# The 3620 section specifies defaults for all 3620 routers on this Dynamips server. Just like with the 7200 section,
# Everything is optional, and defaults to whatever the default is in Dynamips
[[3620]]
image = /opt/3620-images/c3620-io3-mz.123-20.image # Full path to 3600 IOS image file. This is the fully qualified path relative to the system running dynamips.
ram = 128 # Amount of Virtual RAM to allocate to each router instance.
rom = 4 # Size of ROM
nvram = 128 # Size of NVRAM
disk0 = 64 # Set size of PCMCIA ATA disk0
disk1 = 64 # Set size of PCMCIA ATA disk1
iomem = 5 # Percentage of router RAM to allocate for iomem. Only applies to 3600 class routers.
cnfg = None # Configuration file to import. This is the fully qualified path relative to the system running dynamips.
confreg = 0x2102 # Set the configuration register
clock = 2 # Clock divisor (should no longer be used as of dynamips 0.2.5 RC1)
mmap = true # Set to false to use real memory rather than a disk file for router vitural memory. Conserves RAM at the expense of performance. Defaults to True
idlepc = 0x60719b98 # Set the Idle PC value
exec_area = 64 # Set the exec area size
configuration = .... # Base 64 encoded IOS configuration.
ghostios = false # Enable or disable IOS ghosting for all 3620s on this server
ghostsize = 128 # Manually tweak the amount of virtual ram allocated by the ghost image(s) for all 3620s on this server. Use of this option should never be necessary, because the ghost size is now automatically calculated.
sparsemem = false # Enable or disable sparse memory support for all 7200s on this server
idlemax = 1500 # Advanced manipulation of idlepc. Applies to all 7200s on this server.
idlesleep = 30 # Advanced manipulation of idlepc. Applies to all 7200s on this server.
[[3640]]
# All the same options as in the 3620 section
[[3660]]
# Defaults for 3660s. All the same options as the 3620 and 3640 sections.
[[2691]]
# Same options as the 3600s, except for iomem.
[[3725]]
# same as 2961
[[3745]]
# same as 3725
[[2610]]
# Defaults for 2610s. Can also specify defaults for 2611, 2620, 2621, 2610XM, 2620XM, 2621XM, 2650XM, 2651XM using appropriately named sections
[[1710]]
# Defaults for 1710s. Can also specify defaults for 1720, 1721, 1750, 1751, and 1760.
# Each ROUTER section defines a router and it's connections. All keywords are optional
[[ROUTER R1]] # Must supply a unique name
model = 7200 # 2691, 3620, 3640, 3660, 3725, 3745, or 7200. Defaults to 7200, unless overridden at the top level
console = 2000 # Console port. Defaults to the server's base console port (specified in the server section) + instance number
aux = 3000 # Aux port, defaults to none
mac = 12:34:56:78:90:AB # The base MAC address. Default is autogenerated
# All options from the 7200/36xx sections are options here as well, except for ghostios and ghostsize. autostart can be specified here as well.
# Manual PA or network module specification. This is optional, and if not done dynagen will make sane decisions based on the interface specifications.
slot0 = PA-C7200-IO-FE # Ethernet in slot 0. Use "Leopard-2FE" for slot 0 on 3660s. 2961/3725/3745 already have an integrated 2FE in slot 0 automatically. slot0 assignments on these routers are ignored.
# Note the prefix "PA-" for the IO adapters is optional.
#slot0 = PA-C7200-IO-2FE # PA-C7200-IO-2FE in slot0
#slot0 = PA-C7200-IO-GE-E # PA-C7200-IO-GE-E
slot1 = PA-FE-TX # Ethernet in slot 1
slot3 = PA-4T # PA-4T+ in slot 3
slot6 = PA-4E # PA-4E in slot 6
#slotx = PA-POS-OC3 # PA-POS-OC3 in slot x
#slotx = PA-2FE-TX # PA-2FE-TX in slot x
#slotx = PA-GE # PA-GE in slot x
# For routers that provide WIC slots (like the 2600 MBs) manual WIC specification
wic0/1 = WIC-1T # Insert a WIC-1T in slot 0 wic slot 1
# Interface specification. Can take the following forms:
f1/0 = R2 f1/0 # Connect to f1/0 on device R2
f2/0 = LAN 1 # Connect to bridged LAN 1
s3/0 = R2 s3/0 # Connect to s3/0 on device R2
s3/1 = F1 1 # Connect to port 1 on device "F1" (a frame relay switch)
s3/2 = F2 1
a4/0 = A1 1 # Connect to port 1 on device "A1" (an ATM switch)
f5/0 = NIO_linux_eth:eth0 # manually specify an NIO
[[ROUTER R2]]
model = 3660
# Interface f1/0 will automatically be created because the interface was referenced in R1's config
f2/0 = LAN 1 # Connect to bridged LAN 1
s3/0 = F1 2
s3/1 = F2 2
s3/2 = F1 3
slot5 = NM-1E # NM-1E in slot 5
[[router R3]] # Case is not significant
# Examples of other manually specified NIOs
f1/0 = NIO_gen_eth:\Device\NPF_{B00A38DD-F10B-43B4-99F4-B4A078484487}
f2/0 = NIO_udp:10000:127.0.0.1:10001
f3/0 = NIO_tap:tap0
f4/0 = NIO_unix:/tmp/local:/tmp/remote
f5/0 = NIO_vde:foo:bar
# Each FRSW section defines a frame relay switch. All keywords are optional
[[FRSW F1]] # Must supply a unique name
1:102 = 2:201 # Tell the FRSW to switch from port 1, DLCI 102 to port 2, DLCI 201.
1:103 = 3:301 # and from port 1, DLCI 103 to port 3, DLCI 301
[[FRSW F2]]
1:102 = 2:201
# Define an ATM Switch
[[ATMSW A1]]
1:10 = 2:20 # Port 1, vpi 10 to port 2, vpi 20
#1:10:200 = 2:20:100 # Port 1, vpi 10, vci 200 to port 2, vpi 20, vci 100
# Define an Ethernet Switch
[[ETHSW S1]]
1 = access 1 # Port 1 is an access port in vlan 1
2 = access 20 # Port 2 is an access port in vlan 20
3 = dot1q 1 # Port 3 is a trunk port (dot1q encapsulation) with naitive vlan 1
4 = dot1q 1 NIO_gen_eth:eth0 # Port 4 is trunk port (naitive vlan 1) that is connected to the host eth0 via the gen_eth NIO
#4 = dot1q 1 NIO_gen_eth:\Device\NPF_{B00A38DD-F10B-43B4-99F4-B4A078484487} # Same as above, Windows example
'맘에 드는 프로그램들' 카테고리의 다른 글
| CoreAVC Professional Edition v1.9.5 (2) | 2009/05/30 |
|---|---|
| FastStone Image Viewer 3.9 (0) | 2009/05/17 |
| 가상 라우터 에뮬레이터 다이나밉스(Dynamips) (0) | 2009/04/15 |
| CJuke (3) | 2009/03/26 |
| FastStone Image Viewer 3.7 (0) | 2009/03/19 |
| 통합 메신져 Pigdin 2.5.5 (6) | 2009/03/18 |
dynagen-0.11.0_win_setup.exe
c7200a.part01.rar
dynamips 기본 설정방법.pdf

