2025-03-14 21:59:59 -06:00
|
|
|
# ip maddress
|
|
|
|
|
|
|
|
|
|
> Manage multicast addresses.
|
|
|
|
|
> More information: <https://manned.org/ip-maddress>.
|
|
|
|
|
|
|
|
|
|
- List multicast addresses and how many programs are subscribed to them:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`ip {{[m|maddress]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List device specific addresses:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`ip {{[m|maddress]}} {{[s|show]}} dev {{eth0}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Join a multicast group statically:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo ip {{[m|maddress]}} {{[a|add]}} {{33:33:00:00:00:02}} dev {{eth0}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Leave a static multicast group:
|
|
|
|
|
|
2025-03-19 19:23:44 -06:00
|
|
|
`sudo ip {{[m|maddress]}} {{[d|delete]}} {{33:33:00:00:00:02}} dev {{eth0}}`
|
2025-04-03 20:36:56 -06:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`ip {{[m|maddress]}} {{[h|help]}}`
|