Microchip
直播中

王涛

7年用户 1240经验值
私信 关注
[问答]

在网络交换机上阻止DHCP Discover消息

我试图使用一个HDBN LAN链路/交换机实现一个和声1.07。由于某些原因,不传递DHCP发现消息。我尝试了一些其他设备,它的工作,它似乎不与微芯片网络堆栈工作。我正在搜索这些消息之间可能存在的差异,并修改了堆栈,看看我是否能通过这个消息,但到目前为止还没有运气。我注意到的是,工作单元打开了无碎片标志。我在哪里可以在微芯片堆中设置这个标志,我似乎找不到它。

以上来自于百度翻译


      以下为原文

    I am trying to use a hARMony 1.07 implementation with an HDBT LAN link/switch.  For some reason the DHCP discover message is not passed through.  I tried it with some other devices, and it worked, it only seems to not work with the Microchip Net Stack.  I am searching through what differences there may be between the messages and have modified the stack to see if I can get the message through, but no luck so far.  What I noted also, is that the working units have the no-fragment flag turned on.  Where can I set this flag in the Microchip stack, I cannot seem to find it.

回帖(7)

杨叶

2018-12-29 16:28:40
嗨,如果我的记忆是正确的,发现包是一个简单的UDP包(用WiRESARK检查)。如果它不出来,它意味着在你的“HDBT LAN链接/交换机”中有一些过滤。你能确认你的观察是基于WiReSARK而不是基于发现的事实。实用工具没有看到你的PIC32板吗?当做

以上来自于百度翻译


      以下为原文

    Hi,
If my memory is correct, the discovery packet is a simple UDP packet (check with Wireshark).
If it does not come out it means there is some filtering going on in your special "HDBT LAN link/switch".
Can you confirm that your observation is based on wireshark and not on the fact that the discovery utility does not see your PIC32 board ?
Regards
 
 
举报

褚溢稚

2018-12-29 16:38:00
我正在使用WiReSARK进行验证。我通过IPv4模块跟踪XMT,它至少走了这么远,但从未从开关中看到它。我还尝试了静态寻址,并且没有ARPS通过,它不喜欢协议中常见的东西。

以上来自于百度翻译


      以下为原文

    I am using wireshark to verify.  I tracked the xmt through ipv4 module and it goes at least that far, but never see it out of the switch.  I also tried going to static addressing, and no ARPs get through, it just does not like something that is common in the protocol.
举报

杨叶

2018-12-29 16:54:52
嗨,如果连ARP数据包都不知道,你的交换机真的有问题……你切换“托管”了吗?也许试着做一个工厂复位,看看会发生什么?连接几个PC,看看ARP包是否进入和外挂

以上来自于百度翻译


      以下为原文

    Hi,
If even ARP packets don't go through, your switch really has an issue...
Is you switch "managed" ?
Maybe try to do a factory RESET and see what happens ?
Connect a couple of PCs to see if ARP packets go in and out
Regards
 
举报

云达贞

2018-12-29 17:10:11
如果您使用WiReSARK进行验证,您会看到由PIC32传输的DHCP包(应该重试)吗?另一个标志是DHCP消息中的单播与广播。交换机是否支持单播DHCP消息?P.S.ItFoad也不适用于静态地址,那么您确实有一个问题,用另一个来改变它,看看问题是否解决了。

以上来自于百度翻译


      以下为原文

    If you verify with wireshark, do you see the DHCP packets transmitted by PIC32 (there should be retries)?
Another flag that comes to mind is the unicast vs. broadcast in the DHCP message.
Does the switch support unicast DHCP messages?
 
P.S. I fit doesn't work with static address either, then you really have a problem with that switch.
Change it with another one and see if the problems are solved.
 
举报

更多回帖

发帖
×
20
完善资料,
赚取积分