[Dnsmasq-discuss] Question about the error message

Saori Fukuta fukuta.saori at jp.fujitsu.com
Mon Aug 11 09:36:05 BST 2008


On Fri, 8 Aug 2008 22:55:40 +0000 "richardvoigt at gmail.com" wrote:
> On Wed, Aug 6, 2008 at 5:56 AM, Saori Fukuta
> <fukuta.saori at jp.fujitsu.com> wrote:
> > Thank you for your replying ! I understood that I should not enable
> > that option with Windows 2003 server, but why should not dnsmasq's
> > dhcp listen from Windows 2003 server ?
> > Is there any difference between Linux server and Windows server ?
> 
> Are you trying to get an address for eth3, or give out addresses to
> other computers in the subnet?

This is more like in the second case.
Actually, I am trying to give addresses to Guest Domains on the 
virtualization system by using dnsmasq.

(c.f.) http://libvirt.org/archnetwork.html
  +--------------------------------+
  l                       Domain-0 l
  l# dnsmasq                       l
  las DHCP server  +-----------+   l dnsmasq is started by libvirt
  l    l           l GuestA    l   l as a virtual network.
  l    l        +--+--+        l   l 
  l    +------> l DHCP client  l   l dnsmasq is a DHCP server
  l    l        +--+--+        l   l for GuestA and GuestB.
  l    l           +-----------+   l 
  l    l                           l But that is not to give out
  l    l           +-----------+   l addresses to other computers.
  l    l           l GuestB    l   l
  l    l        +--+--+        l   l
  l    +------> l DHCP client  l   l
  l             +--+--+        l   l
  l                +-----------+   l
  l                                l
  l  +------+  +------+  +------+  l
  +--+ eth1 +--+ eth2 +--+ eth3 +--+
     +------+  +------+  +------+
      x.x.x.x   y.y.y.y   0.0.0.0

> You should use the --no-dhcp-interface option, as in --no-dhcp-interface=eth3

I can prevent the message by using '--no-dhcp-interface=eth3' option.
If I want to give address to only the Guest Domains
I should use the '--no-dhcp-interface' option for all interface,
as in '--no-dhcp-interface=eth1,eth2,eth3'.
And, dnsmasq shows the following message because dnsmasq cannot assign
new IP address for that interface which has '0.0.0.0'.
   dnsmasq[13884]: no address range available for DHCP request via eth3

Is that right ?

Regards,
Saori.




More information about the Dnsmasq-discuss mailing list