CentOS VMware Server 2X and DHCP
I have setup a VM machine of XP pro using VMware Server 2X on a CentOS server and noticed that when windows boots up it grabs a ip address from the DHCPD server in VMware and not from the DHCP server from the CentOS server where is resides. So:
PHP Code:
PHP Code:
|
Why don't you just give the vm a bridged connection ?
|
I have bridged the connection and it still doesnt grab an ip address from the dhcpd server that it resides on? There is two interfaces, vmnet0 is bridged and vmnet8 is not. ??????
|
If the vm has a bridged network connection it shouldn't be getting DHCP offers from the vmware-dhcpd, they're only for nat and host-only connections
<edit>The vmnet0(bridged) connection should get a dhcp offer from the host and the vnnet8(NAT) connection should get it's dhcp offer from vmware</edit> |
I want vmnet8 to grab it from the CentOS box and not from VMware.
|
The way dhcp works, the client will usually accept the first offer it receives, and the vmware-dhcpd listening on the vmnet8 interface will always be the quickest response. Maybe you could disable the vmware-dhcpd and make the host dhcpd bind to the vmnet interfaces but I don't think it's easy or even possible.. otherwise you would need a dhcp proxy etc...
<edit>can I ask why you need to do this ?... </edit> |
I have this server inside the network and I dont need another dhcpd inside of it shelling out IP's and I want it to be part of the existing subnet. By the way thanks for all your help. Also I want to be more well versed with VMware and it network configurations.
|
The vmware dhcpd *only* provides addresses to virtual machines attached to vmnet1 and vmnet8 on the host, it is not accessible from outside your host so you don't need to worry about any conflicts etc with the rest of your network.
|
thanks
|
All times are GMT -5. The time now is 09:11 PM. |