mardi 20 mars 2007

Dynamips Dynagen

Dynamips et Dynagen sont des logiciels libres qui permettent l'émulation de machines virtuelles Cisco. Au contraire des simulateurs commerciaux (Boson, Network Vizualiser, etc) ou gratuits (Packet Tracer) qui reproduisent le comportement des IOS et des machines, Dynamips et Dynagen utilisent un véritable IOS entièrement fonctionnel. Ils émulent seulement le hardware.
Ainsi avec plusieurs cartes réseaux derrière une machine on réalise un routeur.

Pensez à installer la librairie
Winpcap 4.0 afin de renseigner les cartes réseaux.

Configuration du fichier *.net sur un routeur C3640 :


[localhost]
autostart = false
[[7200]]

[[ROUTER R1]]
model = 3640
image = C:\Program Files\Dynamips\images\c3640-js-mz.122-17.bin
cnfg = C:\Program Files\Dynamips\sample_labs\Ben\cfg.txt
ram = 128 # Amount of Virtual RAM to allocate to each router instance.
disk0 = 20 # Set size of PCMCIA ATA disk0
#disk1 = 64
slot0 = NM-1FE-TX
slot1 = NM-4T
F0/0 = NIO_gen_eth:\Device\NPF_{B83968E6-DCDE-465C-9346-C0002982087A}
idlepc = 0x12345
#S1/0 = FRSW 1
#idlepc = 0x80008000

#Use as follows F0/0 = NIO_gen_eth:\Device\NPF_{B83968E6-DCDE-465C-9346-C0002982087A}

#[[router R2]]
#model = 3640
#image = C:\Program Files\Dynamips\images\c3640-js56i-mz.121-5.T8.bin
# ram = 128
# disk0 = 20
# slot0 = NM-1FE-TX
# slot1 = NM-4T
# F0/0 = S1 2
# S1/0 = FRSW2

# [[FRSW FRSW]]
# 1:102 = 2:201
# 2:201 = 1:102

# [[ethsw S1]]
# 1 = access 1
# 2 = access 20
# 4 = dot1q 1

Forum

Tuto indispensable