J
J
jammywork12014-09-28 16:15:02
linux
jammywork1, 2014-09-28 16:15:02

How to create a trunk port using bridges and bonding?

Hello! The question has matured, at the moment I decided to implement a virtual router.
And so we have a server with 2 interfaces. It has centos 6.5, linux kernel 3.10, xen 4.2.
1 of the interfaces is thrown into the virtualized pfsense.
That is, 1 interface is a WAN that is connected to pfsense, 2 is used in a hypervisor for virtual machines and as a trunk port to a managed switch ... The
question is, is it possible to organize what I want using bridges and bonds?
For example, 1 scheme: I create for our interface for interfaces with each wealan, in the style of ifcfg-eth1.1, ifcfg-eth1.200, etc. ... then I do bonding on them and throw this bond as a trunk port in pfsense, well, bridges for each sub-interface with a wealan as access ports for other virtual machines...
2 scheme, if you do not use bonding, but transfer all the bridges to pfsense, and in pfsense already allocate a separate wealan for each interface ...
there is no openvswitch in the repositories, and manual assembly did not give good results last time ....

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Chistyakov, 2014-09-28
@jammywork1

Bridges for interfaces with Wealan - yes, they will work, I do it myself.

[email protected] ~ brctl show br0
bridge name	bridge id		STP enabled	interfaces
br0		0080.bc5ff44560f9	no		p17p1.4
              vnet0
              vnet1
[email protected] ~

As for the bonding of interfaces with Wealan, I can’t say, I haven’t tried it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question