[ovs-discuss] Trouble to understand OpenVSwitch behaviour

Henning Rogge henning.rogge at fkie.fraunhofer.de
Tue Oct 15 13:29:06 UTC 2013


Hi,

I am experimenting with OVS on a two-interface device at the moment.

I have a OVS bridge setup and a port bound to interface eth0. The bridge
has an IP address and I can communicate with the services using the
bridge IP address through interface eth0.

Interface wlan0 is not attached to the bridge, it has its own IP
address. I can also communicate with the services of the device using
the IP of interface wlan0.

I tried to make sure to setup the ovs rules in a way that interface eth0
can access the services through the IP on the bridge:

# ovs-ofctl show br0
OFPT_FEATURES_REPLY (xid=0x1): dpid:000000156dae2c83
n_tables:255, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC
SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
 1(eth0): addr:00:15:6d:ae:2c:83
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max
 LOCAL(br0): addr:00:15:6d:ae:2c:83
     config:     0
     state:      0
     speed: 100 Mbps now, 100 Mbps max


# ovs-ofctl dump-flows br0
NXST_FLOW reply (xid=0x4):
 cookie=0x0, duration=1849.514s, table=0, n_packets=673, n_bytes=64966,
idle_age=343, priority=2,in_port=1,dl_dst=00:15:6d:ae:2c:83 actions=LOCAL
 cookie=0x0, duration=1849.599s, table=0, n_packets=10, n_bytes=600,
idle_age=918, priority=2,arp,in_port=1,arp_tpa=10.64.3.17 actions=LOCAL
 cookie=0x0, duration=1872.393s, table=0, n_packets=356, n_bytes=23994,
idle_age=961, priority=0 actions=NORMAL
 cookie=0x0, duration=1850.046s, table=0, n_packets=668, n_bytes=63784,
idle_age=343, priority=2,in_port=65534 actions=output:1
 cookie=0x0, duration=1849.368s, table=0, n_packets=351, n_bytes=31517,
idle_age=26, priority=1,in_port=1 actions=drop
 cookie=0x0, duration=1849.449s, table=0, n_packets=0, n_bytes=0,
idle_age=1849,
priority=2,icmp6,in_port=1,icmp_type=135,nd_target=fe80::215:6dff:fead:2c83
actions=LOCAL

Now I want to add the second interface to the ovs bridge, but as soon as
I run "add-port br0 wlan0" I loose connectivity to the services on the
bridge through interface eth0.

I still have connectivity through interface wlan0 (and its IP address).

How can I keep connectivity connectivity through eth0 when I add wlan0
to the bridge?

Henning Rogge
-- 
Diplom-Informatiker Henning Rogge , Fraunhofer-Institut für
Kommunikation, Informationsverarbeitung und Ergonomie FKIE
Kommunikationssysteme (KOM)
Fraunhofer Straße 20, 53343 Wachtberg, Germany
Telefon +49 228 9435-961,   Fax +49 228 9435 685
mailto:henning.rogge at fkie.fraunhofer.de http://www.fkie.fraunhofer.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6169 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131015/25bbd27d/attachment.p7s>


More information about the discuss mailing list