Skip to content

Commit

Permalink
deploy: 67d28f3
Browse files Browse the repository at this point in the history
  • Loading branch information
astro committed Dec 15, 2023
1 parent f0eb391 commit 096a157
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 108 deletions.
4 changes: 3 additions & 1 deletion interfaces.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ <h2 id="type--tap"><a class="header" href="#type--tap"><code>type = &quot;tap&qu
interfaces before starting a MicroVM:</p>
<pre><code class="language-bash">sudo ip tuntap add $IFACE_NAME mode tap user $USER
</code></pre>
<p><strong>Note:</strong> add <code>multi_queue</code> to this command line if the VM is configured
with more than one CPU core.</p>
<p>When running MicroVMs through the <code>host</code> module, the tap network
interfaces are created through a systemd service dependency.</p>
<h2 id="type--macvtap"><a class="header" href="#type--macvtap"><code>type = &quot;macvtap&quot;</code></a></h2>
Expand All @@ -217,7 +219,7 @@ <h2 id="type--macvtap"><a class="header" href="#type--macvtap"><code>type = &quo
# Obtain the interface index number
IFINDEX=$(cat /sys/class/net/$ID/ifindex)
# Grant yourself permission
chown $USER /dev/tap$IFINDEX
sudo chown $USER /dev/tap$IFINDEX
</code></pre>
<p>When running MicroVMs through the <code>host</code> module, the macvtap network
interfaces are created through a systemd service dependency. Per
Expand Down
Loading

0 comments on commit 096a157

Please sign in to comment.