Jump to content

Network settings 2x 10GbE aggregation and 1x 1GbE failover / active backup


Go to solution Solved by MAM59,

Recommended Posts

Dear Community,

 

I would like to know how I setup my network settings if I have the following in mind:

PCIe card with 2x 10GbE connected as aggregation pair to my Ubiquiti USW Aggregation Switch for main connectin with max possible bandwidth. (eth1 and eth2)

Motherboard 1x 1GbE connected as failover / active-backup to my Ubiquiti UDM Pro. Just when Switch, PCIe Card or cable is broken. (eth0)

 

In the screenshot you can see my current settings, which don't work. How do I set this up correctly?

 

I would be really happy for your help.

eth0.png

eth1.png

eth2.png

ubiquiti_USW Aggregation settings.png

Link to comment

This won't work ("You can't have it all").

 

Worst of all: your main connection will always be 1G only this way!

 

Forget about the backup, the aggragation alone is already a kind of backup.

 

You need to rearrange the cards so that the 10G ports are eth0 and eth1 (ok, only 0 is really important, but for better reading you should rename the 2nd port too I think).

Dont use the mainboard port at all, it will only give you routing problems.

 

(BTW: "aggragation" sounds good, don't be too disappointed seeing that in reality it does not really speed up anything, it sometimes even gives stress only to some devices)

I don't know this switch, so I can't say if it does the aggragation "clever" or "dumb". Try it out and prepare to deactivate it again if it turns out not helpful.

 

(the thing is "aggragation" itself only means that some ports are grouped together, but not in which way. That's why UNRAID offers so many different options for aggragations/bonding/trunking (pick your favorite naming scheme))

 

Edited by MAM59
Link to comment
5 minutes ago, timomatrixer said:

say's now aggregation between this two ports is working but with no linkspeed.

 

As I said, there are many variations of "aggragations", you have currently picked the most likely 802.3ad. But this does not need to be true always.

So, try the other modes (beside backupmode, this does not need any switch support).

 

Also, you have put both cards into seperate bonds, they both need to be in bond0 to work aggregated, try this first. move eth1 to bond0 and pray.

Link to comment

Ok, after I disconnected the cable from Motherboard ethernet port and restarted the USW Aggregation Switch, my 802.3ad connection worked. But in different bonds....

When I tried to see actual interface state with cmd "cat /sys/class/net/bond0/bonding/active_slave" nothing happen. Is there something wrong with my system?

 

I have to set both sfp+ Ports (802.3ad) in the same bond0 right?

image.thumb.png.2673fec44e328724fd7c81ffe7498fa1.png

Edited by timomatrixer
Link to comment
  • 8 months later...
On 10/2/2023 at 8:23 PM, MAM59 said:

Yep, like I told above already

Bond0 is the only one that should exist. With the members eth0 AND eth1

 

Hi @MAM59 You sound like you know what you are doing

 

Im into kind of the same place. I like to make a 10G SFP and a "Acitve-backup" with 1G. Is that even possible?

 

So if my fiber is broken (10G) it will switch over to the 1G cable

 

 

Link to comment
59 minutes ago, DanielPT said:

I'm into kind of the same place. I like to make a 10G SFP and a "Acitve-backup" with 1G. Is that even possible?

Yes it is.

And your planned usage is also the only legal one for the "active backup" type.

But it only makes sense if you connect the two lines to two different switches too because it is more likely that a switch fails as the dog eats up the fiber cable.

So usually it does not help much, it even may cover an overseen error before somebody notices that things are running much slower as before.

 

I did not see your post before, sorry.

My guess is that you need to wait a little longer. Active Backup uses the MACs of the real cards, so if you change interfaces, ARP caches on the other devices become invalid and need to time out before the change can be recognized. This can take up to an hour. Be patient 🙂

(and yeah, this annoying feature renders the idea of active backups rather useless. It cannot be done without losing connection for a period of time)

Also all running connections are cut off too by the switch. So there will be many complains and so on. There is no smooth transition.

 

 

Edited by MAM59
Link to comment
  • 2 weeks later...
On 6/28/2024 at 6:29 AM, MAM59 said:

Yes it is.

And your planned usage is also the only legal one for the "active backup" type.

But it only makes sense if you connect the two lines to two different switches too because it is more likely that a switch fails as the dog eats up the fiber cable.

So usually it does not help much, it even may cover an overseen error before somebody notices that things are running much slower as before.

 

I did not see your post before, sorry.

My guess is that you need to wait a little longer. Active Backup uses the MACs of the real cards, so if you change interfaces, ARP caches on the other devices become invalid and need to time out before the change can be recognized. This can take up to an hour. Be patient 🙂

(and yeah, this annoying feature renders the idea of active backups rather useless. It cannot be done without losing connection for a period of time)

Also all running connections are cut off too by the switch. So there will be many complains and so on. There is no smooth transition.

 

HI MAM. 

Meny thanks for the time and good answer ! :)

 

My server is connectet to my UDM SE with 10G.

And i have 2 1G ethernet connectet to my 24p switch.

 

So if the fiber card in the server blows up or fiber cable is broken. I like the idea that a backup line can be configured.

 

Meaby i can get my Unify UDM to send me a notification if the 10G has gone down.

 

But too bad that it cant be done with "almost" no down time :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...