[GH-ISSUE #138] VLAN #93

Open
opened 2026-02-27 15:57:18 +03:00 by kerem · 1 comment
Owner

Originally created by @ghost on GitHub (Dec 9, 2017).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/138

Hi there!
Is possible to use vlan configuration in webvirtcloud?
Or other way to avoid the subnet 192.168.2.0/24 talk to subnet 192.168.3.0/24.
The main goal here is isolate the internal subnet's...

Thanks.

Originally created by @ghost on GitHub (Dec 9, 2017). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/138 Hi there! Is possible to use vlan configuration in webvirtcloud? Or other way to avoid the subnet 192.168.2.0/24 talk to subnet 192.168.3.0/24. The main goal here is isolate the internal subnet's... Thanks.
Author
Owner

@retspen commented on GitHub (Dec 26, 2017):

You can try something like that:

<network>
  <name>ovs-network</name>
  <forward mode='bridge'/>
  <bridge name='ovsbr0'/>
  <virtualport type='openvswitch'/>
  <portgroup name='vlan-01' default='yes'>
  </portgroup>
  <portgroup name='vlan-02'>
    <vlan>
      <tag id='2'/>
    </vlan>
  </portgroup>
  <portgroup name='vlan-03'>
    <vlan>
      <tag id='3'/>
    </vlan>
  </portgroup>
  <portgroup name='vlan-all'>
    <vlan trunk='yes'>
      <tag id='2'/>
      <tag id='3'/>
    </vlan>
  </portgroup>
</network>

https://blog.scottlowe.org/2012/11/07/using-vlans-with-ovs-and-libvirt/

<!-- gh-comment-id:353968218 --> @retspen commented on GitHub (Dec 26, 2017): You can try something like that: ```xml <network> <name>ovs-network</name> <forward mode='bridge'/> <bridge name='ovsbr0'/> <virtualport type='openvswitch'/> <portgroup name='vlan-01' default='yes'> </portgroup> <portgroup name='vlan-02'> <vlan> <tag id='2'/> </vlan> </portgroup> <portgroup name='vlan-03'> <vlan> <tag id='3'/> </vlan> </portgroup> <portgroup name='vlan-all'> <vlan trunk='yes'> <tag id='2'/> <tag id='3'/> </vlan> </portgroup> </network> ``` https://blog.scottlowe.org/2012/11/07/using-vlans-with-ovs-and-libvirt/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#93
No description provided.