[netperf-talk] Static IP adress stalls netperf ?

Rick Jones rick.jones2 at hp.com
Thu Mar 22 11:57:46 PST 2007


andrew.west at mindspeed.com wrote:
> 
> I'm a newbie to Netperf
> 
> installed 2.4.3 tarball on a 2.6.16 kernel with debian sarge
> 
> its working well with dhcp running .  ran tests between 2 machines on 
> same subnet.
> 
> However, when I change IP address of machine to a static IP setup needed 
> for one test:
> i.e from interfaces file:
> 
> # The primary network interface
> auto eth0
> #iface eth0 inet dhcp
> iface eth0 inet static
>    address 10.1.1.2
>    network 10.1.1.0
>    broadcast 10.1.1.255
>    netmask 255.255.255.0
>    gateway 10.1.1.1
> 
> do a /etc/init.d/networking restart
> 
> also a /etc/init.d/inetd restart     (not sure if necessary)
> 
> 
> I can't even invoke netperf anymore  (e.g just the standard tcp_stream 
>  loopback test cmd) , command just hangs.
> 
> Any ideas why?
> 
> if I go back to dhcp,  restart networking and inetd everything works again.

A few questions, the answers to which may help shed some light:

*) What was the IP and mask you got via DHCP?

*) What was the exact netperf command line?

*) Does netstat -an still show a LISTEN endpoint for the netserver?

rick jones


More information about the netperf-talk mailing list