LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-06-2017, 08:16 PM   #1
rainman715
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Rep: Reputation: 0
Question Link Aggregation - Bond only works in active-backup, Team not working at all


Hello,

I'm trying to set up a home lab with a two port team bridged to KVM using Fedora 26 via Network Manager. I assign an IP to the bridge and all seems to work. When I put a VM on the bridge, communication fails to the VM and I cannot get a dhcp address; if I eliminate the bridge it works as expected.

When I tried creating a bond instead of a team, I was able to get an IP on the VM but only in active-backup mode, not in loadbalance mode.

I'm not sure what else to check, I would really like to get teaming to work in load balanced mode or loadbalanced bonding at a minimum. can anyone point me in the right direction?

Ray
 
Old 09-11-2017, 07:56 AM   #2
rainman715
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Original Poster
Rep: Reputation: 0
An update. I was able to get Bonding working with KVM for the different modes; I had some misconfigurations on my switch since balance-rr, balance-xor and broadcast all require trunk ports configured on the switch. I was able to get active-backup, balance-tlb and balance-alb all working as expected, create vlans on top of the bond and then bridge everything out to present to KVM.

The following website has the best write-up of bonding I was able to find:
https://wiki.linuxfoundation.org/networking/bonding

Teaming however, simply does not work. Besides the fact that I cannot find enough documentation about he underpinnings of teaming to truly troubleshoot it, it does not seem to work with a bridge to KVM. Mind you, the team itself seems to be created and works on the host OS, but when I present a bridge with the team to KVM I cannot get the VMs network activity.

Regardless, I would still like to know why teaming isn't working as ultimately I would like to move to that technology. Can anyone shed some light?

Thanks
Ray

Last edited by rainman715; 09-11-2017 at 07:57 AM. Reason: Typo
 
Old 09-19-2017, 02:33 PM   #3
vwtech
Member
 
Registered: Dec 2007
Distribution: Fedora, Oracle Linux & Centos
Posts: 197

Rep: Reputation: 26
Quote:
Originally Posted by rainman715 View Post
I was able to get active-backup, balance-tlb and balance-alb all working as expected, create vlans on top of the bond and then bridge everything out to present to KVM.
You may want to try just creating the team on the OS without doing anything other then having the ports your using in the same vlan on the switch side.
I've configured teaming several times within VirtualBox but never used bridged only port the were directed internal connections between both guests.
Here is some info I found on teaming: https://access.redhat.com/documentat...nterfaces.html
 
Old 09-21-2017, 05:43 PM   #4
rainman715
LQ Newbie
 
Registered: Sep 2017
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks,

I've been able to get teaming working independent of KVM. I was able to create a bridge off of the team without a vlan and have connectivity on the host. It's only when I try to bring that bridge into KVM that it fails to give connectivity to the guests.

I have yet to come across anything on the internet that shows a working example of teaming in KVM. The few times I've seen it mentioned, it was referencing teaming and bonding but the examples were of bonding.

Starting to think no one is using this in KVM and/or it may not work in KVM to service guests at all.
Ray
 
  


Reply

Tags
bond, bridge, kvm, teaming



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
link aggregation and bandiwdth aggregation dos_killer Linux - Networking 1 04-20-2012 06:00 AM
[SOLVED] Bonding a Bond running 802.3ad Dynamic link aggregation kas22 Linux - Networking 4 10-20-2011 04:24 PM
[SOLVED] link aggregation using two different nic types rene21976 Linux - Networking 3 03-25-2011 07:07 AM
[2.6.34]ARP replies from inactive slave in active-backup bond. StamPit Linux - Kernel 1 09-21-2010 04:41 AM
Dial-Up Connection Link Aggregation LinuxGeek Linux - Networking 3 10-22-2008 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration