标签:boot inf config centos7 sys ali idg star emc
一、在centos7主机创建用于虚拟化的网桥
1)增加 /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
BOOTPROTO=static
ONBOOT=yes
TYPE=Bridge
IPADDR=192.168.137.122
NETMASK=255.255.255.0
GATEWAY=192.168.137.2
DNS1=8.8.8.8
2)找到本机现在IP使用的网卡,本列题为 /etc/sysconfig/network-scripts/ifcfg-eth1
3)重启网卡 systemctl restart network
标签:boot inf config centos7 sys ali idg star emc
原文地址:https://www.cnblogs.com/alley-wmq/p/12019403.html