Multicasting
The purpose of that article is to explain how to set the lidar to make him sending data to a multicast address.
The lidar data will be then available for every client on the same network.
Instructions
Set the lidar with a fixed IP
Set your clients to be on the same network than the lidar.
Set the udp_address parameter with a multicast IP
Important IPv4 Multicast Address Ranges:
224.0.0.0 - 224.0.0.255: Link-Local Addresses These addresses are reserved for multicast communication within a local network segment (LAN). Routers should never relay traffic destined for these addresses beyond the local segment. Common examples (to avoid for your own applications): 224.0.0.1: All hosts on the local segment. 224.0.0.2: All multicast routers on the local segment. 224.0.0.22: IGMPv3/MLDv2 Router Solicitation. For your use (if limited to the local network): You could choose a non-reserved address in the range 224.0.0.100 to 224.0.0.255.
224.0.1.0 - 238.255.255.255: Globally Scoped Addresses These addresses are intended for use for multicast across multiple network segments, and even on the Internet (although global multicast on the Internet is rare in practice). Recommendation: If you are potentially considering extending the reception of your stream beyond your local network (which is probably not your current case with APIPA addresses), you would choose an address in this range. Managing and routing these addresses can be complex.
239.0.0.0 - 239.255.255.255: Administratively Scoped Addresses These addresses are intended for use within a private administrative domain (for example, a corporate network). They are not routed on the public Internet. Recommendation: This is generally the most recommended range for internal multicast applications within an organization. You have greater freedom of choice without risking conflicts with public multicast addresses.
Within 224.0.0.0 - 224.0.0.255 : some addresses are reserved
(From Gemini AI)
Here is a list of the most common reserved addresses in the IPv4 link-local multicast range (224.0.0.0 - 224.0.0.255). It is generally advisable to avoid using these addresses for your own applications to prevent conflicts with existing network protocols:
224.0.0.1: All Hosts on a Local Network Segment - All IP-compatible systems are required to listen to this address.
224.0.0.2: All Multicast Routers on a Local Network Segment - Used by multicast routing protocols.
224.0.0.3: Reserved
224.0.0.4: DVMRP Routers (Distance Vector Multicast Routing Protocol)
224.0.0.5: OSPFv2 All Routers (Open Shortest Path First version 2)
224.0.0.6: OSPFv2 Designated Routers (Open Shortest Path First version 2) 224.0.0.7: ST Routers (Stream Protocol experimental)
224.0.0.8: ST Hosts (Stream Protocol)
224.0.0.9: RIPv2 Routers (Routing Information Protocol version 2)
224.0.0.10: EIGRP Routers (Enhanced Interior Gateway Routing Protocol)
224.0.0.11: Mobile-Agents (for IP mobility)
224.0.0.12: DHCP Server Agents (Dynamic Host Configuration Protocol)
224.0.0.13: PIMv1 Routers (Protocol Independent Multicast version 1)
224.0.0.14: RSVP-ENCAPSULATION (Resource Reservation Protocol)
224.0.0.15: CBR Application (Constant Bit Rate)
224.0.0.16: LDP Discovery Protocol (Label Distribution Protocol)
224.0.0.17: Reliable Multicast Transport Protocol (RMTP)
224.0.0.18: Multicast Transport Protocol (MTP)
224.0.0.19: Cisco Group Management Protocol (CGMP)
224.0.0.20: ISIS Routers (Intermediate System to Intermediate System)
224.0.0.21: Reserved for IANA (Internet Assigned Numbers Authority)
224.0.0.22: IGMPv3/MLDv2 Router Solicitation (Internet Group Management Protocol version 3 / Multicast Listener Discovery version 2)
224.0.0.23: IGMPv3/MLDv2 Router Advertisement (Internet Group Management Protocol version 3 / Multicast Listener Discovery version 2)
224.0.0.24: Reserved for IANA
224.0.0.25: Link-local Multicast Name Resolution (LLMNR)
224.0.0.26: mDNS (Multicast DNS)
224.0.0.102: HSRP (Hot Standby Router Protocol) version 2
If you use a basic switch, it will act like a hub for multicast traffic. it will receive the packets sent to the address 224.0.0.100 on the port where the lidar is connected and will flood them onto all other ports.
If the switch supports IGMP snooping, it will send data only to clients that joined the specific multicast group.
Highlight important information in a panel like this one. To edit this panel's color or style, select one of the options in the menu.