|
|
 |
|
|
| 1. 小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 0 / 2
MP : 1 / 19
EXP : 10%
|
|
新手上路

成员等级: 1
发表总数: 3
金币总数: 15
所属组别: 普通成员
注册日期: 2006/07/13

|
我的板子和计算机通过对等网线连成一个局域网,在扳子里面的程序里设置扳子的IP地址是192.168.0.2。网关是192.168.0.35。指定目标IP地址(即计算机IP地址)是192.168.0.35。然后在计算里我也把计算机的IP地址设置成了192.168.0.35,网关设置成了192.168.0.35。 在上电工作的时候,应该是板子给计算机发送一个ARP指令,里面包含目的IP地址,计算机接收到以后解析到其中的IP地址正是自己IP地址的时候,就会把自己的MAC地址发送给板子,然后扳子发送数据给计算机接收。可是我这里并没有这样,而是在EtherPeek显示中看到的是计算机在发广播,不知道怎么回事。 请各位大虾不吝赐教啊!!! |
 |
|
|
| 2. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 250 / 1254
MP : 1625 / 21993
EXP : 16%
|
|
迟则生变
           
成员等级: 51
发表总数: 4877
金币总数: 308
所属组别: 管理员
注册日期: 2003/01/9

|
数据包贴上来看看?

 没有谁能像一座孤岛/在大海里独踞/每个人都像一块小小的泥土/连接成整个陆地/如果一块泥土被海水冲去/欧洲将缺其一隅/这如同一座山岬/也如同你的朋友和你自己/无论谁死了/都是自己的一部分在死去/因为我包含在人类这个概念里/因此我从不问丧钟为谁而鸣/它为我,也为你 No man is an Island, entire of itself; every man is a piece of the Continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a man or of thy friends or of thine own were; any man's death diminishes me, because I am involved in Mankind; And therefore never send to know for whom the bell tolls; It tolls for thee.
|
 |
|
|
| 3. Re: Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 0 / 2
MP : 1 / 19
EXP : 10%
|
|
新手上路

成员等级: 1
发表总数: 3
金币总数: 15
所属组别: 普通成员
注册日期: 2006/07/13

|
我把数据包放在附件里了,谢谢看一下哦
附带图片
|
 |
|
|
| 4. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 250 / 1254
MP : 1625 / 21993
EXP : 16%
|
|
迟则生变
           
成员等级: 51
发表总数: 4877
金币总数: 308
所属组别: 管理员
注册日期: 2003/01/9

|
这个好象是PC在查找补丁服务器(SUS)的请求啊? 可以把抓下来的包存成文件,作为附件贴上来的。

 没有谁能像一座孤岛/在大海里独踞/每个人都像一块小小的泥土/连接成整个陆地/如果一块泥土被海水冲去/欧洲将缺其一隅/这如同一座山岬/也如同你的朋友和你自己/无论谁死了/都是自己的一部分在死去/因为我包含在人类这个概念里/因此我从不问丧钟为谁而鸣/它为我,也为你 No man is an Island, entire of itself; every man is a piece of the Continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a man or of thy friends or of thine own were; any man's death diminishes me, because I am involved in Mankind; And therefore never send to know for whom the bell tolls; It tolls for thee.
|
 |
|
|
| 5. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 0 / 15
MP : 2 / 109
EXP : 60%
|
|
新手上路

成员等级: 1
发表总数: 7
金币总数: 19
所属组别: 普通成员
注册日期: 2006/07/14

|
计算机网关不要设为自己 设成自己他就会广播的
一般只有在用到proxy ARP的时候才这么设 |
 |
|
|
| 6. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 0 / 2
MP : 1 / 19
EXP : 10%
|
|
新手上路

成员等级: 1
发表总数: 3
金币总数: 15
所属组别: 普通成员
注册日期: 2006/07/13

|
是这样的,我后来把计算机的IP设置成192.168.0.35,板子的IP设置成了192.168.0.2.把两个的网关都设置成了192.168.0.3. 可是仍然是广播.数据包也一样. 原先我的意思是板子连到计算机上,向计算机发一个ARP请求,计算机把自己的MAC地址告诉板子.然后扳子就可以向计算机发送数据了.可是为什么老师出现计算机广播的数据包呢. 问题到底是怎么回事啊?会不会网络没有通,还是哪里没设对呢? |
 |
|
|
| 7. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 0 / 15
MP : 2 / 109
EXP : 60%
|
|
新手上路

成员等级: 1
发表总数: 7
金币总数: 19
所属组别: 普通成员
注册日期: 2006/07/14

|
netbios的广播报文和ARP没关系的 不用管他 那是windows的事 你只要看arp报文PC有没有收到就可以了 |
 |
|
|
| 8. Re:小妹求教EtherPeek,急啊 |
  |
|
 |
|
HP : 250 / 1254
MP : 1625 / 21993
EXP : 16%
|
|
迟则生变
           
成员等级: 51
发表总数: 4877
金币总数: 308
所属组别: 管理员
注册日期: 2003/01/9

|
因为机器上还有别的程序在运行所以也会有别的数据包

 没有谁能像一座孤岛/在大海里独踞/每个人都像一块小小的泥土/连接成整个陆地/如果一块泥土被海水冲去/欧洲将缺其一隅/这如同一座山岬/也如同你的朋友和你自己/无论谁死了/都是自己的一部分在死去/因为我包含在人类这个概念里/因此我从不问丧钟为谁而鸣/它为我,也为你 No man is an Island, entire of itself; every man is a piece of the Continent, a part of the main; if a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a man or of thy friends or of thine own were; any man's death diminishes me, because I am involved in Mankind; And therefore never send to know for whom the bell tolls; It tolls for thee.
|
 |
 |