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 12-13-2013, 08:11 AM   #1
Grimblee
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Rep: Reputation: Disabled
Bridge / Bond on virtual interfaces


Hello,

I'm working on a H.A virtualization server (we virtualize asterisk pbx to be precise).

We have 6 interfaces on each nodes:

2 (eth0 - 1) are used for drbd's replication with a bond.

2 (eth2 - 3) for gateway bridge, one on each switches

2 (eth4 - 5) for cluster bond / management.

We had 2 vlan at first, one directly on internet (v5) and another one for management (v10) behind a firewall.

Now we have to add a new vlan (v7).

So i want to know if i can do the following:

eth4.10 and eth5.10 bound together for cluster and management.

eth4.7 and eth5.7 bridged together for VM's access in new vlan.

Do you think this is possible ?

Last edited by Grimblee; 12-13-2013 at 08:34 AM.
 
Old 12-16-2013, 02:22 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
You can bond eth4.10 and eth5.10 together for cluster and management. But for bridge, it request in same LAN. That means different VLAN didn't work.
 
Old 12-17-2013, 05:59 AM   #3
Grimblee
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, so i can't have a bridge directly on a trunk.

What if my bridge doesn't have an ip and is only there to let VMs on the network ? Can i set a vlan in the VM then ?

Or i could bypass this by making a bond with eth4.7 eth5.7 then bridge that bond ?

Thanks a lot for your answers !
 
Old 12-17-2013, 02:23 PM   #4
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Why do you want to create a bridge on a bond interface, eth4.7 and eth5.7? Just bridge one interface? You could create a VLAN on the bond for VM access in new VLAN.
 
Old 12-18-2013, 03:20 AM   #5
Grimblee
LQ Newbie
 
Registered: Dec 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
For redundancy, what if the switch on which that only one bridged interface is, has a failure ? The service will be interrupted which cannot be tolerated.

We have to bridge 2 interfaces, one on each switches.

I can use bond instead of bridge for vm connectivity with kvm-libvirt ?

I'll try this right away, thanks.
 
Old 12-19-2013, 02:23 PM   #6
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
Bond interface can provide redundancy and load-balance. It is better than bridge.
 
  


Reply



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
Implemeting 802.3ad on linux bond and bridge with Dell 5324 opti2k4 Linux - Networking 0 10-12-2012 07:46 AM
RHEL: Linux Bond / Team Multiple Network Interfaces (NIC) Into a Single Interface SBN Linux - Networking 12 12-02-2011 10:53 PM
Virtual interfaces for bridge for performance testing nktns Linux - Networking 2 05-19-2011 04:03 PM
[SOLVED] /etc/network/interfaces configuration for virtual interfaces nonshatter Linux - Networking 4 10-25-2010 06:22 AM
KVM on Centos 5.4 - bridge issue on virtual interfaces asmar Linux - Networking 1 03-01-2010 11:11 PM

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

All times are GMT -5. The time now is 01:33 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