Multicast route table
Hi there people!
I have a linux box as a multi-homed host, 3 interfaces, and I want to route a multicast traffic that comes in one of the interface to another, let´s say, eth0 receveis the multicast and I want eth1 to forward it.
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth1
Then my route table is:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.5.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 192.168.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 224.0.0.0 0.0.0.0 240.0.0.0 U 0 0 0 eth1
0.0.0.0 192.168.1.250 0.0.0.0 UG 0 0 0 eth0
But when I tcpdump the interfaces, I see that all interfaces still have the traffic. Does anybody could have an idea ?
Thank´s in advance !
---
Marcos Gileno M. Santos
SysAdmin - DIGILAB S.A.
(48) 3234-4041 r.215
"CONFIDENCIAL: As informações contidas nesta mensagem são de propriedade da DIGILAB. Caso não seja o destinatário favor contatar imediatamente o remetente e eliminar esta mensagem sem a reproduzir, armazenar ou divulgar a qualquer entidade".
"CONFIDENTIALITY: The information contained in this message is the sole property of Digilab. In case you are not the intended addressee of this message, please notify the sender immediately and delete this message without reproducing, storing or publishing it".
Quoted 3 lines · Marcos Gileno
Hi there people!
I have a linux box as a multi-homed host, 3 interfaces, and I want to route a multicast traffic that comes in one of the interface to another, let´s say, eth0 receveis the multicast and I want eth1 to forward it.
I guess you need a daemon like smcroute
www.cschill.de/smcroute/ was OK on 2.6s last time I tried.
I only ever did enough with multicast routing to get what I wanted working, so don't know all the ins and outs, but for locally generated traffic it seems that the interface with the mcast route will get it.
Maybe it's because I was comparing pppX and ethX rather than eths, but by default local generated mcast would go out on ppp0(default route created by pppd) which was not what I wanted, doing -
ip ro add dev br0 224.0.0.0/4
stopped it going out on ppp0 - Maybe what you see is because tcpdump puts ethX into promisc or something.
Andy.
Ok andy !
I already solved my problem. Actually I did not need to forward the multicast traffic with only one interface anymore. The system worked fine with the multicast coming from all the interfaces. But I really appreciated your atention.
Best regards
Marcos Gileno.
----- Original Message ----- From: "Andy Furniss" <[email protected]>
To: "Marcos Gileno" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, November 22, 2006 4:25 PM
Subject: Re: Multicast route table
Quoted 28 lines
Quoted 3 lines · Marcos Gileno
Hi there people!
I have a linux box as a multi-homed host, 3 interfaces, and I want to route a multicast traffic that comes in one of the interface to another, let´s say, eth0 receveis the multicast and I want eth1 to forward it.
I guess you need a daemon like smcroute
www.cschill.de/smcroute/ was OK on 2.6s last time I tried.
I only ever did enough with multicast routing to get what I wanted working, so don't know all the ins and outs, but for locally generated traffic it seems that the interface with the mcast route will get it.
Maybe it's because I was comparing pppX and ethX rather than eths, but by default local generated mcast would go out on ppp0(default route created by pppd) which was not what I wanted, doing -
ip ro add dev br0 224.0.0.0/4
stopped it going out on ppp0 - Maybe what you see is because tcpdump puts ethX into promisc or something.
Andy.
Signature · 3 lines
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.430 / Virus Database: 268.14.13/546 - Release Date: 22/11/2006 09:01