<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"><head><!--[if gte mso 9]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]--></head><body><div class="ydp8d6ab9eeyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
        <div dir="ltr" data-setdir="false">Not sure this is a virt-manager question: probably more of a general virtual networking question.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Curious: Did you have this in VirtualBox ?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Anyway, I'd look at <a href="https://virt.kernelnewbies.org/MacVTap" rel="nofollow" target="_blank" class="enhancr_card_7049544447">MacVTap - Linux Virtualization Wiki</a> <br></div><div><br></div><div id="ydpbae1044eenhancr_card_7049544447" class="ydpbae1044eyahoo-link-enhancr-card ydpbae1044eyahoo-link-enhancr-not-allow-cover ydpbae1044eymail-preserve-class ydpbae1044eymail-preserve-style" style="max-width:400px;font-family:YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif" data-url="https://virt.kernelnewbies.org/MacVTap" data-type="YENHANCER" data-size="MEDIUM" contenteditable="false"><a href="https://virt.kernelnewbies.org/MacVTap" style="text-decoration-line: none !important; text-decoration-style: solid !important; text-decoration-color: currentcolor !important; color: rgb(0, 0, 0) !important;" class="ydpbae1044eyahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table class="ydpbae1044ecard-wrapper ydpbae1044eyahoo-ignore-table" style="max-width:400px" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td width="400"><table class="ydpbae1044ecard ydpbae1044eyahoo-ignore-table" style="max-width:400px;border-width:1px;border-style:solid;border-color:rgb(224, 228, 233);border-radius:2px" width="100%" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td><table class="ydpbae1044ecard-info ydpbae1044eyahoo-ignore-table" style="background-color: rgb(255, 255, 255); background-repeat: repeat; background-attachment: scroll; background-image: none; background-size: auto; position: relative; z-index: 2; width: 100%; max-width: 400px; border-radius: 0px 0px 2px 2px; border-top: 1px solid rgb(224, 228, 233);" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;border-radius:0 0 0 2px"></td><td style="vertical-align:middle;padding:12px 24px 16px 12px;width:99%;font-family:YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif;border-radius:0 0 2px 0"><h2 class="ydpbae1044ecard-title" style="font-size: 14px; line-height: 19px; margin: 0px 0px 6px; font-family: YahooSans, Helvetica Neue, Segoe UI, Helvetica, Arial, sans-serif; color: rgb(29, 34, 40); max-width: 314px;">MacVTap - Linux Virtualization Wiki</h2><p class="ydpbae1044ecard-description" style="font-size: 12px; line-height: 16px; margin: 0px; color: rgb(151, 158, 168);"></p></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></a></div><div><br></div><div> - "<span> <span class="ydp7833d377anchor" id="ydp7833d377line-4"></span>Typically, this is used to make both the guest and the host show up directly on the switch that the host is connected to."</span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>.... I tried it in RHEL 8.4 (at the time) but had unworkable performance issues but later found a note about "<span>intel_iommu=pt" at</span><br></span></div><div dir="ltr" data-setdir="false"><div dir="ltr" data-setdir="false"><span><span>https://www.linuxsecrets.com/3417-creating-kvm-virtual-passthrough which might address that. ( the VF stuff there not supported in RHEL last I looked )<br></span></span></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false"><span><span>Currently I use PCI passthru to use a 2nd host NIC directly in a VM but then that only works for 1 VM so if you have an unspecified number of VMs that's not gonna work for you.<br></span></span></div><div><span> </span></div></div><div dir="ltr" data-setdir="false">Sorry can't be of more help.<br></div><div dir="ltr" data-setdir="false"><br></div><div><br></div>
        
        </div><div id="ydpe87363cfyahoo_quoted_7146001909" class="ydpe87363cfyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Wednesday, 19 October 2022 at 21:42:02 BST, Mihai Dobrescu <msdobrescu@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydpe87363cfyiv7120112652"><div dir="ltr"><div>Hi,</div><div><br></div><div>I've switched from VirtualBox to Virt Manager and I need to have virtual machines in the same subnet as the host.</div><div>How could I achieve that? I've spent all day looking at various articles on how to do that, but I could not manage to achieve it.</div><div>Is there a reliable step by step procedure?</div><div>I use a Gentoo derivative.<br></div><div><br></div><div>Thank you,<br></div><div><div dir="ltr" class="ydpe87363cfyiv7120112652gmail_signature"><div dir="ltr"><span style="font-weight:bold;">Mihai Sorin Dobrescu</span></div></div></div></div>
</div></div>
            </div>
        </div></body></html>