yubin00145865 / iperf

Automatically exported from code.google.com/p/iperf
Other
0 stars 0 forks source link

When using iperf3 on two debian machine UDP packets are not flowing from client to server iperf3 #154

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have two machines both debian ..one i created as  a iperf server and other as 
a client.

when i am sending  UDP packet from one machine to another on ethernet  i am 
able to send packet. but when I am sending  packet  from ppp of client  to  
server  its showing  conneted  state but packet are not flowing between client 
and server. Can you please help

server :

iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:5201 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:5201 

Chain FORWARD (policy ACC

I am sending UDP packet to below on server

eth1:8    Link encap:Ethernet  HWaddr 00:1b:21:9c:d3:c0  
          inet addr:192.168.252.10  Bcast:192.168.252.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:30 Memory:ec080000-ec0a0000 

eth1:9    Link encap:Ethernet  HWaddr 00:1b:21:9c:d3:c0  
          inet addr:192.168.252.11  Bcast:192.168.252.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:30 Memory:ec080000-ec0a0000 

eth1:10   Link encap:Ethernet  HWaddr 00:1b:21:9c:d3:c0  
          inet addr:192.168.252.12  Bcast:192.168.252.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:30 Memory:ec080000-ec0a0000 

Client side configuration :
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:5.64.0.167  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:32 (32.0 B)  TX bytes:44 (44.0 B)

ppp1      Link encap:Point-to-Point Protocol  
          inet addr:5.64.2.132  P-t-P:10.64.64.65  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
          RX packets:5 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:32 (32.0 B)  TX bytes:44 (44.0 B)

Now when i started UDP transfer  below  is the  output I am getting at  server  
and client. Not  sure what  is the issue.

Client output:
root@pstaidast1:/home/carla/iperf-3.0.11/src# iperf3 -c 192.168.252.10 -fm -d 
-t600 -u -b 100m
send_parameters:
{
    "udp":  true,
    "omit": 0,
    "time": 600,
    "parallel": 1,
    "len":  8192,
    "bandwidth":    100000000
}
Connecting to host 192.168.252.10, port 5201
iperf3: error - unable to read from stream socket: Resource temporarily 
unavailable

Server output : 

iperf3 -s
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 5.64.2.132, port 60226
[  5] local 192.168.252.2 port 5201 connected to 5.64.2.132 port 37299
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total 
Datagrams
[  5]   0.00-1.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   1.00-2.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   2.00-3.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   3.00-4.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   4.00-5.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   5.00-6.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   6.00-7.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   7.00-8.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   8.00-9.00   sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]   9.00-10.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  10.00-11.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  11.00-12.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  12.00-13.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  13.00-14.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  14.00-15.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  15.00-16.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  16.00-17.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  17.00-18.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  18.00-19.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  19.00-20.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  20.00-21.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  21.00-22.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  22.00-23.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  23.00-24.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  24.00-25.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  25.00-26.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  26.00-27.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  27.00-28.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  28.00-29.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
[  5]  29.00-30.00  sec  0.00 Bytes  0.00 bits/sec  0.000 ms  0/0 (-nan%)  
iperf3: error - unable to receive control message: Connection reset by peer

-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

Original issue reported on code.google.com by sachinse...@gmail.com on 13 Jul 2015 at 5:42