My basic pemu – dynamips setup
Monday, September 17th, 2007 | Pemu

My basic pemu – dynamips setupBasic setup I use for PEMU on windows:
I use MS Loopback adapter (pemu1) and new pemu_public_win_2007-07-15. I also have a second MS Loopback adapter for tftp server, the tftp server assumes IPadd of last MS Loopback created:
[pemu1 - loopback pemu1]
pemu -net nic,vlan=1,macaddr=00:00:00:00:00:01 -net udp,vlan=1,sport=3001,dport=3000,daddr=30.30.30.30 -net nic,vlan=2,macaddr=00:00:00:00:00:02 -net udp,vlan=2,sport=3003,dport=3002,daddr=30.30.30.30 -net nic,vlan=3,macaddr=00:00:00:00:00:03 -net udp,vlan=3,sport=3005,dport=3004,daddr=30.30.30.30 -net nic,vlan=4,macaddr=00:00:00:00:00:04 -net udp,vlan=4,sport=3007,dport=3006,daddr=30.30.30.30 -serial telnet::4444,server,nowait -m 128 FLASH
Loopback-pemu:
NIO_udp:3000:30.30.30.30:3001 #Pix eth0 100.100.100.50
NIO_udp:3002:30.30.30.30:3003 #Pix eth1 30.30.30.50
NIO_udp:3004:30.30.30.30:3005 #Pix eth2 20.20.20.50
NIO_udp:3006:30.30.30.30:3007 #Pix eth3 10.10.10.50
IF YOU ARE GOING TO RUN A SECOND PEMU FOR ANOTHER PIX THEN THIS MS LOOPBACK ADAPTER FOR TFTP/CLIENT WOULD BE CREATED LAST!!!
#Loopback for tftp server-ipadd 30.30.30.75
NIO_gen_eth:\Device\NPF_{CDFF14A9-BC35-46F2-84CE-C7148D803BC7}
My SECOND instance of pemu for PIX 2 is a second folder of the new pemu_public_win_2007-07-15 with MS Loopback adapter:
pemu2 – loopback pemu2
pemu -net nic,vlan=1,macaddr=00:00:00:00:00:05 -net udp,vlan=1,sport=3011,dport=3010,daddr=30.30.30.31 -net nic,vlan=2,macaddr=00:00:00:00:00:06 -net udp,vlan=2,sport=3013,dport=3012,daddr=30.30.30.31 -net nic,vlan=3,macaddr=00:00:00:00:00:07 -net udp,vlan=3,sport=3015,dport=3014,daddr=30.30.30.31 -net nic,vlan=4,macaddr=00:00:00:00:00:08 -net udp,vlan=4,sport=3017,dport=3016,daddr=30.30.30.31 -serial telnet::5555,server,nowait -m 128 FLASH
Loopback-pemu:
NIO_udp:3010:30.30.30.31:3011 #Pix eth0 100.100.100.51
NIO_udp:3012:30.30.30.31:3013 #Pix eth1 30.30.30.51
NIO_udp:3014:30.30.30.31:3015 #Pix eth2 20.20.20.51
NIO_udp:3016:30.30.30.31:3017 #Pix eth3 10.10.10.51
With two PIX I have 3 MS Loopback adapters, the last I made is for the tftp server because the tftp server assumes the last MS Loopback IPadd created.
Attached is basic Router-switch-2 Pix devices
and
2 instances of dynamips
using cmd
@echo off
rem Launch a local copy of dynamips
start /belownormal /B “Dynamips” /D “\Program Files\Dynamips\” “dynamips.exe” -H 7200
start /belownormal /B /wait “Dynamips” /D “\Program Files\Dynamips\” “dynamips.exe” -H 7201
pause
##################################################
#
# Define global router parameters for instance 1
#
##################################################
# Pix lab 1
autostart = false
ghostios = true
[localhost:7200]
workingdir = C:\Program Files\Dynamips\sample_labs\internetworkexpert\working
[[3640]]
image = C:\Program Files\Dynamips\images\C3640-JS.BIN
ram = 128
disk0 = 0
disk1 = 0
idlepc = 0×60521204
mmap = true
###########################
#
# Define router instances
#
###########################
[[ROUTER R1]]
model = 3640
console = 2000
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
# 30.30.30.25
F0/0 = SW1 F1/1
[[ROUTER R2]]
model = 3640
console = 2001
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
# 100.100.100.25
F0/0 = SW1 F1/2
[[Router SW1]]
model = 3640
console = 2002
autostart = false
slot1 = NM-16ESW
F1/3 = NIO_udp:3000:30.30.30.30:3001 #Pix eth0 100.100.100.50
F1/4 = NIO_udp:3002:30.30.30.30:3003 #Pix eth1 30.30.30.50
F1/5 = NIO_udp:3004:30.30.30.30:3005 #Pix eth2 20.20.20.50
F1/6 = NIO_udp:3006:30.30.30.30:3007 #Pix eth3 10.10.10.50
F1/7 = SW2 F1/7
F1/8 = NIO_gen_eth:\Device\NPF_{CDFF14A9-BC35-46F2-84CE-C7148D803BC7}#pemu3
##################################################
#
# Define global router parameters for instance 2
#
##################################################
# Pix lab 2
[localhost:7201]
udp = 11000
workingdir = C:\Program Files\Dynamips\sample_labs\internetworkexpert\working
[[3640]]
image = C:\Program Files\Dynamips\images\C3640-JS.BIN
ram = 128
disk0 = 0
disk1 = 0
idlepc = 0×60521204
mmap = true
###########################
#
# Define router instances
#
###########################
[[ROUTER R3]]
model = 3640
console = 2003
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
# 192.168.3.1
F0/0 = SW2 F1/1
[[ROUTER R4]]
model = 3640
console = 2004
autostart = false
slot0 = NM-1FE-TX
slot1 = NM-4T
# 192.168.4.1
F0/0 = SW2 F1/2
[[ROUTER SW2]]
model = 3640
console = 2005
autostart = false
slot1 = NM-16ESW
F1/3 = NIO_udp:3010:30.30.30.31:3011 #Pix eth0 100.100.100.51
F1/4 = NIO_udp:3012:30.30.30.31:3013 #Pix eth1 30.30.30.51
F1/5 = NIO_udp:3014:30.30.30.31:3015 #Pix eth2 20.20.20.51
F1/6 = NIO_udp:3016:30.30.30.31:3017 #Pix eth3 10.10.10.51
# ASDM lab
autostart = false
ghostios = true
sparsemem = true
[localhost]
workingdir = C:\Program Files\Dynamips\sample_labs\CiscoASDM
[[3640]]
image = \Program Files\Dynamips\images\C3640-JS.BIN
ram = 128
disk0 = 0
disk1 = 0
mmap = true
[[ROUTER R0]]
model = 3640
console = 2000
slot0 = NM-4E
E0/0 = SW1 f0/1
E0/1 = SW1 f0/2
E0/2 = SW1 f0/3
E0/3 = SW1 f0/4
[[Router SW1]]
model = 3640
console = 2001
slot0 = NM-16ESW
f0/5 = NIO_udp:3000:30.30.30.30:3001 #Pix eth0 100.100.100.50
f0/6 = NIO_udp:3002:30.30.30.30:3003 #Pix eth1 30.30.30.50
f0/7 = NIO_udp:3004:30.30.30.30:3005 #Pix eth2 20.20.20.50
f0/8 = NIO_udp:3006:30.30.30.30:3007 #Pix eth3 10.10.10.50
#Loopback pemu3 for tftp server-ipadd 30.30.30.75
f0/9 = NIO_gen_eth:\Device\NPF_{CDFF14A9-BC35-46F2-84CE-C7148D803BC7}
f0/10 = NIO_udp:3010:30.30.30.31:3011 #Pix eth0 100.100.100.51
f0/11 = NIO_udp:3012:30.30.30.31:3013 #Pix eth1 30.30.30.51
f0/12 = NIO_udp:3014:30.30.30.31:3015 #Pix eth2 20.20.20.51
f0/13 = NIO_udp:3016:30.30.30.31:3017 #Pix eth3 10.10.10.51

PassGuide Cisco Training Materials Dumps
No comments yet.
