# Bonding and failover

**URL:** <https://community.ipfire.org/t/bonding-and-failover/327>\
**Category:** Network\
**Created:** [20 November 2019 21:56 UTC](https://community.ipfire.org/t/bonding-and-failover/327 "2019-11-20T21:56:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![teejay](https://community.ipfire.org/user_avatar/community.ipfire.org/teejay/32/5078_2.png) [@teejay](https://community.ipfire.org/u/teejay)\
**Post date:** [20 November 2019 21:56 UTC](https://community.ipfire.org/t/bonding-and-failover/327/1 "2019-11-20T21:56:46Z")

</div>

I’ve got two questions:

1. What abound bonding of two or more Ethernet Interfaces to one single Interface?
2. How to create a failover connection with another Gateway (2nd router) any good practice?

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [21 November 2019 16:26 UTC](https://community.ipfire.org/t/bonding-and-failover/327/2 "2019-11-21T16:26:59Z")

</div>

Hi teejay,  
did you ´ve seen the keepalived wiki --\> [https://wiki.ipfire.org/addons/keepalived](https://wiki.ipfire.org/addons/keepalived) ? May it delivers some solutions for you.

Best,

Erik

---

<div class="post-metadata">

**Author:** ![xeonium](https://community.ipfire.org/user_avatar/community.ipfire.org/xeonium/32/7860_2.png) [@xeonium](https://community.ipfire.org/u/xeonium)\
**Post date:** [22 November 2019 13:04 UTC](https://community.ipfire.org/t/bonding-and-failover/327/3 "2019-11-22T13:04:35Z")

</div>

i’v 3 questions.  
How many IPFire i’ll need for this(two or three)?

> The green network is located at 172.20.32.0/24 where .1 is the exit router.  
> Two ipfires are setup as proxies for this network using these addresses:
> 
> - 172.20.32.6 logical address
> - 172.20.32.7 real device address node1
> - 172.20.32.8 real device address node2

Default gateway should be 172.20.32.1 on green side as physical device? What’s about the others?

---

<div class="post-metadata">

**Author:** ![ummeegge](https://community.ipfire.org/user_avatar/community.ipfire.org/ummeegge/32/16602_2.png) [@ummeegge](https://community.ipfire.org/u/ummeegge)\
**Post date:** [24 November 2019 06:18 UTC](https://community.ipfire.org/t/bonding-and-failover/327/4 "2019-11-24T06:18:15Z")

</div>

Hi,  
i don´t use keepalived but i think you can configure starting in a minimum with two (master and slave) with up to 255 instances via the ‘virtual\_router\_id’ which live in the ‘vrrp\_instance’ section.

For a deeper look into the configuration possibilities, take a look into here --\> [https://www.keepalived.org/doc/configuration\_synopsis.html](https://www.keepalived.org/doc/configuration_synopsis.html) .

Best,

Erik
