Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
On Fri, May 31, 2013 at 12:15 PM, Ben Pfaff wrote: > On Fri, May 31, 2013 at 10:02:32AM +0800, Zhi Yong Wu wrote: >> On Fri, May 31, 2013 at 7:18 AM, Ben Pfaff wrote: >> > On Fri, May 31, 2013 at 06:47:34AM +0800, Zhi Yong Wu wrote: >> >> If multiple vswitches exist on the same host, how about th

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
On Fri, May 31, 2013 at 10:02:32AM +0800, Zhi Yong Wu wrote: > On Fri, May 31, 2013 at 7:18 AM, Ben Pfaff wrote: > > On Fri, May 31, 2013 at 06:47:34AM +0800, Zhi Yong Wu wrote: > >> If multiple vswitches exist on the same host, how about the routes > >> on the host? > > > > I don't understand thi

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
On Fri, May 31, 2013 at 7:18 AM, Ben Pfaff wrote: > On Fri, May 31, 2013 at 06:47:34AM +0800, Zhi Yong Wu wrote: >> If multiple vswitches exist on the same host, how about the routes >> on the host? > > I don't understand this question. It appears to ask whether multiple ah, sorry for my unclear

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
On Fri, May 31, 2013 at 06:47:34AM +0800, Zhi Yong Wu wrote: > If multiple vswitches exist on the same host, how about the routes > on the host? I don't understand this question. It appears to ask whether multiple rules may exist on a host. The answer to that question is "yes", but I doubt it is

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
Please don't drop the mailing list. On Fri, May 31, 2013 at 06:42:50AM +0800, Zhi Yong Wu wrote: > On Fri, May 31, 2013 at 6:26 AM, Ben Pfaff wrote: > > Q: I created a bridge and added my Ethernet port to it, using commands > >like these: > > > >ovs-vsctl add-br br0 > >ovs-vsc

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
If multiple vswitches exist on the same host, how about the routes on the host? by the way, can i consult another question? Why did OVS introduce two internal devices for each vswitch? ovs-dpctl show system@ovs-system: lookups: hit:2635398 missed:145705 lost:0 flows: 12 port 0: ovs-sys

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
Q: I created a bridge and added my Ethernet port to it, using commands like these: ovs-vsctl add-br br0 ovs-vsctl add-port br0 eth0 and as soon as I ran the "add-port" command I lost all connectivity through eth0. Help! A: A physical Ethernet device that is part of an Ope

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
Yes # ovs-vsctl show a9dc55a3-6755-4b91-957a-75cd9f27692e Bridge "br0" Port "em1" Interface "em1" Port "br0" Interface "br0" type: internal On Fri, May 31, 2013 at 6:17 AM, Ben Pfaff wrote: > Is em1 on bridge br0? > > On Fri, May 31, 2

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
Is em1 on bridge br0? On Fri, May 31, 2013 at 05:59:32AM +0800, Zhi Yong Wu wrote: > I tried to install OVS on my workstation, before starting kvm guest, > its route table is below: > default via 9.115.122.1 dev em1 > 9.115.122.0/24 dev em1 scope link > > then i started kvm guest: > qemu-system-

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
I tried to install OVS on my workstation, before starting kvm guest, its route table is below: default via 9.115.122.1 dev em1 9.115.122.0/24 dev em1 scope link then i started kvm guest: qemu-system-x86_64 -drive file=/home/zwu/misc/image/debian_squeeze_i386_desktop.qcow2,if=virtio -kernel arch/x

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
I don't know. I think that you would have to describe your scenario, before we can say what (if anything) you are doing wrong. On Fri, May 31, 2013 at 05:45:06AM +0800, Zhi Yong Wu wrote: > If i don't add such a route, it seem to not work, do i miss other something? > > On Fri, May 31, 2013 at 2

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Zhi Yong Wu
If i don't add such a route, it seem to not work, do i miss other something? On Fri, May 31, 2013 at 2:23 AM, Ben Pfaff wrote: > On Thu, May 30, 2013 at 06:40:26PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> >> Add some tips for kvm guest; You know, it is a bit difficult >> to p

Re: [ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread Ben Pfaff
On Thu, May 30, 2013 at 06:40:26PM +0800, zwu.ker...@gmail.com wrote: > From: Zhi Yong Wu > > Add some tips for kvm guest; You know, it is a bit difficult > to play for one starter if no such tips exist. > > Signed-off-by: Zhi Yong Wu It isn't normally necessary to add such a route.

[ovs-dev] [PATCH] OVS: add some tips for kvm guest env

2013-05-30 Thread zwu . kernel
From: Zhi Yong Wu Add some tips for kvm guest; You know, it is a bit difficult to play for one starter if no such tips exist. Signed-off-by: Zhi Yong Wu --- INSTALL.KVM | 3 +++ 1 file changed, 3 insertions(+) diff --git a/INSTALL.KVM b/INSTALL.KVM index aa7ab92..4a169ee 100644 --- a/INSTAL