/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Standard Services
=================
  - UPNP/DLNA discovery service (only client-to-server path is multicast)
	239.255.255.250, port: 1900

Routing
=======
 - Static or dynamic routing service is required, e.g. 'smcroute'. The routing should be explicitely set
 in the configuration, /etc/smcroute.conf
        phyint eth0 enable
	phyint wlan0 enable
        mroute from eth0 group 239.255.255.250 to wlan0

 - Multicast packets has ttl=1 by default. For this route there should be a rule on multicast
   router to increment ttl in PREROUTING rule
	iptables -t mangle -A PREROUTING -i eth0 -d 239.255.255.250 -j TTL --ttl-inc 1

 - In case of problems
    * Check that multicast is enabled on corresponding interfaces
	ip link | grep MULTICAST
    to enable:
	ip link set dev lo multicast on

    * Multicast pings are only answered only if 'broadcast' icmp is allowed (this is not needed for service
      to fuction properly)
	 echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts