最近安装了kvm,手上有几个ip可用,想做一下桥接给几个虚拟机用.
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE="br0"
BOOTPROTO="static"
GATEWAY="172.16.3.1"
IPADDR="172.16.3.64"
IPV6INIT="yes"
MTU="1500"
NETMASK="255.255.255.0"
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Bridge"
[root@localhost ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
#BOOTPROTO="static"
#GATEWAY="172.16.3.1"
HWADDR="00:23:7D:EB:C9:A4"
#IPADDR="172.16.3.64"
#IPV6INIT="yes"
#MTU="1500"
#NETMASK="255.255.255.0"
#NM_CONTROLLED="yes"
ONBOOT="yes"
#TYPE="Ethernet"
BRIDGE="br0"
[root@localhost ~]#
kvm br0配置
2023-11-27 23:26:58
上一篇:HEHL6下配置GCC及KVM安装
下一篇:实时监控 轻松玩转IT运维