br0

pre

yum -y groupinstall "Virtualization" "Virtualization Client" "Virtualization Platform"
service libvirtd start
chkconfig libvirtd on
virsh iface-bridge eno1 br0
ln -sv /usr/libexec/qemu-kvm /usr/bin/qemu

ifconfig-eno1

DEVICE=eno1
ONBOOT=yes
BRIDGE="br0"

ifconfig-br0

DEVICE="br0"
ONBOOT="yes"
TYPE="Bridge"
BOOTPROTO="none"
IPADDR="192.168.1.101"
NETMASK="255.255.255.0"
GATEWAY="192.168.1.1"
IPV6INIT="yes"
IPV6_AUTOCONF="yes"
DHCPV6C="no"
STP="on"
DELAY="0"
DNS1=114.114.114.114
posted @ 2020-04-03 13:12  人微言轻1  阅读(441)  评论(0编辑  收藏  举报