>
>
> Yea, you are kinda' right. I want the daemon to listen on any and all
> interfaces
> ie. 0.0.0.0. But it seems that when the slp daemon starts up, and there is
> not
> default gw, the multicast setup fails. This is probably a fundamental
> misunderstanding
> on my part. If multicast needs a default route when any interface is
> used, that means
> that only one interface sends out the IGMP group join stuff. That
> would mean only
> one interface sends the service multicast packets (our is only a SA).
> What am i doing
> wrong, or do I just misunderstand the problem?
>
>
Sockets that want to send multicast over a particular network interface
must set a socket option to send over that interface.  Otherwise, the stack
will only send it out whatever network interface it considers the
primary/default.  And the socket option (IP_MULTICAST_IF) takes an ip
address,  although I have no idea if that preference "sticks" if the
interface changes its address subsequent to the setsockopt.   I've never
tried to do any of this with 0.0.0.0, it could be that it just fails.

I don't know anything about your device/product, but is there a point in
your device that you know it has the necessary ip addresses?  Either via
moving the daemon startup in rc.d, or using whatever watchdogs your device
may have?  And is slpd the only program on your device that has this sort
of ip address issue?

--Nick
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Openslp-users mailing list
Openslp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openslp-users

Reply via email to