[ovs-discuss] Configuring Manual rules in OVS

karthik karra karrakarthik88 at gmail.com
Tue Jul 17 05:03:10 UTC 2018


Hi All,

How to configure manual rules in OVS when port numbers of OVS of virtual
machines when re-connected changes than the previous one ?

Below is the output after running twice. The port numbers its taking is not
deterministic.

/openvswitch-2.5.5# ovs-ofctl show ovs_bridge
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000a2557be83e4d
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
 100(tap0): addr:de:fb:c9:5e:eb:ce
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 101(tap1): addr:fa:8d:16:ce:a7:64
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 LOCAL(ovs_bridge): addr:a2:55:7b:e8:3e:4d
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

==========================================
/openvswitch-2.5.5# ovs-ofctl show ovs_bridge
OFPT_FEATURES_REPLY (xid=0x2): dpid:0000a2557be83e4d
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: output enqueue set_vlan_vid set_vlan_pcp strip_vlan mod_dl_src
mod_dl_dst mod_nw_src mod_nw_dst mod_nw_tos mod_tp_src mod_tp_dst
 102(tap0): addr:9e:a4:d8:bd:4f:79
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 103(tap1): addr:2e:58:65:f9:b4:bc
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 LOCAL(ovs_bridge): addr:a2:55:7b:e8:3e:4d
     config:     0
     state:      0
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20180717/201cd00f/attachment.html>


More information about the discuss mailing list