From bfa28480cc1ed06115f5c569ac65ba60bb81c63a Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Mon, 4 Nov 2024 23:13:52 +0100 Subject: [PATCH] Enable promiscuous mode for macvtap devices Important to make multicast working --- src/run_openwrt.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/run_openwrt.sh b/src/run_openwrt.sh index 34e61b5..069e0bb 100755 --- a/src/run_openwrt.sh +++ b/src/run_openwrt.sh @@ -45,6 +45,10 @@ attach_eth_if () { #ip link add link $CONTAINER_IF name $QEMU_IF type macvtap mode bridge ip link add link $CONTAINER_IF name $QEMU_IF type macvtap mode passthru + # Enable multicast (important for IPv6) + #ip link set dev $QEMU_IF allmulticast on # not working for some reason + ip link set dev $QEMU_IF promisc on # lets use the hammer + # Create MAC address for new interface QEMU_MAC_OUI="52:54:00" read MAC