Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
# Create a new mcast group.
# Remember to keep it in the 239.0.0.0-239.255.255.255 range.
$ sudo smcroute -j enp0s31f6 239.0.0.1

# Verify
$ ip maddr show enp0s31f6 
       inet  239.0.0.1
       inet  224.0.0.251 users 5
       inet  224.0.0.1
       inet6 ff02::fb

$ ping 239.0.0.1
PING 239.0.0.1 (239.0.0.1) 56(84) bytes of data.
64 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.031 ms

# Leave
$ sudo smcroute -l enp0s31f6 239.0.0.1

Zeroconf

Uses multicast, typically on When zeroconf, or more officially named DNS-SD (DNS Service Discovery) uses multicast (it doesn’t have to), it will use IPv4 address 224.0.0.251 or IPv6 address ff02::fb and UDP port 5353.

Programming