[ovs-discuss] openvswitch bridge Configuration

Cong Wang xiyou.wangcong at gmail.com
Sun Dec 2 12:07:09 UTC 2012


On Fri, Nov 30, 2012 at 7:37 PM, 韩金朋 <hanjp at neusoft.com> wrote:
> Hi all:
> I use the RPM packages installed on Red Hat 6.2 with OpenvSwitch 1.7.1,then
> I created a bridge and bind eth0 made a bridge and eth0 configuration, also
> in the / etc / sysconfig / network-scripts / directory , I create ifcfg-br0
> file(I name the bridge for br0 ).
>
> ifcfg-br0 file contents are as follows :
> DEVICE=br0
> TYPE=Bridge
> BROADCAST=192.168.1.255
> NETMASK=255.255.255.0
> IPADDR=192.168.1.50
> BOOTPROTO=static
> ONBOOT=yes

TYPE=Bridge is for traditional bridges, TYPE=OVSBridge
is for openvswitch bridges.

> I modified the eth0 file (/etc/sysconfig/network-scripts/ifcfg-eth0 )as
> follows :
> DEVICE=eth0
> ONBOOT=yes
> BRIDGE=br0

Ditto, you should use TYPE=OVSPort if you want to use ovs bridge.

Also, please take a look at rhel/README.RHEL.



More information about the discuss mailing list