Solved

configure Linux DHCP in Vmware fusion LAB

Posted on 2014-02-27
21
579 Views
Last Modified: 2014-03-11
I am using Vmware fusion in the LAB (on MAC computer connected to internet).
By default the VMs I have created so far got automatic IP address in the subnet 172.16.27.0

I have Ubuntu server VM, that I want to install DHCP on and configure it to hand out IP addresses in the scope of 192.168.1.0

I wonder how can I carry out this task.

Any help will be cry much appreciated.

Thank you
0
Comment
Question by:jskfan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 15
  • 5
21 Comments
 
LVL 13

Accepted Solution

by:
Sandy earned 333 total points
ID: 39894026
1. Disable the DHCP servie from VMware network settings.
2. Configure DHCP server on ubuntu
3. Use it in your network.

TY/SA
0
 
LVL 13

Assisted Solution

by:Abhilash
Abhilash earned 167 total points
ID: 39894047
Why not change the range of DHCP in fusion itself to hand out 192 series IP's?
Check this blog post
http://www.virtualizationadmin.com/articles-tutorials/vmware-server-workstation-player-articles/general/understanding-vmware-fusion-networks.html
0
 

Author Comment

by:jskfan
ID: 39894949
Abhilash Hb

I do not want vmware fusion to hand out IP address. this is a Lab I want to  test Ubuntu DHCP server, handing out IPs to Linux and windows computers
0
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

 

Author Comment

by:jskfan
ID: 39894959
Sandy,

how do you do this in Vmware Fusion:

1. Disable the DHCP servie from VMware network settings.
0
 

Author Comment

by:jskfan
ID: 39895031
My MAC has IP 192.168.1.2, when I installed Vmware Fusion, then Virtual machines they got the IP in the range of 172.16.27.0

I am not sure why this happened, why Vmware fusion did not put the VMs in 192.168.1.0 Network
0
 

Author Comment

by:jskfan
ID: 39895171
I set up DHCP on ubuntu to hand out IPs in from the subnet 172.16.27.0
and configured VM (windows 7) to get IP automatically, and set up the network adapter as shown in the screenshot below. However I a getting IP 192.168.46.128 on windows 7

mac
0
 

Author Comment

by:jskfan
ID: 39895181
Ifconfig on my MAC is showing the following

192:~ test$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 
	inet 127.0.0.1 netmask 0xff000000 
	inet6 ::1 prefixlen 128 
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 14:10:9f:d5:46:c7 
	inet6 fe80::1610:9fff:fed5:46c7%en0 prefixlen 64 scopeid 0x4 
	inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
	media: autoselect
	status: active
p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304
	ether 06:10:9f:d5:46:c7 
	media: autoselect
	status: inactive
vmnet1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:50:56:c0:00:01 
	inet 192.168.46.1 netmask 0xffffff00 broadcast 192.168.46.255
vmnet8: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	ether 00:50:56:c0:00:08 
	inet 172.16.27.1 netmask 0xffffff00 broadcast 172.16.27.255
192:~ test$ 

Open in new window

0
 

Author Comment

by:jskfan
ID: 39895199
Ubuntu DHCP is configured this way:
dhcp
0
 

Author Comment

by:jskfan
ID: 39895258
Ubuntu DHCP interface is configuring this way:
interface
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39895370
0
 

Author Comment

by:jskfan
ID: 39895477
The link does not apply to my case…I am using vmware fusion…and Windows 7
0
 

Author Comment

by:jskfan
ID: 39896433
AS you can see through snapshots, the IP s are handed out either through Vmware fusion DHCP 172.16.27.0  or if I disable it , the IPs will be handed out through DHCP of the wireless card 192.168.1.0
0
 

Author Comment

by:jskfan
ID: 39896481
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39896765
try to apply it.. i guess it will work

TY/SA
0
 

Author Comment

by:jskfan
ID: 39897308
Unfortunately it did not work
0
 

Author Comment

by:jskfan
ID: 39897322
I tried all option of Windows 7 Network Adapter as shown in the screenshot above.

for Vmware Fusion Network Options, as shown in the screenshot below, I cannot change anything even when I enter Admin password (as you see the padlock is unlocked)
fusion
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39897370
disabling dhcp will not be visible under the vm properties... Its a option which comes under Vmware Fusion Preference settings.

TY/SA
0
 

Author Comment

by:jskfan
ID: 39897653
<<<disabling dhcp will not be visible under the vm properties... Its a option which comes under Vmware Fusion Preference settings.>>>

the above snapshot is taken from Vmware Fusion Preferences settings
0
 

Author Comment

by:jskfan
ID: 39915871
here is the way I configured it and it started working:

On vmware fusion preference:
fusion
then on each ubuntu server:
ubuntu
0
 
LVL 13

Assisted Solution

by:Sandy
Sandy earned 333 total points
ID: 39916787
Perfect.. thanks for sharing

TY/SA
0
 

Author Closing Comment

by:jskfan
ID: 39920204
Thank you Guys!
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VM replication scenario and caveats ? 6 110
Keeping 2  Windows 2012 R2 servers  in Sync 4 87
Logrotate Every Saturday 5 39
ESXI update version 5.5.0.1623387 7 61
Giving access to ESXi shell console is always an issue for IT departments to other Teams, or Projects. We need to find a way so that teams can use ESXTOP for their POCs, or tests without giving them the access to ESXi host shell console with a root …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

738 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