AnsweredAssumed Answered

Dyamic IP allocation and DNS resolve

Question asked by Bhavesh Patel on Mar 28, 2016
Latest reply on Apr 5, 2016 by Bhavesh Patel



I am using imx287 board with Linux with NAND Flash boot.

I am able to bring up board and able to see rootfs and uploaded net example to connect with Linux server in Local Network.

Following are my queries:

1) To assign IP address to board, I am using 'ifconfig eth0 x.x.x.x' command but this IP is not being reflected in Router List. So what are changes required to be made so that Board asks Router to assign IP address? (for both eth0 and eth1)


2) I am able to connect to systems within same network (checked using ping and pc_server, arm_client application). But not able to ping Internet Servers (like google, yahoo, with or without IP address. Following are logs:

root@freescale ~$ ifconfig eth0

eth0      Link encap:Ethernet  HWaddr 00:04:00:00:00:00 

          inet addr:  Bcast:  Mask:


          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


root@freescale ~$ ping

PING ( 56 data bytes

ping: sendto: Network is unreachable

root@freescale ~$

My requirement is to access outside network to send and get data. How to achieve this?


3) Currently I am loading code to board using USB stick, I started TFTP server on my Ubuntu system as mentioned in LTIB guide but code is not being fetched by board?


Any starting point will be helpful.