Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21323 Discussions

Can not ping to the host

Altera_Forum
Honored Contributor II
2,323 Views

https://www.alteraforum.com/forum/attachment.php?attachmentid=8953 Can anybody help me with this problem. It says that "100% packets lost!" :(

0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
1,323 Views

Your Linux can`t obtain IP address from DHCP system: 

...Sending discover... No lease, failing 

And "Link is Up" -- board`s cable is connected to network, all OK. 

Ask your system administrator, if DHCP configured strange. Best way -- Windows and Linux configured through DHCP. 

Or try set in Windows option "Default gateway" -- reply to ping go out to this IP, else rejected. 

May use "arp -a" in command prompt to display all recently (5 min) dialed IP- and MAC-addresses with your Windows. If see MAC 76:6C:73:63:4B:xx or IP 192.168.2.12, then ping damaged from Windows!
0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

I have tried, but I still dont know how to solve it

0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

More information, smaller panic findings, please! 

And what is output of "arp -a" before and after pinging from board-Linux ? Is appeared new pair IP/MAC in Windows ? 

I try repetition of your problem with my SoC and Win7 (or WinXP)-- ping work always from L to W and back. I plug Eth-cable from board to PC port, link is up, remove PC-DHCP, set direct 192.168.132.27/255.255.255.0 to PC and 192.168.132.100 to Linux -- no problem. 

Please describe your configuration of net-experiences: hubs, all net devices and it's connections, OS-es, in detail. Include photo of desktop. 

Try replace Eth-cable from board, plug it to another jack...
0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

First of all, I would like to thank you for your enthusiasm for helping me! 

Here are 2 pictures. One is the result of command arp -a  

The other is my OS, device manager.https://www.alteraforum.com/forum/attachment.php?attachmentid=8959 https://www.alteraforum.com/forum/attachment.php?attachmentid=8960  

I have reinstalled my Win7, but the problem were not be improved. 

Additionally, I can connect to the Internet through this ethernet cable. 

And 5 days ago, the Linux target can ping to PC without loss.
0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

May be virus recently infection ? Starting Win in safe mode and network support may disable many viruses once. 

"arp -a" say, what packet from Linux (192.168.2.12) received successful. 

Win7 may reply to ping to 2nd network 192.168.1.*, if default gateway points there. 

Sniff-soft wireshark-win32 may catch and show all Eth packets or with filters. 

I not spec in routing tables, this forum about other jungles :) 

Pinging from Win7 to Linux add 192.168.2.12 to list of IP/MAC pairs ? 

It's possible unplug 2nd net cable, reboot and probe ? 

Other PCs present in system ? Pinging there and back is successful ?
0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

lenkalenken, I know it's been a long time, but did you resolve this problem? I have a similar issue so I'm wondering how you resolved. Can you show us the output of command "ifconfig -a"? Thanks!

0 Kudos
Altera_Forum
Honored Contributor II
1,323 Views

qwik, 

I changed my PC, then the problem is solved :)
0 Kudos
Reply