<br><font size=2 face="sans-serif">seems the problem is default gateway
setting.</font>
<br><font size=2 face="sans-serif">If I comment this out, can still launch
netperf &nbsp;. &nbsp;(I'm just running the local loopback test to check)</font>
<br><font size=2 face="sans-serif">However my test setup (PC at 10.1.1.2
on WAN side of a router) &nbsp;DOES have &nbsp;a default gateway of 10.1.1.1,
so I need it there.</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Rick Jones &lt;rick.jones2@hp.com&gt;</b></font>
<p><font size=1 face="sans-serif">03/22/2007 08:57 PM</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;andrew.west@mindspeed.com, netperf-talk@netperf.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;Re: [netperf-talk] Static IP adress
stalls netperf &nbsp;?</font></table>
<br>
<br>
<br><font size=2><tt>andrew.west@mindspeed.com wrote:<br>
&gt; <br>
&gt; I'm a newbie to Netperf<br>
&gt; <br>
&gt; installed 2.4.3 tarball on a 2.6.16 kernel with debian sarge<br>
&gt; <br>
&gt; its working well with dhcp running . &nbsp;ran tests between 2 machines
on <br>
&gt; same subnet.<br>
&gt; <br>
&gt; However, when I change IP address of machine to a static IP setup
needed <br>
&gt; for one test:<br>
&gt; i.e from interfaces file:<br>
&gt; <br>
&gt; # The primary network interface<br>
&gt; auto eth0<br>
&gt; #iface eth0 inet dhcp<br>
&gt; iface eth0 inet static<br>
&gt; &nbsp; &nbsp;address 10.1.1.2<br>
&gt; &nbsp; &nbsp;network 10.1.1.0<br>
&gt; &nbsp; &nbsp;broadcast 10.1.1.255<br>
&gt; &nbsp; &nbsp;netmask 255.255.255.0<br>
&gt; &nbsp; &nbsp;gateway 10.1.1.1<br>
&gt; <br>
&gt; do a /etc/init.d/networking restart<br>
&gt; <br>
&gt; also a /etc/init.d/inetd restart &nbsp; &nbsp; (not sure if necessary)<br>
&gt; <br>
&gt; <br>
&gt; I can't even invoke netperf anymore &nbsp;(e.g just the standard tcp_stream
<br>
&gt; &nbsp;loopback test cmd) , command just hangs.<br>
&gt; <br>
&gt; Any ideas why?<br>
&gt; <br>
&gt; if I go back to dhcp, &nbsp;restart networking and inetd everything
works again.<br>
<br>
A few questions, the answers to which may help shed some light:<br>
<br>
*) What was the IP and mask you got via DHCP?<br>
<br>
*) What was the exact netperf command line?<br>
<br>
*) Does netstat -an still show a LISTEN endpoint for the netserver?<br>
<br>
rick jones<br>
</tt></font>
<br>