[netperf-talk] Static IP adress stalls netperf ?
andrew.west at mindspeed.com
andrew.west at mindspeed.com
Fri Mar 23 11:39:38 PST 2007
seems the problem is default gateway setting.
If I comment this out, can still launch netperf . (I'm just running the
local loopback test to check)
However my test setup (PC at 10.1.1.2 on WAN side of a router) DOES have
a default gateway of 10.1.1.1, so I need it there.
Rick Jones <rick.jones2 at hp.com>
03/22/2007 08:57 PM
To: andrew.west at mindspeed.com, netperf-talk at netperf.org
cc:
Subject: Re: [netperf-talk] Static IP adress stalls netperf
?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20070323/86f61ea8/attachment.htm
More information about the netperf-talk
mailing list