LinuxCommandLibrary

ip-maddress

manages link-layer multicast addresses

TLDR

List all multicast addresses

$ ip maddress
copy
List multicast addresses for a specific device
$ ip maddress show dev [eth0]
copy
Join a multicast group statically
$ sudo ip maddress add [33:33:00:00:00:02] dev [eth0]
copy
Leave a multicast group
$ sudo ip maddress delete [33:33:00:00:00:02] dev [eth0]
copy
Display help
$ ip maddress help
copy

SYNOPSIS

ip maddress [command] [options]

DESCRIPTION

ip maddress manages link-layer multicast addresses. It displays which multicast groups a device is subscribed to and allows manual addition or removal of static multicast memberships.
Multicast addresses enable one-to-many communication, where a single packet can be received by multiple hosts that have joined the multicast group. This is commonly used for service discovery, streaming, and cluster communication.

PARAMETERS

show [dev DEVICE]

Display multicast addresses (optionally for specific device)
add ADDRESS dev DEVICE
Join a multicast group on specified device
delete ADDRESS dev DEVICE
Leave a multicast group on specified device
help
Display help information

CAVEATS

Adding and deleting multicast addresses requires root privileges. Changes are not persistent across reboots. Application-level multicast (IGMP) is handled separately.

HISTORY

The ip maddress command is part of iproute2, the modern replacement for the older net-tools package. iproute2 was developed by Alexey Kuznetsov starting in 1999 to provide a unified interface to Linux networking features.

SEE ALSO

ip(8), ip-link(8), ip-address(8)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community