#cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
BRIDGE=br0
NAME=”System eth0”
#cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0 ONBOOT=yes
TYPE=Bridge
BOOTPROTO=static
IPADDR=192.168.80.131
NETMASK=255.255.255.0
GATEWAY=192.168.80.2
注意:在进行桥接配置时,需要文件保存备份
centos6.5网桥模式配置
最新推荐文章于 2024-05-21 07:00:00 发布