routing multicast traffic

routing multicast traffic

Post by Nico » Mon, 08 Nov 2004 20:10:43



Please help me!I've got a linksys wrt54g router(which is a linux machine)
with wifibox firmware, when the router is reached by a multicast stream
(from outside) it doesn't forward it to che
clients connected to it... how do I leave the UDP multicast reach the
clients
connected to the router?here is my configuration:
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
137.8.32.0        *               255.255.255.0   U     0      0        0
vlan1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         137.8.32.1        0.0.0.0         UG    0      0        0
vlan1

# ifconfig
br0       Link encap:Ethernet  HWaddr 00:0F:66:XX:XX:01
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4209 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:354443 (346.1 KiB)  TX bytes:2118141 (2.0 MiB)

eth0      Link encap:Ethernet  HWaddr 00:0F:66:XX:XX:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:759050 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2564 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:1034151201 (986.2 MiB)  TX bytes:264139 (257.9 KiB)
          Interrupt:5 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:0F:66:XX:XX:03
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4207 errors:0 dropped:0 overruns:0 frame:2
          TX packets:5534 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:413329 (403.6 KiB)  TX bytes:2248305 (2.1 MiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

vlan0     Link encap:Ethernet  HWaddr 00:0F:66:XX:XX:01
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1416 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:104764 (102.3 KiB)

vlan1     Link encap:Ethernet  HWaddr 00:XX:XX:51:D0:02
          inet addr:137.8.32.58  Bcast:137.8.32.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:759051 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1148 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1020489649 (973.2 MiB)  TX bytes:159375 (155.6 KiB)

# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere            state NEW
ACCEPT     all  --  anywhere             anywhere            state NEW
DROP       tcp  --  anywhere             anywhere            tcp dpt:telnet
DROP       icmp --  anywhere             anywhere

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
DROP       tcp  --  anywhere             anywhere            tcp dpt:1723
DROP       udp  --  anywhere             anywhere            udp dpt:l2tp
DROP       udp  --  anywhere             anywhere            udp dpt:isakmp
lan2wan    all  --  anywhere             anywhere
ACCEPT     udp  --  anywhere             192.168.1.103       udp dpt:11111
ACCEPT     all  --  anywhere             anywhere            state
RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere            state NEW

 
 
 

routing multicast traffic

Post by Gernot W. Schmie » Sun, 14 Nov 2004 01:46:48



> Please help me!I've got a linksys wrt54g router(which is a linux machine)
> with wifibox firmware, when the router is reached by a multicast stream
> (from outside) it doesn't forward it to che
> clients connected to it...

Hi,

Does not surprise me, why should it? It does not run a multicast routing
daemon such as mrouted, pimd or XORP. Just because it is able to route
unicast traffic does not necessarily mean it can do that with multicast
traffic as well. You could setup static multicast routes with tools such
as smcroute though.

hth,
Gernot Schmied

 
 
 

1. Multicast Traffic Over Two Interfaces

Hello All:

I have a linux box with two interfaces (eth0 & eth1).  I run an
application on the linux box which generates multicast traffic.  By
adding a multicast route I can get the multicast traffic to go over
one of the interfaces at a time.

Is there anyway I can get the multicast traffic to travel over both of
the interfaces at the same time?  If so, how would I enter a route in
the table for this scenario.

Cheers!

Jim

2. AIX-Data Explorer nightmare

3. Periodic multicast traffic - why?

4. 2.4.6-ac3 Oops

5. Help in dropping inbound multicast and unicast UDP traffic.

6. Need help partitioning

7. Multicast traffic received from an IP-in-IP tunnel does not get forwarded

8. Custom Jumpstart Scripts for Handsfree Installs

9. adding multicast route to the kernel

10. routed for multicast ?

11. Help Multicast routing under Linux

12. multicast routing

13. How to set multicast routes ?