<?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[How to pass MAC address to pfSense VM]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I tried to run xcp-NG on both Hetzner and OVH and I have the same issue on both platform. I manged to get pfSense running in the VM and I can get the WAN and LAN working. I ordered more IP to be used as NAT port forwarding but I cannot figure out how to set the MAC address. I tried to add the MACt to the VM but that didn't work. Has anyone got xcp-ng working on either platforms?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://xcp-ng.org/forum/topic/9889/how-to-pass-mac-address-to-pfsense-vm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 16 Oct 2026 09:21:08 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/9889.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 28 Oct 2024 14:35:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to pass MAC address to pfSense VM on Tue, 29 Oct 2024 16:42:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> This is what is currently have:</p>
<pre><code>[16:39 xc-ng-hv1-fi ~]# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 0
</code></pre>
<p dir="auto">Is setting the value to 1 all O need to do? <code>net.ipv4.ip_forward = 1</code> in <code>/etc/sysctl.conf</code></p>
]]></description><link>https://xcp-ng.org/forum/post/85044</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85044</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Tue, 29 Oct 2024 16:42:15 GMT</pubDate></item><item><title><![CDATA[Reply to How to pass MAC address to pfSense VM on Tue, 29 Oct 2024 16:35:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> said in <a href="/forum/post/85040">How to pass MAC address to pfSense VM</a>:</p>
<blockquote>
<p dir="auto">then setup the 1st usable IPv4 from the /29 IPv4 subnet on an internal interface.</p>
</blockquote>
<p dir="auto">Can this be the pfSense WAN?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> said in <a href="/forum/post/85040">How to pass MAC address to pfSense VM</a>:</p>
<blockquote>
<p dir="auto">setup IPv4 forwarding on the dom0 by editing the sysctl</p>
</blockquote>
<p dir="auto">Would you mind sharing how to do that?</p>
]]></description><link>https://xcp-ng.org/forum/post/85043</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85043</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Tue, 29 Oct 2024 16:35:40 GMT</pubDate></item><item><title><![CDATA[Reply to How to pass MAC address to pfSense VM on Tue, 29 Oct 2024 16:09:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/fred974" aria-label="Profile: fred974">@<bdi>fred974</bdi></a> said in <a href="/forum/post/85019">How to pass MAC address to pfSense VM</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> do you use 2 IP subnet? 1x for xcp-ng management + ssh and another extra that you use for the VMs or is it all 1 single subnet? Also did you requested separate MAC on Hetzner backend or left it as is?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> said in <a href="/forum/post/84947">How to pass MAC address to pfSense VM</a>:</p>
<blockquote>
<p dir="auto">We then enabled forwarding on the xcp-ng host and setup the first usable IP as "local" subnet</p>
</blockquote>
<p dir="auto">How did you achieve this? Thank you very much in advance. I really appreciate the feedback..</p>
</blockquote>
<p dir="auto">1 IPv4 on the dom0, the one that came with the server. Then we ordered a /29 IPv4 subnet which is routed to the dom0 IPv4 address.<br />
You then need to setup IPv4 forwarding on the dom0 by editing the sysctl and then setup the 1st usable IPv4 from the /29 IPv4 subnet on an internal interface.</p>
<p dir="auto">I just created a dummy vlan interface and put it there and that worked fine.</p>
]]></description><link>https://xcp-ng.org/forum/post/85040</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85040</guid><dc:creator><![CDATA[nikade]]></dc:creator><pubDate>Tue, 29 Oct 2024 16:09:48 GMT</pubDate></item><item><title><![CDATA[Reply to How to pass MAC address to pfSense VM on Tue, 29 Oct 2024 11:50:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> do you use 2 IP subnet? 1x for xcp-ng management + ssh and another extra that you use for the VMs or is it all 1 single subnet? Also did you requested separate MAC on Hetzner backend or left it as is?</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/nikade" aria-label="Profile: nikade">@<bdi>nikade</bdi></a> said in <a href="/forum/post/84947">How to pass MAC address to pfSense VM</a>:</p>
<blockquote>
<p dir="auto">We then enabled forwarding on the xcp-ng host and setup the first usable IP as "local" subnet</p>
</blockquote>
<p dir="auto">How did you achieve this? Thank you very much in advance. I really appreciate the feedback..</p>
]]></description><link>https://xcp-ng.org/forum/post/85019</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/85019</guid><dc:creator><![CDATA[fred974]]></dc:creator><pubDate>Tue, 29 Oct 2024 11:50:52 GMT</pubDate></item><item><title><![CDATA[Reply to How to pass MAC address to pfSense VM on Mon, 28 Oct 2024 14:45:55 GMT]]></title><description><![CDATA[<p dir="auto">Used Hetzner many times with xcp-ng and pfsense, we ordered a subnet which was routed to the xcp-ng host.<br />
We then enabled forwarding on the xcp-ng host and setup the first usable IP as "local" subnet and then we were able to use the rest of the IP's on our VM's using that first IP as default gateway.</p>
]]></description><link>https://xcp-ng.org/forum/post/84947</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/84947</guid><dc:creator><![CDATA[nikade]]></dc:creator><pubDate>Mon, 28 Oct 2024 14:45:55 GMT</pubDate></item></channel></rss>