[ovs-discuss] How to make TAG on TAP Device Permanent

Linux user linuxuser096 at gmail.com
Fri Dec 20 12:42:26 UTC 2013


Hi,

I set the TAG on tap device using following command:
  ovs-vsctl set port vnetX tag=4

  [root at kernel_file]# ovs-vsctl show
3e8d5856-a171-4cdc-8fd4-877ff4efd1d7
       Bridge "ovsbr0"
        Port "vnet0"
            tag: 4
            Interface "vnet0"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
        Port "eth6"
            Interface "eth6"
    ovs_version: "1.4.6"


But as soon as I reboot the guest, this tag on tap device vanish:
      [root at sv2-12 kernel_file]# ovs-vsctl show
3e8d5856-a171-4cdc-8fd4-877ff4efd1d7
       Bridge "ovsbr0"
        Port "vnet0"
            Interface "vnet0"
        Port "ovsbr0"
            Interface "ovsbr0"
                type: internal
        Port "eth6"
            Interface "eth6"
    ovs_version: "1.4.6"


If there is any way to make this TAG on TAP Device Permanent ?
 Like modifying libvirt configuration  guest xml ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131220/793c8205/attachment.html>


More information about the discuss mailing list