[ovs-discuss] Fw: How to configure ovs properly?
can.
can at canx.me
Mon Nov 26 01:48:55 UTC 2012
I think because of thanksgiving, you may have missed this email.
Just to remind, and thanks in advance.
--
Best regards,
Can Zhang
Forwarded message:
> From: can. <can at canx.me>
> To: discuss at openvswitch.org
> Date: 2012年11月23日Friday下午12:41:01
> Subject: How to configure ovs properly?
>
> Hello,
>
> Yesterday I encountered "bridge module is loaded, not loading brcompat" error (http://openvswitch.org/pipermail/discuss/2012-November/008446.html), and I solved it by not setting a "bridge_port eth0" in /etc/network/interfaces. Here's the file now:
>
> ----
> auto eth0
> iface eth0 inet static
> address 0.0.0.0
>
>
> auto br0
> iface br0 inet dhcp
>
>
> ## bridge_port eth0 ## removed this
>
>
>
> auto virbr0
> iface virbr0 inet dhcp
>
>
> ----
>
> and this is `ovs-vsctl show`:
> ----
> Bridge "virbr0"
> Port "virbr0"
> Interface "virbr0"
> type: internal
> Port vethfFrrKy
> Interface vethfFrrKy
>
>
>
>
> Bridge "br0"
> Port "eth0"
> Interface "eth0"
> Port "br0"
> Interface "br0"
> type: internal
> ovs_version: "1.7.1"
>
>
> ----
> It seems working well, only that the "network device configuration" time at startup is very long. I guess this is related to virbr0, the default libvirt virtual bridge, which doesn't get the configuration.
>
>
>
> Also you might notice that eth0 is connected to br0, and these two configurations as shown are not conform.(So first question, is there a cleaner way to configure ovs? I tried the instructions in openvswitch-switch.README.Debian, but didn't work. btw I'm using ubuntu 12.04)
>
> And since virbr0 doesn't get enough configuration, it's isolated from the Internet. So how to make both br0 and virbr0 connect to the Internet? I think I can connect virbr0 to br0 but don't know how. And to be more generally, can I create arbitrary topologies inside ubuntu using ovs?
>
> --
> Best regards,
> Can Zhang
>
More information about the discuss
mailing list