Bind Dynamips interface with Vmware OS NIC

That’s very important if you are practicing any topology where you need to communicate with VMware and dynamips. Specially I was needed this while I was trying to get IP from DHCP server running on dynamips router to a Windows running at VMware. That’s pretty cool, huh! I have pointed out the steps to get it done:

at WIndows Host Machine
————————
1. Create a Microsoft Loopback Adapter
2. Set the Loopback Adapter in DHCP mode

at Dynamips Router
——————
3. Bind the Loopback Adapter (NIO_gen_eth:) with one Dynamips NIC (for example FE0/0) at *.net file
4. Start the router
5. Configure a DHCP Pool (for example 192.168.1.0) at Dynamips router
6. Put a static IP (for example 192.168.1.1) of the Dynamips NIC (for example FE0/0) binded with that Loopback adapter
7. The Loopback adapter should get a DHCP IP from IOS DHCP Server

at VMware Workstation Global Configuation
—————————————–
8. go to Edit>’Virtual Network Settings’>’Host Virtual Network Mapping’
9. Click beside dropdown menu of VMnet2: (or whatever you like), here you will find the Loopback Adapter you created at step 1
10. Select the adapter, click at right ‘>’ key and add the proper subnet you created for DHCP
11. Click ‘Apply’ and ‘Ok’

at VMware Guest OS
——————
12. Select the Ethernet mode at ‘Custom:Specific virtual network’ and select the ‘VMnet2(Bridged)’ of the VM NIC you created at step 9
13. Set the guest NIC at DHCP mode and repair it, it should get the DHCP IP from Dynamips IOS DHCP.

I tested this on Windows XP, Windows 2003 Server Standard and Enterprise edition.

Advertisements

About Mijanur Rahman
I have started blogging to save and share my study notes, findings and research notes as I have already lost some important! Wish you find something helpful from my blogs, if you have anything to ask you are always welcome to comment or contact me directly. Thanks, Md. Mijanur Rahman

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: