Files
cheatsheet-tldr/tldr/linux/ip-maddress
2025-03-08 00:14:59 +00:00

26 lines
574 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ip maddress
> Manage multicast addresses.
> More information: <https://manned.org/ip-maddress>.
- List multicast addresses and how many programs are subscribed to them:
`ip {{[m|maddress]}}`
- List device specific addresses:
`ip {{[m|maddress]}} show dev {{eth0}}`
- Join a multicast group statically:
`sudo ip {{[m|maddress]}} add {{33:33:00:00:00:02}} dev {{eth0}}`
- Leave a static multicast group:
`sudo ip {{[m|maddress]}} delete {{33:33:00:00:00:02}} dev {{eth0}}`