CentOS에서 virbr0는 guest OS가 NAT으로 사용한다.
virbr0 - disable
virsh # net-list
virsh # net-destroy default
# /etc/init.d/libvirtd restart
virbr0 - enable
virsh # net-list –all
virsh # net-define /usr/share/libvirt/networks/default.xml
virsh # net-autostart default
virsh # net-start default
virsh # start ubuntu
error: Failed to start domain ubuntu
error: Network not found: no network with matching name ‘default’
path : /etc/libvirt/qemu/ubuntu.xml
변경 전
<interface type=’network‘>
<mac address=’54:52:00:5e:53:d2′/>
<source network=’default‘/>
</interface>
변경 후
<interface type=’bridge‘>
<mac address=’54:52:00:5e:53:d2′/>
<source bridge=’br0′/>
</interface>
'Legacy Skills > VM' 카테고리의 다른 글
Build vlan header in c (0) | 2014.07.31 |
---|---|
VLAN Tagging (0) | 2014.07.30 |
How to install Open vSwitch and test connection of VMs over GRE (0) | 2014.07.14 |
Exploring RHEL-OVS Integrations (1) | 2014.07.11 |
Openvswitch 1.9.3 LTS – Debian Wheezy (0) | 2014.07.11 |
댓글