title: elasticsearch multiple nic bind network interfaces
body: <h3>introduction</h3>
  
  <p>when configuring elasticsearch I ran into a problem with binding the 
  listening interfaces. 
  somehow the documentation does not provide how to setup multiple network interfaces (<a href="http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-network.html" rel="noreferrer">network def</a> and <a href="http://www.elastic.co/guide/en/elasticsearch/reference/current/modules-transport.html" rel="noreferrer">bind def</a>)</p>
  
  <h1>problem description</h1>
  
  <p>my intention is to setup the <code>network.bind_host</code> as <code>_eth1:ipv4_</code> and  <code>_local_</code></p>
  
  <p>even when trying to setup the <code>bind_host</code> as <code>_local_</code> only,
   the elastic search port 9200 is still only reachable by eth1 (of course i have restarted the server)</p>
  
  solutions tried
  
  <p>i have tested the firewall configuration by setting up a netcat server and this one works perfectly for that port </p>
  
  <h3>so this results in 2 Questions:</h3>
  
  <ol>
  <li>how to configure multiple nics? (whats the notation?)</li>
  <li>would i require to change the <code>network.publish_host</code> ?! </li>
  </ol>
  
  <p>.</p>
  
  <ul>
  <li>any other pointers?</li>
  </ul>
  
  <h3>current configuration:</h3>
  
  <pre><code>network.bind_host:    _eth1:ipv4_
  network.publish_host: _eth1:ipv4_
  network.host:         _eth1:ipv4_
  </code></pre>
  
  <h3>also tested configuration:</h3>
  
  <pre><code>network.bind_host:    _local_
  network.publish_host: _eth1:ipv4_
  network.host:         _local_
  </code></pre>
  
  <p>PS: 
  afaik the publish_host is the nic for the inter-server communication</p>