Thursday, September 16, 2010

Install And Configure Sdm In Gns3

Configuring a host in the network

There may be an occasion when you want to connect a host in your topology such as running Cisco’s Security Device Manager (use of this may figure in future CCNA exams). To do this you must first configure a Loop-back Adapter on your PC.

1. Go to Control Panel-->Add Hardware then click Next

2. Yes I have already connected the hardware

3. Scroll to the bottom and click on Add a new hardware device then Next

4. Install the hardware that I manually select from a list (Advanced)

5. Click on Network Adapters then Next

6. Select Microsoft as the Manufacturer then on Microsoft Loop-back Adapter under Network Adapter then click Next then Next again.

7. Open up Control Panel-->Network Connections to see the adapter in place.

Now that you have created a loop-back adapter you will want to connect it to a router. To do this, follow these steps:

1. In the GNS3 installation directory run the Network Device List.bat file which will give you the Ethernet address of your Loop-back Adapter.

Posted Image

Notice the second adapter shown where description is MS Loop-back Driver. I have renamed the adapter as Loop-back Adapter for SDM. We are interested in the NIO_gen_eth string.

2. Go into GNS3 and drag a cloud onto the stage.

3. Right-click the cloud and select configure.

4. Choose your cloud from the list.

5. In the Generic Ethernet NIO section select your Loop-back Adapter from the drop-down list (the one that matches what is shown in Step 1) and click on Add, Apply, the OK.

Posted Image

6. Now connect a Fast-Ethernet port on your router to the cloud as you would connect two routers.

7. Configure an IP address and subnet mask on the router interface connected to the cloud and bring the interface up.

8. Go to Control Panel-->Network Connections and right-click your adapter. Choose Properties then Internet Protocol (TCP/IP) and give it an IP address in the same subnet as the router’s Fast-Ethernet interface with the same subnet mask and with a default gateway matching the IP address of the router’s interface.

Example:

Router’s Fast-Ethernet 0/0 interface connected to the cloud:

On the router I would have something like:
Router(config)#int fa0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shut


On the PC I would have something like:
IP address = 192.168.1.2
Subnet Mask = 255.255.255.0
Default Gateway = 192.168.1.1


You should now be able to ping between your PC and the router.

Running SDM (Advanced)

There may be a need to practice using the Cisco Security Device Manager (SDM) for your exam and the following steps show you how to configure it.

1. Download and install SDM from
http://rapidshare.com/files/350073328/CisSdM.rar


2. Choose to only install SDM to your PC, NOT to the router.

3. Now configure your router with a hostname and a domain name in order for SSH to work:

Router#conf t
Router(config)#hostname SDMRouter
SDMRouter(config)#ip domain-name SDMDomain


4. Once installed you need to configure your router with the following commands:

Router#conf t
Router(config)#username your_username privilege 15 secret 5
Router(config)#ip http server
Router(config)#ip http secure-server
Router(config)#ip http authentication local
Router(config)#line vty 0 4
Router(config-line)#login local
Router(config-line)#transport input telnet ssh
Router(config-line)#privilege level 15
Router(config-line)#exit
Router(config)#crypto key generate rsa gen mod 1024


5. Now double-click the SDM icon and enter the IP address of the router and tick the box asking about HTTPS then click on Launch.

6. Ensure you allow pop-ups on your browser.

7. Enter username and password as defined after step 3.

8. Say yes to allow SDM to install.

You should now have a screen similar to the one below although this may be because I used a username and password of “cisco” which are the default.

Posted Image

9. Select a new username and password for the router then click OK. You should see the screen below then click OK.

Posted Image

10. You should now be in SDM and able to configure the router.

Posted Image

No comments:

Post a Comment