Re: (usagi-users 02872) Re: IPv6 multicast in 2.4.25 broken?

From: Ignacy Gawedzki (Ignacy.Gawedzki_at_lri.fr)
Date: 03/31/04

  • Next message: Trond Myklebust: "Re: kernel 2.6.4 and nfs lockd.udpport?"
    Date:	Wed, 31 Mar 2004 17:57:52 +0200
    To: usagi-users@linux-ipv6.org
    
    

    On Wed, Mar 31, 2004 at 10:01:29PM +0900, thus spake Takashi Hibi:
    > Isn't it related to the patch (usagi-users 02627)?
    > http://www2.linux-ipv6.org/ml/usagi-users/msg02626.html
    >
    > If the socket is bound to non-multicast address, it can't receive
    > multicast packets.

    This is why it doesn't work anymore, as it shouldn't have in the first
    place. Thanks for pointing this out. I did not know that source
    address selection is automatic, depending on the multicast address
    prefix (ff05::/16, ff02::/16, etc) and the IPV6_MULTICAST_IF option, so
    I instinctively did bind the socket to the unicast address and not the
    multicast address.

    Now it seems to work like a charm. =)

    Thanks,

    Ignacy

    -- 
    To err is human, to moo bovine.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Trond Myklebust: "Re: kernel 2.6.4 and nfs lockd.udpport?"

    Relevant Pages

    • Re: socket question: how to use sendto and recvfrom based on the same multicast address
      ... Why don't you just use the same socket for both send and receive? ... multicast address and receive other data from others on the samd ... closesocket; ... if (setsockopt (sockrcv, ...
      (microsoft.public.windowsce.platbuilder)
    • AF_IPN: Inter Process Networking, try these...
      ... If you suspect we would be better using IP multicast, ... Exercise #1. ... I Create a IPN socket, with protocol IPN_VDESWITCH and all the VM can ... or a binary stream. ...
      (Linux-Kernel)
    • Re: Too much multicasting in Linux
      ... > that didn't join the multicast address where the data is being sent. ... > the interface 0.0.0.0 causes them to receive all data. ... if I have a socket that joins the SAME ... > multicast group but is tied to a different interface it will not receive ...
      (comp.os.linux.networking)
    • Re: divert and deadlock issues
      ... multicast socket options to a divert socket, ... socket that originally sent the multicast packet itself. ... They shouldn't be necessary, however I can foresee situations where someone might well want to redirect multicast datagrams traversing an IPPROTO_DIVERT socket, by using these socket options. ... a divert injection should occur at teh position of the firewall ...
      (freebsd-net)
    • Re: WSASocket FAILS for multicast options..
      ... CE supports multicasting using Berkeley calls. ... // Set up the socket. ... We aren't associated with a multicast ... Paul T. ...
      (microsoft.public.windowsce.app.development)