lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Lwip with two ethernet ports


From: Eason
Subject: Re: [lwip-users] Lwip with two ethernet ports
Date: Mon, 11 May 2015 07:57:40 -0700 (MST)

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]