To answer a ping to eth0 coming from eth1, lwIP has to actually route
the response. Is it capable of doing that or will it send it to the
gateway (which does not exist) ?
Have run Wireshark on your PC and checked if your lwIP device is
actually sending something ?
Have you followed the packet flow inside your lwIP device ?

That was a good advice, I only used the window cmd to ping those devices.
I'll try  Wireshark tomorrow!

By the way, ping IP by using cmd that have to send ICMP packets, isn't it?? 
In order to trace packet flow, l print some message log with SPI and
Teraterm.

For the future:
You won't be able to ping Device_2 from your PC unless:
- Device_2 is configured to have Device_1 as its gateway to
192.168.190.0/24; otherwise it will send it to .254, which is...
- Device_1 routes

OK, I see, I will try to think what you say, thanks for your tips.  



--
View this message in context: 
http://lwip.100.n7.nabble.com/Lwip-with-two-ethernet-ports-tp24405p24433.html
Sent from the lwip-users mailing list archive at Nabble.com.

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

Reply via email to