[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Configuring GNS3 Router as DHCP server for Vmware

Posted on 2014-08-11
12
Medium Priority
?
2,076 Views
Last Modified: 2014-08-12
I have Windows 8. I have installed GNS3 and VMware Workstation. I also installed MS Loopback interface on Windows 8.
On VMware Workstation I have installed WIndows 7 VM and set it to obtain automatic IP address , I want it to obtain IP from Cisco Router on GNS3.Seeing that I configured Cisco Router as DHCP server.

However Windows 7 VM is not getting IP address from Cisco ROuter on GNS3, but it is getting it from the Built in DHCP of VMware Workstation.

I need help making WIndows 7 VM get an IP from Cisco Router on GNS3

Thank you

ip
0
Comment
Question by:jskfan
  • 9
  • 3
12 Comments
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40254674
Disable the DHCP Interface on VMware Workstation.

DHCP on VMware Workstation is usually used if using NAT or Host Only Network configurations.

or/and, are you using a BRIDGED Network connection for WIndows 7 VM ?
0
 

Author Comment

by:jskfan
ID: 40254721
I was using NAT on VMware Workstation for WIndows 7 VM
To which Network connection should I set it.....
I want  Windows 7 VM to get IP address from Cisco Router on GNS3 that is configured as DHCP server
0
 

Author Comment

by:jskfan
ID: 40254727
I also want to know which IP address should I assign to MS Loopback interface created on WIndows 8.. This interface is connected to Cisco Router on GNS3 interface. I configured them in the same subnet , but cannot configure each other.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 124
ID: 40255033
Make sure if NAT is running on VMware Workstation, VMware Workstation DHCP Server is turned OFF
0
 

Author Comment

by:jskfan
ID: 40255562
Well I managed to get connectivity working between the MS -Loopback adapter and the Cisco Router on GNS3. I just shared the Wifi adapter with MS-Loopback and it worked.

However, Windows 7 VM (in VmWorkstation) does not get IP address from Cisco Router on GNS3 (Which is configured as DHCP Server.
.
Windows 7 VM is not configured for NAT, I tried as bridged and it did not work either.
0
 

Author Comment

by:jskfan
ID: 40255574
MS loopback get ip address 192.168.137.1 after sharing Wifi adapter with loopback.
The one thing that I cannot get to work is between Windows 7 VM and the GNS3
0
 
LVL 124

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 40255592
WiFi adapters can be problematic using VMware Workstation.
0
 

Author Comment

by:jskfan
ID: 40255663
I am not too far from the solution (:)
VMware Editor helped me get the Windows 7 to connect to MSLoopback as shown in the screenshot.

Windows 7 VM got IP address 192.168.137.222, but I believe it is not getting it from Cisco router on GNS3, because I cannot ping its Interfacevm
0
 

Author Comment

by:jskfan
ID: 40255722
<<<Well I managed to get connectivity working between the MS -Loopback adapter and the Cisco Router on GNS3. I just shared the Wifi adapter with MS-Loopback and it worked.
>>>
Sorry, I should say:
Well I managed to get connectivity working between the MS -Loopback adapter and Windows7 VM. I just shared the Wifi adapter with MS-Loopback and it worked.
0
 

Author Comment

by:jskfan
ID: 40256206
After tampering with it , I believe I got it to work now.

on WIndows 8 Laptop, I had MSLoopback, Wifi , and Vmnet8 Network connection.
On Vmworkstation,  went to Edit tab, Virtual Network Editor. I selected Vmnet8 and on the bottom window, I select Bridge to: and selected the MS Loopback from drop down arrow, then click OK
WIndows 7 VM, is Left as is ,I mean for NAT.

The mysterious thing was when I went to Network Connection in Windows 8, the Vmnet8 adapter disappeared from the Network connections window.

Now the MSloopback has ip address 192.168.137.1 , it is automatic IP
Windows 7 VM has IP address 192.168.137.6
GNS router FastEthernet0/0 has ip address 192.168.137.2 (Manually configured)
GNS router is configured as DHCP , I excluded ip 192.168.137.1 through 192.168.137.5.
I guess this is why Windows7 VM got the first available IP (192.168.137.6)

I believe it is working, at least for now and hope it stays this way...
0
 

Author Comment

by:jskfan
ID: 40257115
In Virtual Network Editor, If I click restore Defaults, then I can see those Vmnet adapters in WIndows 8 showing up again.

Something to learn....
0
 

Author Closing Comment

by:jskfan
ID: 40257118
Thank you
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article will go through how to backup a vPostgres DB from a broken vCenter Appliance and restore to a new vCenter Appliance.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question