0 Replies Latest reply on Oct 7, 2014 5:28 PM by jjakub

    how to run nodes in domain mode on different network interfaces

    jjakub

      version jboss-as-7.1.0.Final,

      I have two network interfaces eth0 10.0.0.11and virbr0 192.168.122.1

       

      is it possible to make one node listen on eth0 and second on virbr0 ?

      I tried with interfaces tag, but with no result, all nodes are listening on public interface, I cannot overwrite it in server configuration.

       

      in host.xml I have:

       

      <interface name="public">

         <inet-address value="${jboss.bind.address:192.168.122.1}"/>

      </interface>

      ...

      <server name="server-two" group="main-server-group" auto-start="true">

       

                          <!-- I tried as below, but it doesn't work (still listening on 192.168.122.1), what is interfaces tag used for ? -->

      <interfaces>

      <interface name="eth0">

      <!--<any-ipv4-address/> -->

      <!--<loopback/> -->

      <inet-address value = "10.0.0.11"/>

      <!--<nic name="eth0"></nic> -->

      <!--<subnet-match value = "10.0.0.11/24"/> -->

      </interface>

      </interfaces>

      <socket-bindings port-offset="150"/>

      </server>

       

      Thx in advance.