2016-05-27 17:56 GMT+03:00 Neil Jerram <n...@tigera.io>: > Hi Vasiliy, > > I assume your TAP devices are _not_ bridged on the host? > > If so, you can use the same approach as we use for Calico networking in > OpenStack - > http://docs.openstack.org/developer/networking-calico/implementation-notes.html#dhcp > > You'll need: > > a dummy interface, with an address in the 85.143.220/24 CIDR > to populate the dnsmasq hosts file with the IP/MAC mappings for your VMs > to tell dnsmasq to listen on the dummy interface and all the TAPs, and treat > the TAPs as aliases of the dummy interface (using --bridge-interfaces). > > Hope that helps - happy to provide more detail if you need. > > Neil > >
Thanks! Does i need on dummy interface address with corresponding netmask or i can use /32 address that acts like gateway for vm? I have some discussion on libvirt mailing list about plain ethernet devices and my next plans add ability to configure dnsmasq via libvirt for this networks. So in case of libvirt i have running dnsmasq on virtbr0 for example and on each vm start i need to reconfigure dnsmasq to add needed tap device to it? Why i can't use --interface=tap* ? DOes dnsmasq monitors network intnerfaces via netlink and automatic listen it when it added to the host? -- Vasiliy Tolstov, e-mail: v.tols...@yoctocloud.net _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss