« Return to Thread: slp on dual stack linux box

Re: slp on dual stack linux box

by simonebordet :: Rate this Message:

Reply to Author | View in Thread

Hi,

On Fri, Jan 23, 2009 at 17:49, Chuck <foxman74@...> wrote:
> Hello LiveTribe Team,
>
>   When I run a service agent and a user agent on a dual stack linux box
> using an IPv6 multicast address,  the service discovery does not work.  But
> when I run the same code bound to an IPv4 multicast address, it all works
> like a charm.  The unfortunate thing is that we need slp discovery to run on
> IPv6.  I've attached the log file of my IPv6 run.  What could be the reason
> for slp to not run on IPv6?

The specification for SLP on IPv6 is RFC 3111, which specify different
addresses for binding directory agents and service agents to multicast
addresses so they can be found. This is currently not implemented in
LiveTribe SLP.

So there is SLP for IPv4 and SLP for IPv6, and they're like 2
different beasts (apart the SLP messages which of course are
identical).

I think you are in a mixed situation where you're using SLP for IPv4
on an IPv6 stack. There may be a small chance that this will work, but
I am not sure.

Specifically, from your logs I see that you are binding to FF01::1
(line 317 and 330). This multicast address is the equivalent of
127.0.0.1, so basically no packet ever hits the cable.
Can you configure that correctly ? Most of the times, this is due to
the fact that the host configuration is not setup properly, so double
check your /etc/hosts file. Doing InetAddress.getLocalhost() should
*not* return the loopback address, but the real address of the host.

Simon
--
http://bordet.blogspot.com
---
Finally, no matter how good the architecture and design are,
to deliver bug-free software with optimal performance and reliability,
the implementation technique must be flawless.   Victoria Livschitz

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: slp on dual stack linux box