mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-04 19:44:05 +00:00
26 lines
542 B
Plaintext
26 lines
542 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 maddress`
|
|
|
|
- List device specific addresses:
|
|
|
|
`ip maddress show dev {{eth0}}`
|
|
|
|
- Join a multicast group statically:
|
|
|
|
`sudo ip maddress add {{33:33:00:00:00:02}} dev {{eth0}}`
|
|
|
|
- Leave a static multicast group:
|
|
|
|
`sudo ip maddress delete {{33:33:00:00:00:02}} dev {{eth0}}`
|