摘自:http://hi.baidu.com/naruto6006/blog/item/a08ec902aebca37b3912bb3a.html
关于虚拟化的文章,写的不错,摘其中桥接部分学习...
[root@jsb-ylw-5052 ~]# cd /etc/sysconfig/network-scripts/ [root@jsb-ylw-5052 network-scripts]# cp ifcfg-eth0 ifcfg-br0[root@jsb-ylw-5052 network-scripts]# cat ifcfg-eth0 # nVidia Corporation MCP77 EthernetDEVICE=eth0BOOTPROTO=staticHWADDR=90:E6:BA:70:B2:28IPADDR=192.168.50.24NETMASK=255.255.255.0ONBOOT=yesBRIDGE=br0 //将eth0桥接到br0[root@jsb-ylw-5052 network-scripts]# cat ifcfg-br0 # nVidia Corporation MCP77 EthernetDEVICE=br0BOOTPROTO=staticHWADDR=90:E6:BA:70:B2:28IPADDR=192.168.50.24NETMASK=255.255.255.0ONBOOT=yes
TYPE=Bridge //br0为桥接
转载于:https://www.cnblogs.com/xia/archive/2011/07/11/2103451.html