[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Question about virbr(dnsmasq)



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 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]