Re: KVM Virtualization Network VLAN CentOS7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 6 Apr 2016 2:35 p.m., "Francis Mendoza" <francis@xxxxxxxxxxxxxxxxxx>
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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux