Pinging router problem on uCLinux platform

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by awadhesh on Sat Mar 22 02:12:55 MST 2014

I am working on ea-LPC1788 board on uCLinux platform. I have configured the network using

1> ifconfig eth0 netmask up
2> route add default gw eth0

After that I connected to my host pc, which IP is, it with ping successfully and host pc can ping the board successfully. Host ip is


ping is working on board and ping is working on host pc successfully.

And also host pc can ping the router i.e. ping
64 bytes from icmp_req=1 ttl=64 time=21.5 ms
64 bytes from icmp_req=2 ttl=64 time=6.05 ms
64 bytes from icmp_req=3 ttl=64 time=6.25 ms

But when I have connected board via router, it will not ping router from the board i.e. ping, it will not work. After pressing  ctrl+C I got.
PING ( 56 data bytes
--- ping statistics ---
7 packets transmitted, 0 packets received, 100% packet loss

This board cannot connect to any pc via router where as all pc are connected to each other via this router and working properly except this board.

I have checked the router table: route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   *        U     0      0        0 eth0
default         UG    0      0        0 eth0

It will very grateful if someone can help me!