<div dir="ltr"><br>Yes, putting each daemon on their own segment can communicate. Ok, now I know that is a broadcast/multicast problem on my network. But, to clear my mind, with this configuration, each daemon on its segment, how is done the communication, Unicast?<br>
<br>Thanks for your help John and John :)<br><br><div class="gmail_quote">On Mon, Aug 18, 2008 at 10:25 AM, John Lane Schultz <span dir="ltr"><<a href="mailto:jschultz@spreadconcepts.com">jschultz@spreadconcepts.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just because ping traffic is allowed doesn't necessarily mean that traffic on other ports is not blocked.<br>
<br>
One thing to make sure of is that you send some client generated traffic after the daemons are started. You can do this using sp_user or another Spread client program.<br>
<br>
You can also try putting each of your daemons in their own Spread_Segment and see if they can then communicate. If they can, then something is most likely amiss with your network broadcast/multicast, or the way you are using it. If they can't, then a firewall is likely blocking (incoming) UDP traffic on unrecognized ports.<br>
<br>
Spread_Segment <a href="http://127.0.0.1:4803" target="_blank">127.0.0.1:4803</a> {<br>
<div class="Ih2E3d"> host1 <a href="http://10.113.101.165" target="_blank">10.113.101.165</a><br>
}<br>
<br>
</div>Spread_Segment <a href="http://127.0.0.1:4803" target="_blank">127.0.0.1:4803</a> {<br>
<div class="Ih2E3d"> host2 <a href="http://10.113.101.164" target="_blank">10.113.101.164</a><br>
}<br>
<br>
Cheers!<br>
John<br>
<br>
---<br>
John Lane Schultz<br>
Spread Concepts LLC<br>
Phn: 443 838 2200<br>
</div>Fax: 301 560 8875<br>
<div><div></div><div class="Wj3C7c"><br>
Monday, August 18, 2008, 3:52:03 AM, you wrote:<br>
<br>
> Hi again,<br>
<br>
> I still have not resolved the problem. I have tested with the<br>
> multicast address <a href="http://224.0.0.1" target="_blank">224.0.0.1</a>, with <a href="http://227.227.227.227" target="_blank">227.227.227.227</a> and with the<br>
> broadcast address <a href="http://10.113.101.255" target="_blank">10.113.101.255</a> with the same result.<br>
<br>
> When I execute<br>
<br>
> $ ping -b <a href="http://10.113.101.255" target="_blank">10.113.101.255</a><br>
> WARNING: pinging broadcast address<br>
> PING <a href="http://10.113.101.255" target="_blank">10.113.101.255</a> (<a href="http://10.113.101.255" target="_blank">10.113.101.255</a>) 56(84) bytes of data.<br>
> 64 bytes from <a href="http://10.113.101.165" target="_blank">10.113.101.165</a>: icmp_seq=1 ttl=64 time=0.115 ms<br>
> 64 bytes from <a href="http://10.113.101.164" target="_blank">10.113.101.164</a>: icmp_seq=1 ttl=64 time=0.263 ms (DUP!)<br>
<br>
> $ ping -b <a href="http://224.0.0.1" target="_blank">224.0.0.1</a><br>
> PING <a href="http://224.0.0.1" target="_blank">224.0.0.1</a> (<a href="http://224.0.0.1" target="_blank">224.0.0.1</a>) 56(84) bytes of data.<br>
> 64 bytes from <a href="http://10.113.101.165" target="_blank">10.113.101.165</a>: icmp_seq=1 ttl=64 time=0.125 ms<br>
> 64 bytes from <a href="http://10.113.101.164" target="_blank">10.113.101.164</a>: icmp_seq=1 ttl=64 time=0.298 ms (DUP!)<br>
<br>
> I see that the ping is working so no firewall is blocking the requests.<br>
<br>
> Any idea? I'm stuck<br>
<br>
> On Fri, Aug 8, 2008 at 6:23 PM, John Robinson <<a href="mailto:jr@vertica.com">jr@vertica.com</a>> wrote:<br>
> Another thing to check is that the broadcast address and mask are<br>
> correct for the attached network. Check with route or netstat -r or<br>
> ifconfig or ipconfig (depending on you platform).<br>
<br>
> /jr<br>
> ---<br>
> John Lane Schultz wrote:<br>
<br>
> No, they should hear each others' traffic. More than likely your daemons<br>
> are not finding one another. The most likely reason I can think of for that<br>
> is that your network isn't allowing broadcast. Try a multicast address<br>
> instead:<br>
<br>
> Spread_Segment <a href="http://227.227.227.227:4803" target="_blank">227.227.227.227:4803</a> {<br>
> host1 <a href="http://10.113.101.165" target="_blank">10.113.101.165</a> host2 <a href="http://10.113.101.164" target="_blank">10.113.101.164</a><br>
> }<br>
<br>
> Cheers!<br>
<br>
> ---<br>
> John Lane Schultz<br>
> Spread Concepts LLC<br>
> Phn: 443 838 2200 ________________________________________<br>
> From: <a href="mailto:spread-users-bounces@lists.spread.org">spread-users-bounces@lists.spread.org</a><br>
> [mailto:<a href="mailto:spread-users-bounces@lists.spread.org">spread-users-bounces@lists.spread.org</a>] On Behalf Of Mr antback<br>
> Sent: Friday, August 08, 2008 8:09 AM<br>
> To: <a href="mailto:spread-users@lists.spread.org">spread-users@lists.spread.org</a><br>
> Subject: [Spread-users] Basic question about communication between daemons<br>
<br>
> Hi all,<br>
> I have some doubts about how spread works. I have two machines<br>
> spread.conf (same on both nodes):<br>
> Spread_Segment <a href="http://10.113.101.255:4803" target="_blank">10.113.101.255:4803</a> {<br>
> host1 <a href="http://10.113.101.165" target="_blank">10.113.101.165</a> host2 <a href="http://10.113.101.164" target="_blank">10.113.101.164</a><br>
> }<br>
<br>
> Trying to comunicate both, I run this command on host2:<br>
goodfood@host2>> ./spuser -s 4803<br>
> Spread library version is 4.0.0<br>
> User: connected to 4803 with private group #user#host2<br>
<br>
> and join the group "monitor". Now here is the doubt. If on the host1 I<br>
> connect like this:<br>
<br>
goodfood@host1>> ./spuser -s 4803<br>
<br>
> joining the group "monitor" and sending a message, host2 doesn't receive the<br>
> message.<br>
> but instead if I connect like this:<br>
goodfood@host1>> ./spuser -s 4803@host2<br>
<br>
> It works. Is this the expected behaviour? I supposed that every daemon<br>
> communicates with each others. Where could it be the problem?<br>
> Thanks<br>
<br>
<br>
<br>
> _______________________________________________<br>
> Spread-users mailing list<br>
> <a href="mailto:Spread-users@lists.spread.org">Spread-users@lists.spread.org</a><br>
> <a href="http://lists.spread.org/mailman/listinfo/spread-users" target="_blank">http://lists.spread.org/mailman/listinfo/spread-users</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>