[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Delay at startup to answer with gateway
From: |
Stéphane Lesage |
Subject: |
[lwip-users] Delay at startup to answer with gateway |
Date: |
Wed, 03 Mar 2010 13:51:53 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Windows/20090812) |
Hi,
My LwIP devices work fine in general,
but I discovered a problem recently in an environment where we use gateways.
After powering-up, we have a delay of about 35 seconds before they are
reachable.
When using the same device from the same network, we have no problem.
At first I suspected a problem with the switch/routers ARP cache.
I asked my colleagues to do a wireshark capture (port mirroring)
- packets 12-14: LwIP starts and sends ARP gratuitous and IGMP reports
- a pc (192.168.245.14) pings the LwIP device (192.168.241.226),
we can see the packets arriving on the wire, so the router already knows
the MAC address of the device.
- another PC (192.168.245.11) is trying to connect to TCP port 12302...
- no answer for 34 seconds
- packets 48-51: the LwIP answers to a TCP SYN (arp request to find a
gateway MAC and SYN ACK)
What's wrong ?
Did someone else meet the same problem ?
I cannot reproduce in my office (no routeur)... next week I'll be able
to debug.
--
Stephane Lesage
capture 20100302 PING line133.pcap
Description: Binary data
- [lwip-users] Delay at startup to answer with gateway,
Stéphane Lesage <=