<?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[New VM MAC address restriction]]></title><description><![CDATA[<p dir="auto">Maybe this has been answered somewhere else and my quick search couldn't work out the keywords.</p>
<p dir="auto">I'm looking to restrict (or at least set a default) for MAC address usage in XO/XCP-ng.  In VMware, MAC addresses were limited to 00:50:56 (vCenter created) or 00:0c:29 (ESXi created) as a default.  We currently use those first 6 octets to distinguish VMs from baremetal resources discovered on our network.  I'm curious if there is a means of doing something like that as a default, in a template, etc.  I understand individuals may be able to change it after the fact, but if I can set a standard for those first 6 inside XO/XCP-ng, it will make our VM create processes work better with our existing network discovery processes.</p>
]]></description><link>https://xcp-ng.org/forum/topic/8672/new-vm-mac-address-restriction</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Nov 2026 22:18:12 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/8672.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Mar 2024 19:05:56 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New VM MAC address restriction on Tue, 26 Nov 2024 13:56:59 GMT]]></title><description><![CDATA[<p dir="auto">FYI, Xen has a registered OUI: <code>00:16:3E</code></p>
<p dir="auto">edit: I didn't read <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> previous post mentioning the OUI <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto"><img src="/forum/assets/uploads/files/1732627775032-xen-oui.png" alt="xen-oui.png" class="img-markdown  img-fluid" /></p>
<hr />
<p dir="auto">Source: <a href="https://www.macvendorlookup.com" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.macvendorlookup.com</a></p>
]]></description><link>https://xcp-ng.org/forum/post/86248</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86248</guid><dc:creator><![CDATA[tuxen]]></dc:creator><pubDate>Tue, 26 Nov 2024 13:56:59 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Tue, 26 Nov 2024 13:16:38 GMT]]></title><description><![CDATA[<p dir="auto">It's not ridiculous, but it's always things to manage in our backlog. I would love to do everything at once (even if we grow fast, the backlog is still larger than our workforce). At least, it's planned.</p>
]]></description><link>https://xcp-ng.org/forum/post/86239</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86239</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Tue, 26 Nov 2024 13:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Tue, 26 Nov 2024 13:09:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/mdraugh" aria-label="Profile: mdraugh">@<bdi>mdraugh</bdi></a> sure.</p>
<p dir="auto">As workaround you can create simple table with MAC-IP-VM fields, and simple script to deploy new VM with first "free" MAC. Yes, it sounds like to develop your own XO, but I belive it should help alot.</p>
]]></description><link>https://xcp-ng.org/forum/post/86237</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86237</guid><dc:creator><![CDATA[splastunov]]></dc:creator><pubDate>Tue, 26 Nov 2024 13:09:56 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Tue, 26 Nov 2024 13:03:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/splastunov" aria-label="Profile: splastunov">@<bdi>splastunov</bdi></a> -- not a problem if you have the time and can train all your people (and have them remember each time) to do this manual workaround and independently select a unique MAC, which will require having a list they can easily check (and keep updated!) so they don't duplicate a MAC.  On the other hand, every other virtualization platform I've used has either had a fixed OUI or a settable OUI, so I don't think this is ridiculous to ask for.</p>
]]></description><link>https://xcp-ng.org/forum/post/86236</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86236</guid><dc:creator><![CDATA[mdraugh]]></dc:creator><pubDate>Tue, 26 Nov 2024 13:03:40 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Tue, 26 Nov 2024 09:13:50 GMT]]></title><description><![CDATA[<p dir="auto">It is not a problem at all.</p>
<p dir="auto">You can always set MAC manually, or create VIF with certain MAC via XAPI or cli.</p>
<p dir="auto">Link to XAPI <a href="https://xapi-project.github.io/xen-api/classes/vif.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://xapi-project.github.io/xen-api/classes/vif.html</a><br />
check create method.</p>
<p dir="auto">Cli command<br />
<code>xe vif-create vm-uuid=&lt;VM UUID&gt; network-uuid=&lt;NETWORK UUID&gt; device=&lt;ETHERNET INTERFACE NUMBER&gt; mac=&lt;MAC ADDRESS&gt;</code><br />
<code>Device</code> could be in range 0-15<br />
<code>MAC</code> in format XX:XX:XX:XX:XX:XX</p>
<p dir="auto">After you need "activate" new VIF by command<br />
<code>xe vif-plug uuid=&lt;VIF UUID&gt;</code><br />
If VM does not running <code>xe-guest-tools</code> you have to switch off VM and power it on again to activate new VIF.</p>
]]></description><link>https://xcp-ng.org/forum/post/86216</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86216</guid><dc:creator><![CDATA[splastunov]]></dc:creator><pubDate>Tue, 26 Nov 2024 09:13:50 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Mon, 25 Nov 2024 19:31:17 GMT]]></title><description><![CDATA[<p dir="auto">I'm in the same boat -- this totally-random-MAC system is causing serious problems with my system inventory.  Can we get this moved up on the priority list somehow?  It seems like a pretty simple change.</p>
]]></description><link>https://xcp-ng.org/forum/post/86201</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/86201</guid><dc:creator><![CDATA[mdraugh]]></dc:creator><pubDate>Mon, 25 Nov 2024 19:31:17 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Mon, 08 Apr 2024 07:27:35 GMT]]></title><description><![CDATA[<p dir="auto">It's in the backlog indeed but I don't know when the ETA to start this.<br />
I guess an issue in the xen-api repo would be a good first step to see what the XAPI team think of the feature.</p>
]]></description><link>https://xcp-ng.org/forum/post/75061</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/75061</guid><dc:creator><![CDATA[BenjiReis]]></dc:creator><pubDate>Mon, 08 Apr 2024 07:27:35 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Sat, 06 Apr 2024 16:20:37 GMT]]></title><description><![CDATA[<p dir="auto">It's doable but it's not yet on top priority list to our work on getting 8.3 released. But IIRC it's in our backlog, right <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/benjireis" aria-label="Profile: BenjiReis">@<bdi>BenjiReis</bdi></a> ?</p>
]]></description><link>https://xcp-ng.org/forum/post/75001</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/75001</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sat, 06 Apr 2024 16:20:37 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Fri, 05 Apr 2024 20:23:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/olivierlambert" aria-label="Profile: olivierlambert">@<bdi>olivierlambert</bdi></a> Did anything ever come of this?</p>
]]></description><link>https://xcp-ng.org/forum/post/74986</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74986</guid><dc:creator><![CDATA[jimmymiller]]></dc:creator><pubDate>Fri, 05 Apr 2024 20:23:48 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Fri, 22 Mar 2024 22:12:39 GMT]]></title><description><![CDATA[<p dir="auto">Pinging <a class="plugin-mentions-user plugin-mentions-a" href="/forum/user/benjireis" aria-label="Profile: BenjiReis">@<bdi>BenjiReis</bdi></a> as a reminder so we can discuss this somewhere next week <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/74025</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74025</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 22 Mar 2024 22:12:39 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Fri, 22 Mar 2024 22:12:22 GMT]]></title><description><![CDATA[<p dir="auto">That's the part we need to change:<br />
<a href="https://github.com/xapi-project/xen-api/blob/master/ocaml%2Fxapi%2Fxapi_vif_helpers.ml#L209" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/xapi-project/xen-api/blob/master/ocaml%2Fxapi%2Fxapi_vif_helpers.ml#L209</a></p>
<p dir="auto">But I think using the Xen OUI by default (<code>00:16:3e</code>) could leak information on the hypervisor used <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:1.4em;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /> So we need to make it configurable. A XAPI issue will come next week and we'll see how to work with it <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/74024</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74024</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 22 Mar 2024 22:12:22 GMT</pubDate></item><item><title><![CDATA[Reply to New VM MAC address restriction on Fri, 22 Mar 2024 21:32:15 GMT]]></title><description><![CDATA[<p dir="auto">Hey <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">Thanks for your feedback, asking around <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=566b705aef6" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/74021</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/74021</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Fri, 22 Mar 2024 21:32:15 GMT</pubDate></item></channel></rss>