1. Installation
# sudo apt-get install dynamips dynagen
2. IOS image
Get yourself a Cisco IOS image to use with the emulator. It is a good idea to uncompress the image for better loading
# unzip -p c7200-jk9s.mz.124-13b.bin> c7200-jk9s.mz.124-13b.image
3. Configure telnet client
You can configure your telnet client in /etc/dynagen.ini file, just uncomment this line:
telnet = xterm -T %d -e telnet %h %p > /dev/null 2>&1 &
4. Configuration file
You will need a configuration file for your router(s), you can see the example here: /usr/share/doc/dynagen/examples/sample_labs/simple1/simple1.net
The configuration will look like this:
[localhost]
[[7200]]
image = /opt/7200-images/c7200-jk9o3s-mz.124-7a.image
npe = npe-400
ram = 160
[[ROUTER R1]]
s1/0 = R2 s1/0
# No need to specify an adapter here, it is taken care of
# by the interface specification under Router R1
5. Starting Server and Management Console
To start the server
# dynamips -H 7200 &
And you can start to console using command:
# dynagen /usr/share/doc/dynagen/examples/sample_labs/simple1/simple1.net
After that you can refer to this link for further reference.
No comments:
Post a Comment
Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)