# xtradb galera cluster direct ethernet connection

**URL:** <https://forums.percona.com/t/xtradb-galera-cluster-direct-ethernet-connection/4110>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [March 19, 2015, 11:55am UTC](https://forums.percona.com/t/xtradb-galera-cluster-direct-ethernet-connection/4110 "2015-03-19T11:55:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riz](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@riz](https://forums.percona.com/u/riz)\
**Post date:** [March 19, 2015, 11:55am UTC](https://forums.percona.com/t/xtradb-galera-cluster-direct-ethernet-connection/4110/1 "2015-03-19T11:55:12Z")

</div>

Hi

We are planning to setup percona/galera cluster for master-master sync replication between 2 servers.

Is it possible to use direct Ethernet connection over gigabit ethernet port on the 2 servers?

Is there any settings in the cluster that specifies the ip-address? or will the galera cluster use the default port (which might be connected to overloaded switch)?

Thanks

---

<div class="post-metadata">

**Author:** ![przemek](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/przemek/32/3_2.png) [@przemek](https://forums.percona.com/u/przemek)\
**Post date:** [April 19, 2015, 7:38am UTC](https://forums.percona.com/t/xtradb-galera-cluster-direct-ethernet-connection/4110/2 "2015-04-19T07:38:57Z")

</div>

This is unusual to use direct host to host ethernet connection for production purposes. Is the planned traffic so huge that you find the network switch as a potential bottleneck?

And yes, there are Galera related settings that will let you specify a particular interface/IP address for replication and state transfers, see documenation:  
[URL=“[Index of wsrep system variables](http://www.percona.com/doc/percona-xtradb-cluster/5.6/wsrep-system-index.html#wsrep_node_address)”][http://www.percona.com/doc/percona-x...p\_node\_address[/URL]](http://www.percona.com/doc/percona-x...p_node_address%5B/URL%5D)  
[URL=“[Index of wsrep\_provider options](http://www.percona.com/doc/percona-xtradb-cluster/5.6/wsrep-provider-index.html#gmcast.listen_addr)”][http://www.percona.com/doc/percona-x...st.listen\_addr[/URL]](http://www.percona.com/doc/percona-x...st.listen_addr%5B/URL%5D)  
etc.

Btw, you should have at least 3 nodes to maintain quorum in case of any node failure. The 3rd one could be at least an arbitrator one.
