# Bridge config with two addresses does not work like expected

**URL:** <https://forum.cedalo.com/t/bridge-config-with-two-addresses-does-not-work-like-expected/1171>\
**Category:** Mosquitto MQTT Broker\
**Created:** [June 13, 2025, 3:00pm UTC](https://forum.cedalo.com/t/bridge-config-with-two-addresses-does-not-work-like-expected/1171 "2025-06-13T15:00:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikfdev](https://avatars.discourse-cdn.com/v4/letter/e/7feea3/32.png) [@erikfdev](https://forum.cedalo.com/u/erikfdev)\
**Post date:** [June 13, 2025, 3:00pm UTC](https://forum.cedalo.com/t/bridge-config-with-two-addresses-does-not-work-like-expected/1171/1 "2025-06-13T15:00:37Z")

</div>

First of all, I have to confess that I have to work with rather old Mosquitto versions due to the fact that we still have to use RHEL 8 here.  
The mosquitto version is 1.6.15.

Now for my problem. I have a mosquitto configured with a bridge to another mosquitto.

connection ebp-ede  
address ebp-ede\_a ebp-ede\_b  
topic # out 2  
keepalive\_interval 5

ebp-ede\_a and ebp-ede\_b are the two addresses of the mutihomed other mosquitto on machine ebp-ede.

Since I did not specify round\_robin, the bridge will first use address ebp-ede\_a. When I bring down the network interface ebp-ede\_a, mosquitto will setup the second connection (to ebp-ede\_b).  
mosquitto is then supposed to regularly check if it can switch back to ebp-ede\_a.  
However, doing so it also closes the working connection to ebp-ede\_b even if ebp\_ede\_a is still unreachable.  
This causes regular complete disconnections between both mosquittos.  
I would have expected that it only breaks down the connection to ebp-ede\_b when the connection to ebp-ede\_a was successful.  
Is this that has been fixed in newer mosquitto releases?
