[ovs-discuss] Assigning Tun/tap to specific switch ports

Theophilus Benson tbenson at cs.wisc.edu
Tue Nov 22 21:50:28 UTC 2011


Is there a way to programmatically assign a tun/tap to a specific port. 
  I have a bridge with only 3 interfaces attached but two of the 
interfaces are on ports 15 and ports 16 ... instead of port 2 and 3.  If 
i take these down and add two new interfaces, I believe they will go to 
ports 17 and 18.

I have attached output from from ovs-ofctl for the bridge.

sudo ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:0000362a4853dfb4
n_tables:1, n_buffers:256
features: capabilities:0x87, actions:0xfff
  1(eth0.1750): addr:00:26:b9:88:91:57
      config:     0
      state:      0
      current:    1GB-FD COPPER AUTO_NEG
      advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD AUTO_NEG
      supported:  10MB-HD 10MB-FD 100MB-HD 100MB-FD 1GB-FD COPPER AUTO_NEG
  15(vnet0): addr:fe:20:20:20:20:24
      config:     0
      state:      0
      current:    10MB-FD COPPER
  16(vnet1): addr:fe:20:20:20:20:21
      config:     0
      state:      0
      current:    10MB-FD COPPER



More information about the discuss mailing list