# Ping not working. Trouble getting started w/ FreeRTOS+TCP on Zynq (Zedboard)

**URL:** <https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117>\
**Category:** Libraries\
**Tags:** debug\
**Created:** [December 21, 2024, 12:12am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117 "2024-12-21T00:12:20Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 13, 2025, 6:32pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/21 "2025-01-13T18:32:07Z")

</div>

@aggarg @tony-josi-aws  
This is the MAC Address I’m using in both LWIP and in FreeRTOS + TCP  
**static uint8\_t ucMACAddress[6] = { 0x00, 0x0a, 0x35, 0x00, 0x01, 0x02 };**  
In LWIP I’m able to ping w/ no issues

I have three devices on my network:  
IP 10.100.100.151 (i.e. 0xa646497) - Raspberry Pi  
IP 10.100.100.140 (i.e. 0xa6464a0) - Windows 10 machine  
IP 10.100.100.160 (i.e. 0xa64648c) - Zynq

Here’s my console output when starting the Zynq application:

**FreeRTOS\_AddEndPoint: MAC: 01-02 IPv4: a6464a0ip**  
**prvIPTask started**  
**XEmacPs detect\_phy: PHY detected at address 0.**  
**Start PHY autonegotiation**  
**Waiting for PHY to complete autonegotiation.**  
**autonegotiation complete**  
**link speed: 1000**  
**prvEMACHandlerTask[0] started running**  
**Network buffers: 28 lowest 28**  
**END POINT created vApplicationIPNetworkEventHook\_Multi**  
**Network buffers: 28 lowest 27**

* * *

Here’s the console output when I ping from Rpi:

**pxEasyFit: ARP a646497ip → a6464a0ip**  
**ipARP\_REQUEST from a646497ip to a6464a0ip end-point a6464a0ip**

Note, that on the Rpi I do not see the ping replies.

* * *

Here’s the console output when I ping from Windows:

**Network buffers: 27 lowest 26**  
**pxEasyFit: ARP a6464a0ip → a64648cip**  
**ipARP\_REPLY from a64648cip to a6464a0ip end-point a6464a0ip**  
**pxEasyFit: ARP a64648cip → a6464a0ip**  
**ipARP\_REQUEST from a64648cip to a6464a0ip end-point a6464a0ip**

On Windows I do see ping replies

* * *

Here’s the console output when I ping from Windows a second time:  
**pxEasyFit: ARP a64648cip → a6464a0ip**  
**ipARP\_REQUEST from a64648cip to a6464a0ip end-point a6464a0ip**

* * *

Here’s the console output when I ping from Rpi a second time:  
**pxEasyFit: ARP a646497ip → a6464a0ip**  
**ipARP\_REQUEST from a646497ip to a6464a0ip end-point a6464a0ip**

So maybe the ipARP\_REPLY is one of the issues?

---

<div class="post-metadata">

**Author:** ![tony-josi-aws](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tony-josi-aws](https://forums.freertos.org/u/tony-josi-aws)\
**Post date:** [January 14, 2025, 4:36am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/22 "2025-01-14T04:36:13Z")

</div>

Does the ping work from Windows after you tried pinging from RPi, and have you verified that the PRi has a different MAC address compared to Zynq?  
Can you share your ARP configurations, for example:

```c
/* The ARP cache is a table that maps IP addresses to MAC addresses. The IP
 * stack can only send a UDP message to a remove IP address if it knowns the MAC
 * address associated with the IP address, or the MAC address of the router used to
 * contact the remote IP address. When a UDP message is received from a remote IP
 * address the MAC address and IP address are added to the ARP cache. When a UDP
 * message is sent to a remote IP address that does not already appear in the ARP
 * cache then the UDP message is replaced by a ARP message that solicits the
 * required MAC address information. ipconfigARP_CACHE_ENTRIES defines the maximum
 * number of entries that can exist in the ARP table at any one time. */
    #define ipconfigARP_CACHE_ENTRIES 6

/* ARP requests that do not result in an ARP response will be re-transmitted a
 * maximum of ipconfigMAX_ARP_RETRANSMISSIONS times before the ARP request is
 * aborted. */
    #define ipconfigMAX_ARP_RETRANSMISSIONS ( 5 )

/* ipconfigMAX_ARP_AGE defines the maximum time between an entry in the ARP
 * table being created or refreshed and the entry being removed because it is stale.
 * New ARP requests are sent for ARP cache entries that are nearing their maximum
 * age. ipconfigMAX_ARP_AGE is specified in tens of seconds, so a value of 150 is
 * equal to 1500 seconds (or 25 minutes). */
    #define ipconfigMAX_ARP_AGE 150

```

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 14, 2025, 5:58pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/23 "2025-01-14T17:58:44Z")

</div>

@tony-josi-aws  
After attempting a ping from the Rpi (which doesn’t work)  
I can then attempt a ping from Windows which does work.

I’ve confirmed that the MAC address is different on the Zynq.  
I’ve also hooked up a Linux Mint laptop to the network and it has the same issue trying to ping the Zynq.

Here are my ARP settings from my FreeRTOSIPConfig.h file:

**#define ipconfigARP\_CACHE\_ENTRIES 6**  
**#define ipconfigMAX\_ARP\_RETRANSMISSIONS ( 5 )**  
**#define ipconfigMAX\_ARP\_AGE 150**

Some additional info:  
**static const uint8\_t ucGatewayAddress[4] = { 10, 100, 100, 1 };**

Also, I’m not using DNS. I’m only using static IP addresses.  
In my example I set  
**static const uint8\_t ucDNSServerAddress[4] = { 208, 67, 222, 222 };**  
Not sure if that’s an issue?

---

<div class="post-metadata">

**Author:** ![tony-josi-aws](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tony-josi-aws](https://forums.freertos.org/u/tony-josi-aws)\
**Post date:** [January 15, 2025, 4:34am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/24 "2025-01-15T04:34:24Z")

</div>

Can you try enbling DHCP for your endpoint and try again?

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 16, 2025, 7:46pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/25 "2025-01-16T19:46:37Z")

</div>

@tony-josi-aws

I have added the following in FreeRTOSIPConfig.h:  
**#define ipconfigUSE\_DHCP 1**

However, I still see the same behavior.

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [January 20, 2025, 6:15am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/26 "2025-01-20T06:15:34Z")

</div>

> [@svgarcia](#):
>
> I’ve also hooked up a Linux Mint laptop to the network and it has the same issue trying to ping the Zynq.

Can you capture the network traffic on this laptop? This may give us some information about why it is not able to ping the device.

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 22, 2025, 4:34am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/27 "2025-01-22T04:34:16Z")

</div>

@aggarg

I am attaching two packet captures from the Linux laptop to the Zynq (10.100.100.153 to 10.100.100.160) as well as one packet capture from the Windows machine to the Zynq (10.100.100.140 to 10.100.100.160).  
I also included a packet capture from the linux laptop to the Raspberry pi (10.100.100.153 to 10.100.100.151).

At the end of the day I’m trying to create a TCP server and client.  
Next thing I may try is going for TCP server and client between windows and zynq to see if that works. But if the ping doesn’t work, it makes me thing other things may be wrong.  
[pcaps.zip](https://forums.freertos.org/uploads/short-url/9suv7Yp5E4RIuuY2XWxqOBkHGCr.zip) (89.0 KB)

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [January 22, 2025, 5:33am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/28 "2025-01-22T05:33:06Z")

</div>

Thank you for sharing these packet captures. I looked at these and I do not see anything obviously wrong. Can you put a breakpoint in Network interface input path on Zynq and see if the Ping request from the laptop ever reaches the device?

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 22, 2025, 5:53pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/29 "2025-01-22T17:53:16Z")

</div>

@aggarg

Could you guide me in where exactly you want me to set a breakpoint?  
Which file and function?

-Sam

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [January 23, 2025, 5:44am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/30 "2025-01-23T05:44:27Z")

</div>

Here - [FreeRTOS-Plus-TCP/source/portable/NetworkInterface/Zynq/NetworkInterface.c at main · FreeRTOS/FreeRTOS-Plus-TCP · GitHub](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/source/portable/NetworkInterface/Zynq/NetworkInterface.c#L624).

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [January 26, 2025, 12:54am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/31 "2025-01-26T00:54:07Z")

</div>

@aggarg

I put two break points: [breakPoint1](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/fbb668ac7786c6f4ea8f2a60bfa2ae63c0b43863/source/portable/NetworkInterface/Zynq/NetworkInterface.c#L632) and [breakPoint2](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/fbb668ac7786c6f4ea8f2a60bfa2ae63c0b43863/source/portable/NetworkInterface/Zynq/NetworkInterface.c#L652)

I looks like all the pings from Windows result in xResult = 1 (see breakPoint1 link above).  
However, when pings from Linux are sent xResult is sometimes 1, sometimes 0.

For the times that xResult = 1 from Linux  
I would pause at breaPoint2 and after two or three seconds resume the operation of the application and a ping reply would sometimes get registered on the Linux machine.  
However, a majority would not come back. Below I show a portion of the console output from the Linux machine (Raspberry Pi)

user@rpi151:~ $ ping 10.100.100.160  
PING 10.100.100.160 (10.100.100.160) 56(84) bytes of data.  
From 10.100.100.151 icmp\_seq=13 Destination Host Unreachable  
From 10.100.100.151 icmp\_seq=14 Destination Host Unreachable  
64 bytes from 10.100.100.160: icmp\_seq=39 ttl=64 time=3399 ms  
From 10.100.100.151 icmp\_seq=60 Destination Host Unreachable  
From 10.100.100.151 icmp\_seq=70 Destination Host Unreachable  
64 bytes from 10.100.100.160: icmp\_seq=90 ttl=64 time=5614 ms  
From 10.100.100.151 icmp\_seq=106 Destination Host Unreachable  
ping: sendmsg: No route to host  
From 10.100.100.151 icmp\_seq=107 Destination Host Unreachable  
From 10.100.100.151 icmp\_seq=108 Destination Host Unreachable

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [January 27, 2025, 6:10am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/32 "2025-01-27T06:10:37Z")

</div>

That is very good debugging! The next step is to step into `emacps_check_rx` and see why is it behaving differently to pings from Windows and Linux.

> [@svgarcia](#):
>
> For the times that xResult = 1 from Linux  
> I would pause at breaPoint2 and after two or three seconds resume the operation of the application and a ping reply would sometimes get registered on the Linux machine.

Instead of pausing, a better way may be to add a log for xResult value and see if you get ping replies when xResult is 1.

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [February 24, 2025, 3:50am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/33 "2025-02-24T03:50:29Z")

</div>

@aggarg . I got caught up with other tasks, and and am now coming back to this task.  
I think we may be getting too much into the weeds so to speak.  
Before going down this path, can we take a look at my FreeRTOSIPConfig.h file?

I originally got a FreeRTOSIPConfig.h file from [here](https://github.com/FreeRTOS/FreeRTOS/blob/main/FreeRTOS-Plus/Demo/FreeRTOS_Plus_TCP_Echo_Posix/FreeRTOSIPConfig.h).  
I am have attached my modified file to this reply at the bottom.

You can find the few modifications I made by searching the term “SDOG”.

In order to get the project to compile for Zynq I had to add a few extra things that were missing.

Specifically:  
#define ipconfigZERO\_COPY\_TX\_DRIVER 1  
#define ipconfigZERO\_COPY\_RX\_DRIVER 1  
#define ipconfigNIC\_N\_TX\_DESC ( 32 )  
#define ipconfigNIC\_N\_RX\_DESC ( 32 )  
#define ipconfigNIC\_LINKSPEED\_AUTODETECT ( 1 )

For ipconfigNIC\_N\_TX\_DESC and ipconfigNIC\_N\_RX\_DESC I was not able to find any documentation about appropriate values to put in here so I just put 32.  
Do you know what values I should be using?

Could you take a look through the attached FreeRTOSIPConfig.h file to see if anything sticks out and may be a potential culprit?

[FreeRTOSIPConfig\_sdog.h](https://forums.freertos.org/uploads/short-url/n6BWuim5H6WXDZClwXOr9OxAAPT.h) (17.6 KB)

---

<div class="post-metadata">

**Author:** ![tony-josi-aws](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tony-josi-aws](https://forums.freertos.org/u/tony-josi-aws)\
**Post date:** [February 24, 2025, 11:57am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/34 "2025-02-24T11:57:42Z")

</div>

@svgarcia

Can you try updating/adding the FreeRTOSIPConfig.h file with the following test again?

```c
#define ipconfigDRIVER_INCLUDED_TX_IP_CHECKSUM ( 1 )
#define ipconfigETHERNET_DRIVER_FILTERS_PACKETS ( 0 )

```

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [February 24, 2025, 6:44pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/35 "2025-02-24T18:44:51Z")

</div>

@tony-josi-aws  
Looks like doing the setting  
#define ipconfigETHERNET\_DRIVER\_FILTERS\_PACKETS ( 0 )

Resolved my ping issue. I had a feeling it was something to do with my FreeRTOSIPConfig.h file.

Do you know what values I should use for ipconfigNIC\_N\_TX\_DESC and ipconfigNIC\_N\_RX\_DESC?

---

<div class="post-metadata">

**Author:** ![aggarg](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/aggarg/32/4245_2.png) [@aggarg](https://forums.freertos.org/u/aggarg)\
**Post date:** [February 25, 2025, 5:37am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/36 "2025-02-25T05:37:11Z")

</div>

> [@svgarcia](#):
>
> Looks like doing the setting  
> #define ipconfigETHERNET\_DRIVER\_FILTERS\_PACKETS ( 0 )
> 
> Resolved my ping issue.

Glad that it worked for you.

> [@svgarcia](#):
>
> Do you know what values I should use for ipconfigNIC\_N\_TX\_DESC and ipconfigNIC\_N\_RX\_DESC?

Looking at the [code](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c#L101-L108), these configs are used to control the number of network buffer descriptors used for Tx and RX. 32 should be good enough.

---

<div class="post-metadata">

**Author:** ![tony-josi-aws](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tony-josi-aws](https://forums.freertos.org/u/tony-josi-aws)\
**Post date:** [February 25, 2025, 6:59am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/37 "2025-02-25T06:59:10Z")

</div>

> [@svgarcia](#):
>
> Looks like doing the setting  
> #define ipconfigETHERNET\_DRIVER\_FILTERS\_PACKETS ( 0 )
> 
> Resolved my ping issue.

Thanks for reporting back. It seems like incoming ping request packets are dropped somewhere [in this code](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/V4.1.0/source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c#L436-L482). It will be great if you could verify if that’s what’s happening there by putting breakpoints in those `return pdFALSE;` statements.

The `ipconfigNIC_N_RX_DESC` and `ipconfigNIC_N_TX_DESC` define the number of DMA descriptors for reception and transmission. As @aggarg suggested, those values look good. You can even lower them if you wish to save memory if your core is running faster to keep up with the rate of packet transmissions. Note that ideally the total number of network buffers, `ipconfigNUM_NETWORK_BUFFER_DESCRIPTORS` should be greater than the total number of TX and RX DMA descriptors.

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [February 26, 2025, 6:55pm UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/38 "2025-02-26T18:55:46Z")

</div>

@tony-josi-aws  
As you suggested I re-enabled the  
#define ipconfigETHERNET\_DRIVER\_FILTERS\_PACKETS (1)  
in my FreeRTOSIPConfig.h file.

When I send pings to the Zynq I see a pdFALSE get returned in this [section of the code](https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/f940d75a1393ba976edfcce118d4d97dc234322d/source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c#L444)

On a separate note, thanks for clarifying the values for ipconfigNIC\_N\_RX\_DESC and ipconfigNIC\_N\_TX\_DESC.

---

<div class="post-metadata">

**Author:** ![tony-josi-aws](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tony-josi-aws](https://forums.freertos.org/u/tony-josi-aws)\
**Post date:** [February 27, 2025, 4:35am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/39 "2025-02-27T04:35:39Z")

</div>

@svgarcia

Thanks for sharing the finding. Saw that the endian correction is performed twice for fragment offset bit mask in the Zynq network interface packet filtering function [`ipFRAGMENT_OFFSET_BIT_MASK` is already defined to be matching as per the endian requirement based on the `ipconfigBYTE_ORDER`, it doesn’t need `FreeRTOS_ntohs` again]. Can you please apply the following patch and test?:

```c
--- a/source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c
+++ b/source/portable/NetworkInterface/Zynq/x_emacpsif_dma.c
@@ -439,7 +439,7 @@ BaseType_t xMayAcceptPacket( uint8_t * pucEthernetBuffer )
 
         /* Ensure that the incoming packet is not fragmented (only outgoing packets
          * can be fragmented) as these are the only handled IP frames currently. */
- if( ( pxIPHeader->usFragmentOffset & FreeRTOS_ntohs( ipFRAGMENT_OFFSET_BIT_MASK ) ) != 0U )
+ if( ( pxIPHeader->usFragmentOffset & ipFRAGMENT_OFFSET_BIT_MASK ) != 0U )
         {
             return pdFALSE;
         }

```

I will create a PR with the fix.

---

<div class="post-metadata">

**Author:** ![svgarcia](https://avatars.discourse-cdn.com/v4/letter/s/4491bb/32.png) [@svgarcia](https://forums.freertos.org/u/svgarcia)\
**Post date:** [February 27, 2025, 6:07am UTC](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117/40 "2025-02-27T06:07:29Z")

</div>

@tony-josi-aws

I re-enabled the setting:  
#define ipconfigETHERNET\_DRIVER\_FILTERS\_PACKETS (1)

In /portable/NetworkInterface/Zynq/x\_emacpsif\_dma.c  
I changed the line to:  
_if( ( pxIPHeader-\>usFragmentOffset & ipFRAGMENT\_OFFSET\_BIT\_MASK ) != 0U )_

and pings now work with the setting above.

Glad we were able to discover this bug.

[Previous page](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117.md?page=1)

[Next page](https://forums.freertos.org/t/ping-not-working-trouble-getting-started-w-freertos-tcp-on-zynq-zedboard/22117.md?page=3)
