hi all,
i have successfully configured putting multiple VLANS down one interface so you can make different kvm guests connect to different VLANS
the trick was to add a bridge for every VLAN otherwise it wont work
DEVICE=enp2s0
TYPE=Ethernet
BOOTPROTO=none
ONBOOT=yes
DEVICE=enp2s0.1
BOOTPROTO=none
ONBOOT=yes
VLAN=yes
BRIDGE=br0.1
DEVICE=enp2s0.2
BOOTPROTO=none
ONBOOT=yes
VLAN=yes
BRIDGE=br0.2
DEVICE=br0.1
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
DELAY=0
DEVICE=br0.2
TYPE=Bridge
ONBOOT=yes
BOOTPROTO=none
DELAY=0
and now when you come into making a kvm guest pick either br0.1 or br0.2 ie if you want the kvm guest to either be on vlan 1 or vlan 2, once that is done give it an ip address for that vlan and boom, you can now ping it from a different machine
sorry for multiple threads about this
many thanks for everyones help
rob
KVM - multiple VLANS down one interface
Issues related to hardware problems
Return to “CentOS 7 - Hardware Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support