[libvirt] Question about virbr(dnsmasq)

Daniel P. Berrange berrange at redhat.com
Mon Aug 4 08:51:44 UTC 2008


On Mon, Aug 04, 2008 at 05:49:10PM +0900, Nobuhiro Itou wrote:
> Hi all.
> 
> I have the question about the option of dnsmasq that libvirt sets as a default virtual network.
> Why does dnsmasq listen to all NICs as specified "--except-interface lo"?

It isn't listening to all NICS - the '--listen-address 192.168.122.1'
parameter causes it to only listen on the NIC with the matching IPv4
address. You can confirm this with 'netstat -t -l -n -p | grep dnsmasq'

# netstat -t -l -n -p | grep dnsmasq
tcp        0      0 192.168.122.1:53            0.0.0.0:*                   LISTEN      2327/dnsmasq       

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list