/etc/sysconfig/network-scripts 创建ifcfg-ovirtmgmt [root@ovirt1 network-scripts]# cat ifcfg-ovirtmgmt DEVICE=ovirtmgmt TYPE=Bridge ONBOOT=yes DELAY=0 BOOTPROTO=static IPADDR=192.168.1.142 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 DNS1=83.221.202.254 NM_CONTROLLED="no“ 修改默认的配置 [root@ovirt1 network-scripts]# cat ifcfg-ens33 #其他全部注释掉,只留下面的,修改BOOTPROTO为none BOOTPROTO=none TYPE="Ethernet" ONBOOT="yes" NAME="ens33" BRIDGE="ovirtmgmt" HWADDR=00:22:15:63:e4:e2 关掉NetworkManager重启网络 service NetworkManager stop service network start (责任编辑:IT) |