# SOLVED: Node Red running on a device with 2 IP connections

**URL:** <https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740>\
**Category:** General\
**Created:** [17 May 2022 10:49 UTC](https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740 "2022-05-17T10:49:47Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [2 June 2022 15:33 UTC](https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740/21 "2022-06-02T15:33:06Z")

</div>

I am pretty sure this is not something you can address on the settings.js This has nothing to do with node-red.

You can easily get what you need by bonding NICs (i.e., when you merge two or more physical NICs, into a single virtual one).

Set the bond mode to type 5 or 6 (depending on which kind of load balancing use case you want to address) and you're good to go.

Google is your friend, but you can start here:

> **[Networking Bonding: Combining multiple NICs into one - LinuxTechLab](https://linuxtechlab.com/networking-bonding-combining-multiple-nics-one/)**
>
> Network Bonding refers to combining of more than one NIC into a single NIC for the purpose of HA/redundancy or load balancing. When network

---

<div class="post-metadata">

**Author:** ![kvramji](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/kvramji/32/59005_2.png) [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Post date:** [7 June 2022 07:30 UTC](https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740/22 "2022-06-07T07:30:50Z")

</div>

I would like to thank everyone for their prompt responses on this matter.  
I have managed to achieve what i wanted with the concept of network bonding.

I finally got some time to review all the links which was shared here on this post (especially by @craigcurtin & @lu4t )

I had no idea something like this existed. I have managed to resolve this and now i can have a smooth transitions between my 2 ethernet connections (eth0 and eth1) using this technique.

I went on poking around with our friend "Google" and found this [very easy process](https://www.thegeekdiary.com/configure-network-bonding-in-ubuntu-server/) on how to set this up.

Hope that link is useful to others as it was to me.  
Here's @lu4t 's [link](https://linuxtechlab.com/networking-bonding-combining-multiple-nics-one/) & @craigcurtin 's [link](https://linuxhint.com/setup-network-bonding-ubuntu/)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 June 2022 07:31 UTC](https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740/23 "2022-06-21T07:31:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

[Previous page](https://discourse.nodered.org/t/solved-node-red-running-on-a-device-with-2-ip-connections/62740.md?page=1)
