Re: [Ganglia-general] Question about gmond + multicast + dual interface host

2002-10-01 Thread matt massie
didier-

i need to add a section in the documentation talking about this since it 
seems to be a common question.

when you use...

mcast_if eth1

.. in /etc/gmond.conf that tells gmond to send it data out the eth1
network interface but that doesn't necessarily mean that the source
address of the packets will match the eth1 interface.  to make sure that
data sent out eth1 has the correct source address run the following...

% route add -host 239.2.11.71 dev eth1

... before starting gmond.  that should do the trick for you.  please let
me know if this fixes your problem.

good luck
-matt


Today, didier wrote forth saying...

 
 I have seen some post related to some issues
 with gmond + multicast running on a dual nic
 frontend.
 
 Currently I am experiencing a weird behavior
 
 I have the following setup:
 
   ---
   | web server + gmetad |
   ---
  |
  |
  |
 --
 |   eth0 A.B.C.112   |
 ||
 |  Frontend + gmond  |
 ||
 | eth1 192.168.100.1 |
 --
  |
  |
 
26 nodes each
   gmond
 
 In the frontend /etc/gmond.conf I have the
 following statement: mcast_if  eth1
 
 The 26 nodes are correctly reported. 
 
 However the Frontend is never reported.
 
 I am running iptables on the Frontend, and I am seing
 things like:
 
 INPUT packet died: IN=eth1 OUT= MAC= SRC=A.B.C.112 DST=239.2.11.71 
 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=53740 DF PROTO=UDP SPT=41608 DPT=8649
 LEN=16 
 
 I would have expected the source to be 192.168.100.1 with mcast_if eth1
 
 Any idea ?
 
 Thanks - Didier.
 
 
 
 
 ---
 This sf.net email is sponsored by: DEDICATED SERVERS only $89!
 Linux or FreeBSD, FREE setup, FAST network. Get your own server 
 today at http://www.ServePath.com/indexfm.htm
 ___
 Ganglia-general mailing list
 Ganglia-general@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/ganglia-general
 




RE: [Ganglia-general] Question about gmond + multicast + dual interface host

2002-10-01 Thread didier

 i need to add a section in the documentation talking about 
 this since it 
 seems to be a common question.
 
 when you use...
 
 mcast_if eth1
 
 .. in /etc/gmond.conf that tells gmond to send it data out 
 the eth1 network interface but that doesn't necessarily mean 
 that the source address of the packets will match the eth1 
 interface.  to make sure that data sent out eth1 has the 
 correct source address run the following...
 
 % route add -host 239.2.11.71 dev eth1
 
 ... before starting gmond.  that should do the trick for you. 
  please let me know if this fixes your problem.

It did the trick. Thanks.

As a suggestion, you may want to give a hint where to place
the command in the startup file (at least for redhat).

I generally use /etc/rc.d/rc.local

Thanks again, Didier