[netperf-talk] Problem of Netperf (not Netsever :-))
Rick Jones
rick.jones2 at hp.com
Tue Dec 19 14:58:12 PST 2006
Thitinan Tantidham wrote:
> Hallo Rick,
>
> Thanks a lot for your answers.
>
> After I took the configuration from xinetd out and left only
> /etc/services file.
> Now I got netserver, on 192.168.1.102 :-)
So, on the machine with 192.168.1.102 a netstat -an | grep 12865 shows a
TCP endpoint in the LISTEN state yes?
> But I still have problem with netperf that can't make establishment to
> 192.168.1.102.
> Is my option correct? The result is in below. How to solve this problem?
>
> Best Regards,
> Thitinan
>
> #netserver -L 192.168.102 -4
> Starting netserver at port 12865
> Starting netserver at hostname 192.168.1.102 port 12865 and family AF_INET
>
> # netperf -L 192.168.1.103,4 -H 192.168.1.102,4 -t TCP_STREAM -p 12865,
> 12865 -d
Since 12865 is the default control port, might as well leave that off.
> Program name: netperf
> Local send alignment: 8
> Local recv alignment: 8
> Remote send alignment: 8
> Remote recv alignment: 8
> Report local CPU 0
> Report remote CPU 0
> Verbosity: 1
> Debug: 1
> Port: 12865
> Test name: TCP_STREAM
> Test bytes: 0 Test time: 10 Test trans: 0
> Host name: 192.168.1.102
>
> installing catcher for all signals
> Could not install signal catcher for sig 9, errno 22
> Could not install signal catcher for sig 19, errno 22
> Could not install signal catcher for sig 32, errno 22
> Could not install signal catcher for sig 33, errno 22
> Could not install signal catcher for sig 65, errno 22
> remotehost is 192.168.1.102 and port 12865
> establish_control called with host '192.168.1.102' port '12865' remfam
> AF_INET
> local '192.168.1.103' port '0' locfam AF_INET
> getaddrinfo returned the following for host '192.168.1.102' port '12865'
> family AF_INET
> cannonical name: '192.168.1.102'
> flags: 2 family: AF_INET: socktype: SOCK_STREAM protocol
> IPPROTO_TCP addrlen 16
> sa_family: AF_INET sadata: 50 65 192 168 1 102
> getaddrinfo returned the following for host '192.168.1.103' port '0'
> family AF_INET
> cannonical name: '192.168.1.103'
> flags: 3 family: AF_INET: socktype: SOCK_STREAM protocol
> IPPROTO_TCP addrlen 16
> sa_family: AF_INET sadata: 0 0 192 168 1 103
> bound control socket to 192.168.1.103 and 0
> establish_control: connect failed, errno 110 Connection timed out
> trying next address combination
> establish control: are you sure there is a netserver listening on
> 192.168.1.102 at port 12865?
> establish_control could not establish the control connection from
> 192.168.1.103 port 0 address family AF_INET to 192.168.1.102 port 12865
> address family AF_INET
Any chance that there are some firewall rules enabled on one system or
the other?
rick jones
More information about the netperf-talk
mailing list