[Dnsmasq-discuss] dnsmasq as DHCP server on vmware client machine

Hisashi Hashimoto hashimoh at tmtv.ne.jp
Thu Oct 8 14:32:34 BST 2009


Mark,

   Thank you for your reply.
I comment out bind-interface, but nothing has been changed.

Hisashi

Mark Beierl wrote
> I use dnsmasq 2.50-1 with Vmware Workstation 6.5 and do not have any 
> problems with vmnets.  The only difference I see is that I do not use 
> bind-interfaces...
> 
> Regards,
> Mark
> 
> Hisashi Hashimoto wrote:
>> Hi,
>>
>>   I am using Dnsmasq 2.45, a little bit old on my Local distribution.
>> I am trying to use dnsmasq as a DHCP server on vmware host machine
>> instead of using vmware original DHCP server, vmnet-dhcpd.
>> Why I prefer using dnsmasq is that vmnet-dhcpd is based on ISC DHCPD
>> 2.0(old) and I prefer to use dnsmasq configuration.
>>
>>  I have one problem now.
>> This proble appeared after I moved VMware workstation 6.5 from 5.0.
>> Problem is:
>> Dnsmasq does not look at the vmnet1, 4, 8(Virtual network on host
>> machine created by VMware).
>>
>>   Why I think so, is :
>> (1) When I use vmnet-dhcpd or ISC DHCPD 3.0, they answered the query
>> from guest machines. but when I use dnsmasq, it did not answer.
>>    So, network interfaces had been created and work without problems.
>> (2) While I run ISC DHCPD, I started dnsmasq with DHCP-RANGE option,
>>     Dnsmasq did not make any claim that port had been used by ISC DHCPD.
>>
>> Any suggestions are welcome.
>> ---------------------------------------------------
>> Here is my configuration related DHCP.
>> interface=vmnet1
>> interface=vmnet4
>> interface=vmnet8
>> interface=lo
>> bind-interfaces
>> dhcp-range=192.168.219.101,192.168.219.128,255.255.255.0,12h
>> dhcp-range=192.168.140.101,192.168.140.254,255.255.255.0,12h
>> dhcp-range=192.168.167.101,192.168.167.254,255.255.255.0,12h
>>
>> Below is output of ifconfig.
>> vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
>>           inet addr:192.168.140.1  Bcast:192.168.140.255
>>           Mask:255.255.255.0
>>           inet6 addr: fe80::250:56ff:fec0:1/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>> vmnet4    Link encap:Ethernet  HWaddr 00:50:56:C0:00:04
>>           inet addr:192.168.219.1  Bcast:192.168.219.255
>>           Mask:255.255.255.0
>>           inet6 addr: fe80::250:56ff:fec0:4/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>> vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
>>           inet addr:192.168.167.1  Bcast:192.168.167.255
>>           Mask:255.255.255.0
>>           inet6 addr: fe80::250:56ff:fec0:8/64 Scope:Link
>>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>           TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
>>           collisions:0 txqueuelen:1000
>>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>>
>> Hashimoto Hisashi
>>
>> _______________________________________________
>> Dnsmasq-discuss mailing list
>> Dnsmasq-discuss at lists.thekelleys.org.uk
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>>   
> 
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 
> 



More information about the Dnsmasq-discuss mailing list