I am looking to port lwip to a embedded processor. But first, I wanted to test the performance of the TCP/IP stack on linux (ubuntu 7.10). I built the unixsim and minimal projects in the contrib unix ports directory. When I run them with no options they work properly (after fixing bug I filed: #22983). However, I cannot use them on the network ... they only work locally. I would like to test the performance by using netperf on the lwip and on a normal linux machine. How do I let lwip access the outside world?

First, I noticed that the tap0 interface is configured by ifconfig with the gateway instead of the IP address. Why is this?

Second, if I try something like:

./simhost -i 192.168.9.253 -g 192.168.9.253

I cannot connect to the TCP/IP side from another machine (on the 192.168.9.0 subnet), but I can get pings. I get "Connection Refused" when I try to "telnet 192.168.9.253". I also tried something like:
./simhost -i 192.168.9.252 -g 192.168.9.253

In this case, .252 is not accessible at all and .253 exhibits the same issues as above. Why would the gateway be accessible but not the actual IP? It seems that this has something to do with ifconfig issue above.

Can anyone give me some pointers as to how to move forward?

        -rishi



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to