[ovs-discuss] VLAN splinters: How to make it effective after system reboot

Linux user linuxuser096 at gmail.com
Thu Nov 7 07:42:41 UTC 2013


Hi Ben,

Are you saying that  VLAN splinters not apply on Virtual network interfaces
?
Then how to make Vlan work on virtual network  like ovsbr0.4093 ?

Thanks


On Thu, Nov 7, 2013 at 11:37 AM, Ben Pfaff <blp at nicira.com> wrote:

> Your first message specifies the wrong command, you have to apply the
> splinter to the physical port but you applied it to ovsbr0.
>
> On Thu, Nov 07, 2013 at 11:30:00AM +0530, Linux user wrote:
> > Hi Ben,
> >
> > Done like :
> >    other-config:enable-vlan-splinters=true
> >
> > But its not work out (please see my starting mail thread) .....
> >
> > Thanks
> >
> >
> > On Thu, Nov 7, 2013 at 11:27 AM, Ben Pfaff <blp at nicira.com> wrote:
> >
> > > On Thu, Nov 07, 2013 at 11:24:21AM +0530, Linux user wrote:
> > > > Hi Ben,
> > > >
> > > > Thanks for this info, but I already  know that ...
> > > >
> > > > My problem is that, Every time when system reboot then i use the
> command
> > > > like:
> > > >    vs-vsctl set interface eth0
> other-config:enable-vlan-splinters=true
> > > >
> > > > I want to integrate this command into network scripts
> > > > files(/etc/sysconfig/network-scripts/ifcfg-*)
> > > >
> > > > Just like, I have network configuration like below:
> > > >   [root at linux]# ovs-vsctl show
> > > > f95289de-40e2-4bf5-9f07-
> > > > 3c8300e296db
> > > >     Bridge "ovsbr0"
> > > >         Port "eth0"
> > > >             Interface "eth0"
> > > >         Port "ovsbr0"
> > > >             Interface "ovsbr0"
> > > >                 type: internal
> > > >         Port "ovsbr0.4093"
> > > >             tag: 4093
> > > >             Interface "ovsbr0.4093"
> > > >                 type: internal
> > > >     ovs_version: "1.4.6"
> > > >
> > > > [root at linux]# lsmod | grep openvswitch
> > > >               openvswitch            37890  1
> > > >
> > > >
> > > > So how to integrate VLAN splinters command into network scripts file
> > > here ?
> > >
> > > Why not just add that ovs-vsctl command to your network scripts file?
> > >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131107/89d6600b/attachment.html>


More information about the discuss mailing list