Cannot Ping on Uboot "Warning: gatewayip needed but not set"

When trying to ping on apalis imx6 on the uboot I got this message:

Apalis iMX6 #

Using FEC device

## Warning: gatewayip needed but not set

## Warning: gatewayip needed but not set

## Warning: gatewayip needed but not set

## Warning: gatewayip needed but not set
ARP Retry count exceeded; starting again

ping failed; host 192.168.3.129 is not alive

Noting that 192.168.3.129 is the ip of the board in my network.
Also when trying to ping the server ip, I got this message:

Apalis iMX6 # ping ${serverip}

Using FEC device

ARP Retry count exceeded; starting again

ping failed; host 192.168.10.1 is not alive

Could you know where the problem comes from?
Thank you.

Hi Jaski

Here you are all the details:

SOM: Apalis iMX6Q 2GB IT V1.1C

U-boot: 2016.11

Linux: Apalis-iMX6_LXDE-Image 2.8b3.111 20180626

Carrier board: Ixora V1.0A

I have also tried to change the ipserver to 192.168.1.1, but unfortunately I got the same output.

Thank you for your help.

Regards,
Abdelrahman Zayed

Thanks for the details.

I have also tried to change the ipserver to 192.168.1.1, but unfortunately I got the same output.
Could you describe precisely what you did and share the commands you tried and their output?

How is your network configuration? Is the module connected to a switch or directly to your host?

Perfect that it works. Thanks for the feedback.

HI @Abdelrahman_Zayed

Could you provide the version of the hardware and software of your module? Which carrier board are you using?

Concerning your issues, there is the following, you should know:

In uboot the ipaddr is fixed as 192.168.10.2 and serverip as 192.168.10.1. After the Start of Linux, dhcp client is launched on module side which will get an ip address then from the dhcp server in your network.

So first, you cannot ping yourself in uboot, since nothing is running to listen to the pings. For the second issue, in your case the serverip (which should be the address of your host) is different, therefore you need to change this value in u-boot.

Further your module and your host should be configured to be on the same subnet Mask.

Best regards, Jaski

Thank you Jaski.
I have changed the IP address of the board and the subnet mask, in order to be compatible with my network then it worked properly.

Thank you Jaski.
I have changed the IP address of the board and the subnet mask, in order to be compatible with my network then it worked properly.