[Spread-users] about spread multicast the message

xuansheng mo moxuansheng at gmail.com
Sun Mar 11 08:34:00 EDT 2012


BTW:
 I use the tcpdump in m1: tcpdump -i en1 -n 'dst 225.0.1.1', when spuser in
m2 join/leave or send message, the m1 can receive the package:
10.0.0.5.33401 > 225.0.1.1.3333: UDP, length 133
But spuser in m1 could not receive the msg from same group in m2.



2012/3/11 xuansheng mo <moxuansheng at gmail.com>

> hello all:
>
> I installed the spread toolkit in my OS, and config the spread.conf to run
> under multicast type.
>
> The segment is below(m1 is my localhost)
>
> Spread_Segment 225.0.1.1:3333 {
> m1 10.0.0.4
> m2 10.0.0.5
> }
>
> when the daemon run, I use the supser to test it.
>
> spuser -s 3333 -u user1  | j spread1  | j spread2
>
> spuser -s 3333 -u user2  | j spread  | j spread1
>
> spuser -s 3333 -u user3 | j spread1 | j spread
>
> and user1 send the message to group 'spread1', the user3 can receive the
> message.
>
> All it works well in localhost.
>
> But I start spread daemon on  host m2.
>
> The segment is below(m2 is my localhost)
>
> Spread_Segment 225.0.1.1:3333 {
> m1 10.0.0.4
> m2 10.0.0.5
> }
>
> First I connect the m1 to test.
>
> spuser -s 3333 at 10.0.0.4 -u user4 | j spread1 | j spread2
>
> and the user4 can receive the message from user1.
>
> but , the spuser -s 3333 -u user4 | j spread1 | j spread2 just connect the
> m2 locally.
>
> And user4 could not receive the message from m1 with same group.
>
> (It seems the two daemon couldn't exchange message each other, From the
> architecture about spread,
>
> it show in http://www.cnds.jhu.edu/pub/papers/cnds-2004-1.pdf, Each
> daemon keeps track of processes residing on its machine and participating
> in group communication).
>
> So, Does my config file is right ? Or something wrong with it?
>
> Thanks in advance.
>
>
> Mo xuansheng
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20120311/f694adf3/attachment.html 


More information about the Spread-users mailing list