lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Ping Error


From: Philippe VENAULT
Subject: Re: [lwip-users] Ping Error
Date: Tue, 17 Jan 2012 14:22:43 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Gisle Vanem <address@hidden> writes:

> 
> "Philippe VENAULT" <address@hidden> wrote:
> 
> > I have a local network with a PC, my equipment and a switch.
> > IP Addr switch : 192.168.0.1
> > IP Addr PC : 192.168.0.2
> > IP Addr Equipment : 192.168.0.3
> > 
> > Ping from PC to equipment
> > 
> > first request : ARP => the PC searchs who is 192.168.0.3 ?
> > Reply : ARP => Equipment replys 192.168.0.3 is at 00:0a:35...(MAC ADDR)
> > 
> > Second request ICMP => Echo (Ping) Request from 192.168.0.2 to 192.168.0.3
> > reply : ICMP => Echo (Ping) Reply from 128.232.0.3 to 192.168.0.2
> 
> Let me see if I understood the problem. You're pinging from 192.168.0.2 to
> 192.168.0.3 and get a reply from 128.232.0.3? You conclude that from a
> Wireshark trace? What's the MAC-src of the reply from 128.232.0.3? If it's
> the MAC-src of the switch it cannot be from 128.232.0.3 since that's on 
> another LAN-segment. Right? Assuming your netmasks are correct.
> 
> So either you're misreading the trace incorrectly or a legit ICMP-echo-reply 
> from 128.232.0.3 just confused you, or an endian issue, or something else.
> 
> Did you use a display-filter (on MAC-address) in WireShark?
> 
> --gv
> 

No it is not the Mac-Addr of the switch but it's not either the same that I 
have 
configured by software. For example, I configure 00:0a:35:00:01:AA for 
192.168.0.3 and the reply is 00:0a:35:00:01:2A for 128.232.0.3. 

I have try without the switch and the problem is the same.
I have activated LWIP DEBUG and with the printing, i see the wrong IP Address 
in 
the terminal...
It seems that it is in the software in "lwip function library" that the problem 
is but where !!!
Yet I use the example provided by Xillinx unchanged : lwip echo server





reply via email to

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