免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5765 | 回复: 4
打印 上一主题 下一主题

开发板ping主机不通 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-12-06 17:12 |只看该作者 |倒序浏览
~ # ifconfig                                                                    
eth0      Link encap:Ethernet  HWaddr 000:CF:00:00:02                        
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0        
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1                    
          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:100                                          
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
          Interrupt:2 Base address:0x200                                       
                                                                                
lo        Link encapocal Loopback                                             
          inet addr:127.0.0.1  Mask:255.0.0.0                                   
          UP LOOPBACK RUNNING  MTU:16436  Metric:1                              
          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:0                                             
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)                                
                                                                                
~ # route add default gw 192.168.0.1                                            
~ # route                                                                       
Kernel IP routing table                                                         
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0   
NETDEV WATCHDOG: eth0: transmit timed out                                       
127.0.0.0       *               255.0.0.0       U     0      0        0 lo      
NETDEV WATCHDOG: eth0: transmit timed out                                       
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth0   
~ # ping 192.168.0.1                                                            
PING 192.168.0.1 (192.168.0.1): 56 data bytes                                   
NETDEV WATCHDOG: eth0: transmit timed out                                       
NETDEV WATCHDOG: eth0: transmit timed out                                       
NETDEV WATCHDOG: eth0: transmit timed out                                       
NETDEV WATCHDOG: eth0: transmit timed out                                       
NETDEV WATCHDOG: eth0: transmit timed out                                       
NETDEV WATCHDOG: eth0: transmit timed out

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
2 [报告]
发表于 2009-12-06 18:48 |只看该作者
你的网管是192.168.0.1吗

论坛徽章:
0
3 [报告]
发表于 2009-12-06 19:23 |只看该作者
我如果只有host和target两个构成网络,网关要怎么填,能不能host的ip为192.168.0.1,网关也为192.168.0.1。即使这样也是那样的问题。。

论坛徽章:
5
摩羯座
日期:2014-07-22 09:03:552015元宵节徽章
日期:2015-03-06 15:50:392015亚冠之大阪钢巴
日期:2015-06-12 16:01:352015年中国系统架构师大会
日期:2015-06-29 16:11:2815-16赛季CBA联赛之四川
日期:2018-12-17 14:10:21
4 [报告]
发表于 2009-12-06 19:34 |只看该作者
没有自己的路由器吗?
我的开发环境是一个小路由器
就是100块钱一个的无线路由
默认的就是192.168.1.1

论坛徽章:
0
5 [报告]
发表于 2009-12-06 19:45 |只看该作者
我没有路由器,我们这样的不用路由器吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP