[Sheepdog] Bind to ip or interface

Senmiao Liu zir.echo at gmail.com
Thu Jun 9 05:08:28 CEST 2011


Yes, I setup the corosync.conf followed the wiki:

totem {
       version: 2
       secauth: off
       threads: 0
       interface {
               ringnumber: 0
               bindnetaddr: 10.0.0.10
               mcastaddr: 226.94.1.1
               mcastport: 5405
       }
}

But sheep still binds to `0.0.0.0:7000` and accessible from my
external interface.

[root at myhost ~]# netstat -tanp|grep LIST
...
tcp        0      0 0.0.0.0:7000            0.0.0.0:*     LISTEN      1380/sheep
tcp        0      0 :::7000                 :::*    LISTEN      1380/sheep

On Thu, Jun 9, 2011 at 1:07 AM, MORITA Kazutaka
<morita.kazutaka at lab.ntt.co.jp> wrote:
> At Tue, 7 Jun 2011 16:23:47 +0800,
> zir.echo wrote:
>>
>> Hi,
>>
>> How can I bind to specific ip or interface?
>
> The sheepdog daemon binds the address recieved from corosync.  Please
> setup totem.interface.bindnetaddr in corosync.conf properly.
>
> Thanks,
>
> Kazutaka
>



More information about the sheepdog mailing list