kvm + vlan enable VM
来源:互联网 发布:seo教程自学网 编辑:程序博客网 时间:2024/05/16 15:05
All operations are based on Ubuntu.
In case eth3 is a port of compute node which configured to trunk
1, make sure the module 802.1q has been loaded
lsmod | grep 802
modprobe 8021q
2, install software vlan
apt-get install vlan
3, add a vlan port
vconfig add eth3 vlanid
eg: vconfig add eth3 613
4, add a bridge for vlan
brctl addbr brvlan
5, add the vlan port to the bridge
brctl addif brvlan vlanport
eg: brctl addif brvlan eth3.613
6, enable a vm from kvm
qemu-system-x86-64 --enable-kvm -hda xxx.img -net nic -net tap,ifname=tap0
On ubuntu 12.04, it will auto create a tap, and you need use brctl command to add the tap to the brigde for vlan.
but on ubuntu 14.04 you need create the tap and add it to the brigde for vlan before execute this command.
- kvm + vlan enable VM
- 如何给KVM上的VM配置VLAN?
- 如何给KVM上的VM配置VLAN
- mac-vlan enable
- kvm vm操作
- kvm VM ioctl操作
- kvm vm运行
- KVM 虚拟机感知vlan信息
- kvm vm使用sheepdog存储空间
- kvm module之create vm
- Create VM base on KVM
- how to enable kvm trace events
- [KVM] Installing Virtio drivers in a KVM Windows guest VM
- 实验验证kvm VM 线程机制
- KVM VM硬盘满的解决方案
- 利用vm/kvm启动ghost镜像
- RHEL7 rename VM in libvirt+KVM
- ubuntu12.04下 编译安装qemu-kvm 并enable spice
- jdk各个版本之间的特性区别
- 上海瑶芳清颜专业祛痘
- android读取日志demo
- 安卓msg handler looper详解
- Unix网络编程 gethostbyname函数
- kvm + vlan enable VM
- Zigbee各个版本的区别
- 关于诺基亚
- 大四的浮躁
- iOS-GCD
- 寻找自适应元素(2)-数据透视表
- Git初步
- 初学cocos2dx lua
- Quick StateMachine状态机