Hello all, hope all is well this maybe outside of libvirt-users.... Can you nest macvtap devices to ultimately receive a real routable ip on the nested vm? I have a nested vm up and running. Both vm and nested vm are centos 7 on arch linux host. The first vm uses a macvtap in bridge mode receives dhcp from an external dhcp server. I start the second vm and dhclient hangs and never receives an offer. I stood up a static interface on the nested vm. If I initiate a ping from within the nested vm, I can see via tcpdump that the echo request is seen on the non-nested vm and the hosting server. The reply comes back and stops/is answered on the hosting OS interface. rp_filter is off. No firewall rules in play blocking dhcp or icmp Any/all help appreciated thanks very much
On 08.07.2016 22:23, jsl6uy js16uy wrote:> Hello all, hope all is well > > this maybe outside of libvirt-users.... > Can you nest macvtap devices to ultimately receive a real routable ip on > the nested vm? >I have never tested it, but why do you want to nest macvtaps? Why not have macvtaps in the most outer one VM and pass them thru to inner layer VMs? Michal
Thanks much sir Ease I think mainly adding a macvtap is pretty quick, performant and works. And last but definitely not least, ignorance of other quick easy solutions. Well, also macvtap works on older hardware where I don't have physical functions to passthrough via sr-iov, that is what you are pointing to with "macvtaps in the most outer one VM and pass them thru to inner layer VMs"? Currently I can use macvtaps with an old HP xw8600 desktop with the integrated broadcoms yeah ease/hardware/ignorance On Mon, Jul 11, 2016 at 6:52 AM, Michal Privoznik <mprivozn@redhat.com> wrote:> On 08.07.2016 22:23, jsl6uy js16uy wrote: > > Hello all, hope all is well > > > > this maybe outside of libvirt-users.... > > Can you nest macvtap devices to ultimately receive a real routable ip on > > the nested vm? > > > > I have never tested it, but why do you want to nest macvtaps? Why not > have macvtaps in the most outer one VM and pass them thru to inner layer > VMs? > > Michal >