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

Ben Pfaff blp at nicira.com
Thu Mar 21 23:14:58 UTC 2013


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 external network?
> 
> ?? 2013-3-22??????1:31??"Ben Pfaff" <blp at nicira.com> ??????
> 
> > 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 access internet.     . openvswitch 1.9.0.     . Four VMs (VM1, VM2, VM3, VM4).     . vnet1, vnet2, vnet3, vnet4 and eth0 are all added to bridge ovsbr.
> >> Before setting vlan, all VMs and host system can connect to external network, meanwhile VMs can ping each other. But after I configuring VM1 and VM2 with VLAN 10, it failed to connect to external network, though it can ping each other. I have struggled with issue a few days and didn't find useful tips in ovs FAQ and google. Any help is appreciated !
> > 
> > The Internet is probably not reachable over that VLAN on your network.
> > That is a question of how your exteral network is set up, not an
> > aspect of Open vSwitch.



More information about the discuss mailing list