[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 02860) Multicast and multiple interfaces



Hi,

I'm currently working on a project involving multicasting (broadcasting
really) on several interfaces (http://qolsr.lri.fr).

Everything went quite fine until I tested the project on a 2.4.25 kernel
with the USAGI patches.

Until now, what I did was binding to the device using SO_BINDTODEVICE,
binding on the interface's site-local address, setting the socket's
multicast interface using IPV6_MULTICAST_IF, and joining the ff05::1
multicast group using IPV6_ADD_MEMBERSHIP.  Additionnaly, I disabled
multicast looping using IPV6_MULTICAST_LOOP.

Now, I just can't get the thing working properly.  Moreover, the
behavior is changing without any apparent reason.  For example, it may
add some routes for ff00::/8 via some interfaces and route both sockets'
data through the same interface, despite all the bindings.

This begins to drive me crazy, so I would like to ask if anyone knows of
a way to achieve that goal.  Put simply, what I want to do is broadcast
interface-specific packets on each one of them.  Is there any place
where the travel of a packet inside the kernel and though the routing
tables is described, so I could figure out what is it I'm doing wrong?

Thanks in advance for any help. =)

-- 
If you're not living on the edge, you're taking up too much space.