Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-23 Thread 斯佩峰
Thanks for your help. 发自我的 iPad 在 2013-3-22,下午12:36,"Ben Pfaff" 写道: > On Fri, Mar 22, 2013 at 08:37:47AM +0800, ? wrote: >> >> >> ?? 2013-3-22??8:13??"Ben Pfaff" ?? >> >>> On Fri, Mar 22, 2013 at 08:09:51AM +0800, ? wrote: For you suggestion, did you mean to con

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread Ben Pfaff
On Fri, Mar 22, 2013 at 08:37:47AM +0800, ? wrote: > > > ?? 2013-3-22??8:13??"Ben Pfaff" ?? > > > On Fri, Mar 22, 2013 at 08:09:51AM +0800, ? wrote: > >> For you suggestion, did you mean to connect the eth0 to a trunk port > >> of physical switch ? > > > > Presumably y

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread 斯佩峰
在 2013-3-22,上午8:13,"Ben Pfaff" 写道: > On Fri, Mar 22, 2013 at 08:09:51AM +0800, ? wrote: >> For you suggestion, did you mean to connect the eth0 to a trunk port >> of physical switch ? > > Presumably you already did that, otherwise I don't know how you expected > to make connectivity w

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread Ben Pfaff
On Fri, Mar 22, 2013 at 08:09:51AM +0800, ? wrote: > For you suggestion, did you mean to connect the eth0 to a trunk port > of physical switch ? Presumably you already did that, otherwise I don't know how you expected to make connectivity work from the VM to outside the hypervisor. > In

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread 斯佩峰
Sorry for dropping the list, I will take care next time. For you suggestion, did you mean to connect the eth0 to a trunk port of physical switch ? In addition, I got below command from google but still have no chance to try it. Is it possible to solve my problem? # ebtables -t broute -A BROUTIN

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread Ben Pfaff
Please don't drop the list. You could use a "native VLAN" trunk port. I suspect it won't do what you want though. On Fri, Mar 22, 2013 at 07:07:23AM +0800, ? wrote: > Thanks Ben! > > Then, is it possible to configure the openvswitch to remove the vlan tag when > the packets go to exter

Re: [ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread Ben Pfaff
On Thu, Mar 21, 2013 at 09:14:16PM +0800, 斯佩峰 wrote: > Hello all,My problem is that after configuring the VLAN in VM, it can't > connect to external network.Here is my test environment: . One physical > machine installed with ubuntu 12.04, which has one network device (eth0) and > is able to

[ovs-discuss] VM with VLAN can't connect to external network

2013-03-21 Thread 斯佩峰
Hello all,My problem is that after configuring the VLAN in VM, it can't connect to external network.Here is my test environment: . One physical machine installed with ubuntu 12.04, which has one network device (eth0) and is able to access internet. . openvswitch 1.9.0. . Four VMs (V