On Wed, Apr 6, 2016 at 9:47 PM, James Hogarth <james.hogarth at gmail.com> wrote:> On 6 Apr 2016 2:35 p.m., "Francis Mendoza" <francis at mytechrepublic.com> > wrote: > > > > Im configuring my KVM and in my network configuration I have 4 Network > > lancard > > > > 2 nic = using teaming0 for management with access port configured in the > > switch side > > > > 2 nic = using teaming1 for guest VM DATA ports. and in the switch is > > configured for LACP with trunk allowing vlan 10,20,30,40,50 > > > > and configured in the CentOS7 the vlan 10, vlan 20,30,40,50 im sure its > > already working because I tried to use one vlan and ping was successful. > > > > my question is can I assigned directly the 'team1_vlan10, team1_vlan20.. > > and so on to directly use in my guest VM instead of bridging the network > > config in the VM.xml file? I tried to google and found only about > bridging > > it first and could not find the direct connection in the DATA port > Teaming1 > > > > Thank you in advance > > > > What you'll need to do is from your team interface create the tagged > interfaces. Then create a bridge for each vlan and associate the tagged > interface with the bridge. > > When the guest is connected to that bridge the traffic will then be tagged > by the vmhost on the way out so you don't need any tagged configuration in > the guest. > >Thanks James I will try to configure the bridge in the vlan.
On 6 April 2016 at 15:09, Francis Mendoza <francis at mytechrepublic.com> wrote:> On Wed, Apr 6, 2016 at 9:47 PM, James Hogarth <james.hogarth at gmail.com> > wrote: > > > On 6 Apr 2016 2:35 p.m., "Francis Mendoza" <francis at mytechrepublic.com> > > wrote: > > > > > > Im configuring my KVM and in my network configuration I have 4 Network > > > lancard > > > > > > 2 nic = using teaming0 for management with access port configured in > the > > > switch side > > > > > > 2 nic = using teaming1 for guest VM DATA ports. and in the switch is > > > configured for LACP with trunk allowing vlan 10,20,30,40,50 > > > > > > and configured in the CentOS7 the vlan 10, vlan 20,30,40,50 im sure its > > > already working because I tried to use one vlan and ping was > successful. > > > > > > my question is can I assigned directly the 'team1_vlan10, > team1_vlan20.. > > > and so on to directly use in my guest VM instead of bridging the > network > > > config in the VM.xml file? I tried to google and found only about > > bridging > > > it first and could not find the direct connection in the DATA port > > Teaming1 > > > > > > Thank you in advance > > > > > > > What you'll need to do is from your team interface create the tagged > > interfaces. Then create a bridge for each vlan and associate the tagged > > interface with the bridge. > > > > When the guest is connected to that bridge the traffic will then be > tagged > > by the vmhost on the way out so you don't need any tagged configuration > in > > the guest. > > > > > > Thanks James I will try to configure the bridge in the vlan. >Note that this is pretty much the last use case you cannot use NetworkManager for but need the legacy network service ... to save you some pain in trying to configure it ;)
On 04/06/2016 07:34 AM, James Hogarth wrote:> Note that this is pretty much the last use case you cannot use > NetworkManager for but need the legacy network serviceWhich part of the configuration does NetworkManager not handle?
Hello James, Wednesday, April 6, 2016, 5:34:26 PM, you wrote:> Note that this is pretty much the last use case you cannot use > NetworkManager for but need the legacy network service ... to save you some > pain in trying to configure it ;)I disagree... NetworkManager works perfectly.