[ovs-discuss] Docker container connected by OVS+DPDK, `Ping` work but `iperf` NOT

xia rui xiarui0428 at gmail.com
Fri Jun 14 12:15:13 UTC 2019


Hello Ben,
Thank you for your replay, I have already try to "up" the ports created by
ovs-docker. However, things do not work as well.

The configuration of the ovs-docker port is :
9f59092068994_l Link encap:Ethernet  HWaddr 96:ec:de:eb:e3:f9
          inet6 addr: fe80::94ec:deff:feeb:e3f9/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:42 (42.0 B)  TX bytes:4532 (4.5 KB)

They are up. I have try to assign an IP address to it. iperf server still
does not work.

The problem is strange, for I have observed (using tcpdump in docker
container) iperf request packets (tcp packets) arrived at the ovs-docker
port, but the iperf server (application level) does not receive the packet.

iperf server can receive iperf packets using "system". But When I change to
"netdev" (for DPDK), iperf server cannot receive iperf packets.

Best wishes,
xia

On Fri, Jun 14, 2019 at 1:54 AM Ben Pfaff <blp at ovn.org> wrote:

> On Thu, Jun 13, 2019 at 12:33:40PM +0800, xia rui wrote:
> > Hello, everyone.
> > I am using OVS+DPDK to test the throughput of two docker containers. I
> set
> > up my platform as described in the following question in StackOverflow
> (url:
> >
> https://stackoverflow.com/questions/56539216/docker-container-connected-by-ovsdpdk-ping-work-but-iperf-not
> > ).
> >
> > There are two containers (box1, box2) and one OVS bridge (ovs-br1), which
> > connects box1-eth1 and box2-eth1.
> >
> > I can ping from box1-eth1 to box2-eth2 using bridge ovs-br1. However,
> iperf
> > does not work.
> >
> > I have checked the packets sent by box1-eth1 has reached box2-eth1, and
> the
> > iperf server in box2 has no reaction.
> >
> > The detailed description in another question in StackOverflow (url:
> >
> https://stackoverflow.com/questions/56555930/interface-received-packets-iperf-application-does-not-get-packets-and-does-no
> > )
>
> The log that you quoted has a number of "network is down" messages for
> the network devices.  Maybe you need to bring them up e.g. with
> "ifconfig $dev up".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20190614/644b15cd/attachment.html>


More information about the discuss mailing list