{"id":1979,"date":"2024-06-12T10:49:08","date_gmt":"2024-06-12T17:49:08","guid":{"rendered":"https:\/\/wp.c9h.org\/cj\/?p=1979"},"modified":"2024-06-12T10:54:10","modified_gmt":"2024-06-12T17:54:10","slug":"ipv6-multicast-support-on-libvirt-guests-using-macvtap","status":"publish","type":"post","link":"https:\/\/wp.c9h.org\/cj\/?p=1979","title":{"rendered":"IPv6 Multicast support on libvirt guests using macvtap"},"content":{"rendered":"<pre>#\n# Debian \/ libvirt\n#\n\n# By default, qemu guests network interfaces are created with the\n# trustGuestRxFilters attribute set to no.  This setting blocks\n# neighbor solicitation and other ipv6 multicast traffic.  To enable\n# neighbor solicitations, modify your interface definition in your\n# guest definition XML.\n\n# For example if you have a guest named bird0 with an interface\n# definition that looks like this:\n\n$ sudo virsh dumpxml bird0 | grep -A7 \"type='direct'\"\n    &lt;interface type='direct' trustGuestRxFilters='no'&gt;\n      &lt;mac address='52:54:00:AA:BB:CC'\/&gt;\n      &lt;source dev='ens2f0np0' mode='bridge'\/&gt;\n      &lt;target dev='macvtap3'\/&gt;\n      &lt;model type='virtio'\/&gt;\n      &lt;alias name='net4'\/&gt;\n      &lt;address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'\/&gt;\n    &lt;\/interface&gt;\n\n# Then use 'virsh edit bird0' change the attribute in the &lt;interface&gt;\n# element to have the value 'yes' instead:\n    &lt;interface type='direct' trustGuestRxFilters='yes'&gt;\n      &lt;mac address='52:54:00:AA:BB:CC'\/&gt;\n      &lt;source dev='ens2f0np0' mode='bridge'\/&gt;\n      &lt;target dev='macvtap3'\/&gt;\n      &lt;model type='virtio'\/&gt;\n      &lt;alias name='net4'\/&gt;\n      &lt;address type='pci' domain='0x0000' bus='0x09' slot='0x00' function='0x0'\/&gt;\n    &lt;\/interface&gt;\n\n# If the trustGuestRxFilters attribute is missing, it defaults to no,\n# so be sure that the attribute exists and that the attribute has a\n# value of 'yes'\n<\/pre>\n\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=cjamescollier\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p># # Debian \/ libvirt # # By default, qemu guests network interfaces are created with the # trustGuestRxFilters attribute set to no. This setting blocks # neighbor solicitation and other ipv6 multicast traffic. To enable # neighbor solicitations, modify your interface definition in your # guest definition XML. # For example if you have [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[322,60,17,79,217,196,47,163,102,261,197,184,127],"tags":[],"class_list":["post-1979","post","type-post","status-publish","format-standard","hentry","category-bookworm","category-colliertech","category-debian","category-free-software","category-kvm","category-libvirt","category-linux","category-networking","category-open-source","category-production","category-qemu","category-virtualization","category-washington"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1YDIB-vV","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/1979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1979"}],"version-history":[{"count":2,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/1979\/revisions"}],"predecessor-version":[{"id":1983,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=\/wp\/v2\/posts\/1979\/revisions\/1983"}],"wp:attachment":[{"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.c9h.org\/cj\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}