/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Linux/network/multicast/multicast.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2023-01-22 13:43:11 UTC
  • Revision ID: csa@suren.me-20230122134311-zqe3ft10p33wqgfv
BMC/IPMI, smarthome, multicast-routing

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Standard Services
 
2
=================
 
3
  - UPNP/DLNA discovery service (only client-to-server path is multicast)
 
4
        239.255.255.250, port: 1900
 
5
 
 
6
Routing
 
7
=======
 
8
 - Static or dynamic routing service is required, e.g. 'smcroute'. The routing should be explicitely set
 
9
 in the configuration, /etc/smcroute.conf
 
10
        phyint eth0 enable
 
11
        phyint wlan0 enable
 
12
        mroute from eth0 group 239.255.255.250 to wlan0
 
13
 
 
14
 - Multicast packets has ttl=1 by default. For this route there should be a rule on multicast
 
15
   router to increment ttl in PREROUTING rule
 
16
        iptables -t mangle -A PREROUTING -i eth0 -d 239.255.255.250 -j TTL --ttl-inc 1
 
17
 
 
18
 - In case of problems
 
19
    * Check that multicast is enabled on corresponding interfaces
 
20
        ip link | grep MULTICAST
 
21
    to enable:
 
22
        ip link set dev lo multicast on
 
23
 
 
24
    * Multicast pings are only answered only if 'broadcast' icmp is allowed (this is not needed for service
 
25
      to fuction properly)
 
26
         echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts