<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: DHCP on VMware Fusion</title>
	<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/</link>
	<description>Reqs. Code. Docs. Done.</description>
	<pubDate>Wed, 23 Jul 2008 18:02:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Greg Gallagher</title>
		<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1139</link>
		<author>Greg Gallagher</author>
		<pubDate>Sun, 25 May 2008 14:51:04 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1139</guid>
		<description>One note I had major difficulty with.  I couldn't get vmnet-dhcpd to offer static leases due to one really dumb type-o, and I bet I won't be the only one.

The excellent example given here is good, but it doesn't match the IP address range my VMware Fusion was using by default, and I stupidly used the same fixed addresses.  Sadly, it seems ISC's DHCPd will simply give out dynamic addresses if you try to use it to assign addresses for which it doesn't have configured on it's own interface.

For example, my vmnet8/dhcpd.conf had this in it:

subnet 192.168.216.0 netmask 255.255.255.0 {
    range 192.168.216.128 192.168.216.254;
    option broadcast-address 192.168.216.255;
    option domain-name-servers 192.168.216.2;
    option domain-name "localdomain";
    option routers 192.168.216.2;
}

And I was trying to follow the above example, so I did something like this:

# Static addresses for VMs - gbg, 5/24/2008
host dargo {
    hardware ethernet 00:0c:29:56:74:65;
    fixed-address 172.16.253.10;
}
 
And kept banging my head as over and over again it kept assigning a dynamic address from the 192.168.216.x range .. finally, after much debugging I finally figured out the trick:

host dargo {
    hardware ethernet 00:0c:29:56:74:65;
    fixed-address 192.168.216.10;
}

Now, it assigns it perfectly.  Much thanks to thirdbIT for taking the time and effort to post this information, hopefully I can give something back if someone can learn from my stupid mistake.

Cheers,
Greg</description>
		<content:encoded><![CDATA[<p>One note I had major difficulty with.  I couldn&#8217;t get vmnet-dhcpd to offer static leases due to one really dumb type-o, and I bet I won&#8217;t be the only one.</p>
<p>The excellent example given here is good, but it doesn&#8217;t match the IP address range my VMware Fusion was using by default, and I stupidly used the same fixed addresses.  Sadly, it seems ISC&#8217;s DHCPd will simply give out dynamic addresses if you try to use it to assign addresses for which it doesn&#8217;t have configured on it&#8217;s own interface.</p>
<p>For example, my vmnet8/dhcpd.conf had this in it:</p>
<p>subnet 192.168.216.0 netmask 255.255.255.0 {<br />
    range 192.168.216.128 192.168.216.254;<br />
    option broadcast-address 192.168.216.255;<br />
    option domain-name-servers 192.168.216.2;<br />
    option domain-name &#8220;localdomain&#8221;;<br />
    option routers 192.168.216.2;<br />
}</p>
<p>And I was trying to follow the above example, so I did something like this:</p>
<p># Static addresses for VMs - gbg, 5/24/2008<br />
host dargo {<br />
    hardware ethernet 00:0c:29:56:74:65;<br />
    fixed-address 172.16.253.10;<br />
}</p>
<p>And kept banging my head as over and over again it kept assigning a dynamic address from the 192.168.216.x range .. finally, after much debugging I finally figured out the trick:</p>
<p>host dargo {<br />
    hardware ethernet 00:0c:29:56:74:65;<br />
    fixed-address 192.168.216.10;<br />
}</p>
<p>Now, it assigns it perfectly.  Much thanks to thirdbIT for taking the time and effort to post this information, hopefully I can give something back if someone can learn from my stupid mistake.</p>
<p>Cheers,<br />
Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pete Hartman</title>
		<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1135</link>
		<author>Pete Hartman</author>
		<pubDate>Wed, 09 Apr 2008 22:09:53 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1135</guid>
		<description>Excellent post, very very helpful at just the right time.  And since I already know ISC DHCP I can do other things (like modifying the domain name for convenience) too.</description>
		<content:encoded><![CDATA[<p>Excellent post, very very helpful at just the right time.  And since I already know ISC DHCP I can do other things (like modifying the domain name for convenience) too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Jackson</title>
		<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1131</link>
		<author>Steven Jackson</author>
		<pubDate>Wed, 26 Mar 2008 16:55:41 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1131</guid>
		<description>Thanks for the helpful post.

I'm in a similar position (Linux based development via VMware on a Mac Pro), and having static IPs keeps things nice and predictable.</description>
		<content:encoded><![CDATA[<p>Thanks for the helpful post.</p>
<p>I&#8217;m in a similar position (Linux based development via VMware on a Mac Pro), and having static IPs keeps things nice and predictable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: max</title>
		<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1107</link>
		<author>max</author>
		<pubDate>Wed, 05 Mar 2008 01:14:59 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1107</guid>
		<description>The VMs are NATted. That's what the vmnet8 interface is for on the host machine; vmnet1 is for bridged. I needed DHCP reservations because I was running MySQL replication between two guest machines.

Did I understand your question correctly?</description>
		<content:encoded><![CDATA[<p>The VMs are NATted. That&#8217;s what the vmnet8 interface is for on the host machine; vmnet1 is for bridged. I needed DHCP reservations because I was running MySQL replication between two guest machines.</p>
<p>Did I understand your question correctly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1106</link>
		<author>john</author>
		<pubDate>Wed, 05 Mar 2008 01:13:19 +0000</pubDate>
		<guid>http://www.thirdbit.net/articles/2008/03/04/dhcp-on-vmware-fusion/#comment-1106</guid>
		<description>Could you have NAT'ed the VMs?</description>
		<content:encoded><![CDATA[<p>Could you have NAT&#8217;ed the VMs?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
