[prev in list] [next in list] [prev in thread] [next in thread]
List: openvswitch-discuss
Subject: [ovs-discuss] How to create a public bridge in openVswitch for KVM virtual instances?
From: blp () nicira ! com (Ben Pfaff)
Date: 2010-12-07 17:45:21
Message-ID: 20101207174521.GA6457 () nicira ! com
[Download RAW message or body]
On Tue, Dec 07, 2010 at 02:45:01PM +0800, Yueyu Lin wrote:
> From the document INSTALL.KVM, I can install a virtual machine. In the
> VM, I can find the device by lshw and since the br0 doesn't actually
> connect to the real network, the eth1 can't be set a real address and
> access network. From the Linux distros, we can always use
> brctl,ifconfig and other tools to connect the bridge to the real
> network. How can I do using the open vswitch's utility? No related
> documentation is found after a long time search.
You should add eth1 to the bridge, then configure your real IP address
on the bridge. (This is the same with the Linux bridge.) For example:
ovs-vsctl add-port br0 eth1
ifconfig br0 192.168.0.123
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic