I cannot get multicast to work on the mesh network.

I have setup two mesh points on boards 1 and 2 (both OMAP3EVM boards):
On each board I set up the multicast route
# ip route add 224.0.0.0/4 dev mesh0
# echo 1 > /proc/sys/net/ipv4/ip_forward

And then ping the multicat address:
# ping -c 5 224.0.0.1
PING 224.0.0.1 (224.0.0.1): 56 data bytes

--- 224.0.0.1 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

This works when I do it on the ethernet interface, but not on the mesh. Any 
ideas what I am doing wrong?

Here is my configuration:
On board 1:

# uname -a
Linux Denon-Mediabridge 3.2.0-rc5 #3 SMP Mon Dec 19 11:44:52 EST 2011 armv7l 
GNU/Linux

# ifconfig mesh0
mesh0     Link encap:Ethernet  HWaddr F4:EC:38:85:14:EA  
          inet addr:169.254.1.3  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::f6ec:38ff:fe85:14ea/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:54 errors:0 dropped:0 overruns:0 frame:0
          TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7308 (7.1 KiB)  TX bytes:19477 (19.0 KiB)

# iw mesh0 mpath dump
DEST ADDR         NEXT HOP          IFACE       SN      METRIC  QLEN    EXPTIME 
        DTIM    DRET    FLAGS
f4:ec:38:85:bc:2d f4:ec:38:85:bc:2d mesh0       5       4294967295      0       
0       101     0       0x14

# iw mesh0 station dump
Station f4:ec:38:85:bc:2d (on mesh0)
        inactive time:  859 ms
        rx bytes:       74518
        rx packets:     1126
        tx bytes:       1895
        tx packets:     20
        tx retries:     0
        tx failed:      0
        signal:         -58 dBm
        signal avg:     -59 dBm
        tx bitrate:     15.0 MBit/s MCS 0 40Mhz short GI
        mesh llid:      55356
        mesh plid:      30792
        mesh plink:     ESTAB
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:              no

# iw mesh0 get mesh_param
mesh_retry_timeout = 100 milliseconds
mesh_confirm_timeout = 100 milliseconds
mesh_holding_timeout = 100 milliseconds
mesh_max_peer_links = 32
mesh_max_retries = 3
mesh_ttl = 31
mesh_element_ttl = 31
mesh_auto_open_plinks = 1
mesh_hwmp_max_preq_retries = 4
mesh_path_refresh_time = 1000 milliseconds
mesh_min_discovery_timeout = 100 milliseconds
mesh_hwmp_active_path_timeout = 5000 TUs
mesh_hwmp_preq_min_interval = 10 TUs
mesh_hwmp_net_diameter_traversal_time = 50 TUs
mesh_hwmp_rootmode = 0
mesh_hwmp_rann_interval = 5000
mesh_gate_announcements = 0

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.110.20.1     0.0.0.0         UG    0      0        0 eth0
10.110.20.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 mesh0
224.0.0.0       0.0.0.0         240.0.0.0       U     0      0        0 mesh0


On board 2:

# uname -a
Linux Denon-Mediabridge 3.2.0-rc5 #3 SMP Mon Dec 19 11:44:52 EST 2011 armv7l 
GNU/Linux

# ifconfig mesh0
mesh0     Link encap:Ethernet  HWaddr F4:EC:38:85:BC:2D  
          inet addr:169.254.1.2  Bcast:169.254.255.255  Mask:255.255.0.0
          inet6 addr: fe80::f6ec:38ff:fe85:bc2d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:108 errors:0 dropped:0 overruns:0 frame:0
          TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:14389 (14.0 KiB)  TX bytes:18414 (17.9 KiB)

# iw mesh0 mpath dump  
DEST ADDR         NEXT HOP          IFACE       SN      METRIC  QLEN    EXPTIME 
        DTIM    DRET    FLAGS
f4:ec:38:85:14:ea f4:ec:38:85:14:ea mesh0       5       4294967295      0       
0       101     0       0x4

# iw mesh0 station dump
Station f4:ec:38:85:14:ea (on mesh0)
        inactive time:  757 ms
        rx bytes:       101728
        rx packets:     1490
        tx bytes:       1833
        tx packets:     17
        tx retries:     0
        tx failed:      0
        signal:         -61 dBm
        signal avg:     -60 dBm
        tx bitrate:     135.0 MBit/s MCS 6 40Mhz short GI
        mesh llid:      30792
        mesh plid:      55356
        mesh plink:     ESTAB
        authorized:     yes
        authenticated:  yes
        preamble:       long
        WMM/WME:        yes
        MFP:            no
        TDLS peer:              no

# iw mesh0 get mesh_param
mesh_retry_timeout = 100 milliseconds
mesh_confirm_timeout = 100 milliseconds
mesh_holding_timeout = 100 milliseconds
mesh_max_peer_links = 32
mesh_max_retries = 3
mesh_ttl = 31
mesh_element_ttl = 31
mesh_auto_open_plinks = 1
mesh_hwmp_max_preq_retries = 4
mesh_path_refresh_time = 1000 milliseconds
mesh_min_discovery_timeout = 100 milliseconds
mesh_hwmp_active_path_timeout = 5000 TUs
mesh_hwmp_preq_min_interval = 10 TUs
mesh_hwmp_net_diameter_traversal_time = 50 TUs
mesh_hwmp_rootmode = 0
mesh_hwmp_rann_interval = 5000
mesh_gate_announcements = 0

# route -n      
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.110.20.1     0.0.0.0         UG    0      0        0 eth0
10.110.20.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 mesh0
224.0.0.0       0.0.0.0         240.0.0.0       U     0      0        0 mesh0
_______________________________________________
Devel mailing list
[email protected]
http://open80211s.com/mailman/listinfo/devel

Reply via email to