Link to home
Start Free TrialLog in
Avatar of jskfan
jskfanFlag for Cyprus

asked on

configure Linux DHCP in Vmware fusion LAB

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
ASKER CERTIFIED SOLUTION
Avatar of Sandy
Sandy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

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
Avatar of jskfan

ASKER

Sandy,

how do you do this in Vmware Fusion:

1. Disable the DHCP servie from VMware network settings.
Avatar of jskfan

ASKER

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
Avatar of jskfan

ASKER

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

User generated image
Avatar of jskfan

ASKER

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

Avatar of jskfan

ASKER

Ubuntu DHCP is configured this way:
User generated image
Avatar of jskfan

ASKER

Ubuntu DHCP interface is configuring this way:
User generated image
Avatar of jskfan

ASKER

The link does not apply to my case…I am using vmware fusion…and Windows 7
Avatar of jskfan

ASKER

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
try to apply it.. i guess it will work

TY/SA
Avatar of jskfan

ASKER

Unfortunately it did not work
Avatar of jskfan

ASKER

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)
User generated image
disabling dhcp will not be visible under the vm properties... Its a option which comes under Vmware Fusion Preference settings.

TY/SA
Avatar of jskfan

ASKER

<<<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
Avatar of jskfan

ASKER

here is the way I configured it and it started working:

On vmware fusion preference:
User generated image
then on each ubuntu server:
User generated image
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jskfan

ASKER

Thank you Guys!