<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CARP doesn't seem to work over MacVTap]]></title><description><![CDATA[<p dir="auto">Hey Guys,</p>
<p dir="auto">If I create Linux bridges, then connect those bridges to a VirtIO interface inside pfSense, everything runs pretty normal. That's defined like this:</p>
<pre><code>
    &lt;interface type="bridge"&gt;&lt;source bridge="lan0"&gt;
      &lt;model type="virtio"&gt;&lt;driver name="vhost" queues="5"&gt;&lt;address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"&gt;

Everything runs ok…. well except about a 1ms-3ms of additional latency, bandwidth is about 300mbit less, and the KVM process maxes out a CPU core or two....  So I removed my Linux bridges, and tried to set the network interfaces inside my xml to:

</code></pre>
<p dir="auto">    &lt;interface type="direct" trustguestrxfilters="yes"&gt;&lt;source dev="eth0"&gt;<br />
      &lt;model type="virtio" mode="bridge"&gt;&lt;driver name="vhost"&gt;&lt;address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"&gt;</p>
<p dir="auto">Which works, except the primary (still on bare metal) the the backup (the one I virtualized) but go into MASTER on CARP on all interfaces and wreak havok as two boxen now claim the same IP.</p>
<p dir="auto">Any ideas? I'm unsure how CARP works under the covers and why it'd be affected by MacVTAP :(&lt;/address&gt;&lt;/driver&gt;&lt;/model&gt;&lt;/interface&gt;</p>
<pre><code class="language-&lt;/address&gt;&lt;/driver&gt;&lt;/model&gt;&lt;/interface&gt;"></code></pre>
]]></description><link>https://forum.netgate.com/topic/83158/carp-doesn-t-seem-to-work-over-macvtap</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:05:56 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/83158.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Apr 2015 23:52:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CARP doesn't seem to work over MacVTap on Wed, 22 Apr 2015 19:45:54 GMT]]></title><description><![CDATA[<p dir="auto">Found this… though it doesn't mention why exactly FreeBSD head fixes the issue: http://lists.freebsd.org/pipermail/freebsd-net/2015-March/041801.html</p>
]]></description><link>https://forum.netgate.com/post/538957</link><guid isPermaLink="true">https://forum.netgate.com/post/538957</guid><dc:creator><![CDATA[jsvg]]></dc:creator><pubDate>Wed, 22 Apr 2015 19:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to CARP doesn't seem to work over MacVTap on Wed, 22 Apr 2015 01:04:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm starting to think this is caused by something in the kvm/qemu/macvtap stack that isn't allowing mac or arp spoofing.</p>
<p dir="auto">Tried switching to e1000 drivers for the hell of it with no luck. I'm in Ubuntu Server 14.04. Does anyone else virtualize their firewall on KVM and use CARP??</p>
]]></description><link>https://forum.netgate.com/post/538594</link><guid isPermaLink="true">https://forum.netgate.com/post/538594</guid><dc:creator><![CDATA[jsvg]]></dc:creator><pubDate>Wed, 22 Apr 2015 01:04:29 GMT</pubDate></item></channel></rss>