LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2013, 08:23 PM   #1
stazang
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Rep: Reputation: Disabled
Multiple bridge interfaces on same Network interface.


Is there a way to map multiple bridge interfaces to a physical interface?

In case you want to know, I have virtual machines mapped to unique bride interfaces that map to same physical interface with different vlans for automation purposes and to reach external physcial devices outside of the KVM hypervisor but in some cases I need the VM's to be able to talk to each other and even others on the network. In this case I need to be able to enslave both bridges to the same physical interface.vlan let me know if there is some way to achieve this.

[root@kvmsrv07 network-scripts]# more ifcfg-1
DEVICE=p2p1.707
BRIDGE=br1
VLAN=yes
BOOTPROTO=none
ONBOOT=yes

[root@kvmsrv07 network-scripts]# more ifcfg-4
DEVICE=p2p1.707
BRIDGE=br4
VLAN=yes
BOOTPROTO=none
ONBOOT=yes
 
Old 09-21-2013, 07:31 PM   #2
MikeDeltaBrown
Member
 
Registered: Apr 2013
Location: Arlington, WA
Distribution: Slackware
Posts: 96

Rep: Reputation: 10
Have you tried turning on forwarding and just letting the kernel take care of routing?

Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
As long as the 2 bridges are configured in separate broadcast domains, this should work (ie. BR1=> 192.168.1.1/24 and BR4=> 192.168.4.1/24). You should see the two entries in the routing table....
 
Old 09-22-2013, 12:28 PM   #3
stazang
LQ Newbie
 
Registered: Sep 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Interesting way of solving this, I will have to give it a try but right now I am toying around with openvswitch it seems to have what I need but having a problem getting it setup. Thanks for the reply
 
Old 10-10-2013, 03:58 AM   #4
whytigr
LQ Newbie
 
Registered: Oct 2012
Posts: 8

Rep: Reputation: Disabled
maybe try vde2 instead..

it is much less convoluted and quite versatile. it also doesnt require kernel intervention and it can use ssh/http/sit/gre/ipip/etc tunnels or even DNS traffic to connect hosts.. it's underrated for sure.

~~Tigr~
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL: Linux Bond / Team Multiple Network Interfaces (NIC) Into a Single Interface SBN Linux - Networking 12 12-02-2011 10:53 PM
Howto bridge wireless and wired network interfaces? pohl886 Debian 11 07-19-2011 06:58 PM
Multiple Network Interfaces Simultaneously? Choose Interface for each program? smaddox Linux - Software 7 01-20-2010 01:26 PM
Debian bridge-utils via /etc/network/interfaces uhcafigdc Linux - Networking 3 12-10-2008 01:24 PM
routing b/w two tap interfaces connected to bridge w/o using loopback interface jesus_diehard Linux - Networking 0 08-18-2007 03:15 AM

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

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