Remove multicast address from interface

Rick Quistorff 41 Reputation points
2020-11-12T18:25:45.163+00:00

I've got a machine that is no longer taking or sending out multicast messages. I'm pretty sure it's because there is a conflict with the scope and reference. Other machines don't have the join shown in the picture. How do I remove the multicast join on the Loopback and and the Ethernet0 interfaces? I've tried ip route delete and it doesn't work since it's not in the Active routes. I've looked all over and don't see a reference anywhere on how to do this outside of third party utilities.

39446-multicast.png

Windows Network
Windows Network
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Network: A group of devices that communicate either wirelessly or via a physical connection.
697 questions
0 comments No comments
{count} votes

Accepted answer
  1. Candy Luo 12,686 Reputation points Microsoft Vendor
    2020-11-13T09:15:54.973+00:00

    Hi ,

    The IGMP level specifies the level of multicast support. The IGMP level specifies the level of multicast support. The acceptable values for this parameter are:

    • None
    • SendOnly
    • All

    You can use get-NetIPv4Protocol to see IGMP level. None means no multicast support.

    And use Set-NetIPv4Protocol to specify a value for Internet Group Management Protocol (IGMP) level.

    For your reference:

    Set-NetIPv4Protocol

    Best Regards,

    Candy

    --------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Rich Matheisen 45,596 Reputation points
    2020-11-12T19:35:35.14+00:00

    Have you tried using the Remove-NetIPAddress cmdlet?

    0 comments No comments

  2. Rick Quistorff 41 Reputation points
    2020-11-12T20:21:47.617+00:00

    Thank you for the reply! Yes, I have tried that cmdlet. Every way comes back with an error :

    Remove-NetIPAddress : No matching MSFT_NetIPAddress objects found by CIM query for instances of the ROOT/StandardCimv2/MSFT_NetIPAddress class on the cim server: SELECT * FROM MSFT_NetIPAddress WHERE ((IPAddress LIKE '239.255.255.250')) AND ((InterfaceIndex = 1)). Verify query parameters and retry.
    At Line:1 char:1
    Remove-NetIPAddress -InterfaceIndex 1 -IPAddress 239.255.255.250
    CategoryInfo : ObjectNotFound: (MSFT_NetIPAddress:String) [Remove-NetIPAddress], CimJobException
    FullyQualifiedErrorID : Cmdletizationquery_NotFound,Remove-NetIPAddress

    If I run the cmdlet without specifying, it wants to remove all the addresses assigned to the adapters and that's not desirable.

    I found this, but I'm not sure how to use it to accomplish the end goal
    https://video2.skills-academy.com/en-us/dotnet/api/system.net.sockets.udpclient.dropmulticastgroup?view=net-5.0#System_Net_Sockets_UdpClient_DropMulticastGroup_System_Net_IPAddress_