UDP broadcasts and netmask
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Ethernet Chips
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: UDP broadcasts and netmask
by mickle ·
Hi-
I have done more testing and have more info, as the problem seems to only occur under certain conditions:
Setup is netmask 255.255.255.0 on all devices (all W5100)
10.0.1.21 sends direct UDP data to 10.0.1.101 and 10.0.1.102
also sometimes it sends broadcasts to 255.255.255.255 and sometimes only to 10.0.1.255
if another W5100, address 10.0.2.21 is listening for UDP packets on same port, it sees the 255.255.255.255 broadcasts but not the 10.0.1.255 broadcast, and this is correct. 10.0.2.21 is also sending direct packets to two other W5100, 10.0.2.103 and 10.0.2.104 (these only listen for packets and I think not relevant).
However, if 10.0.2.21 now sends a broadcast to 10.0.2.255, then it starts receiving broadcasts for 10.0.1.255! it seems like sending a broadcast packet breaks the incoming filter.
if need more info let me know, thanks!
RE: UDP broadcasts and netmask
by irinakim ·
Hi,
I tested about your question using W5100E01-AVR(firmware v1.4.5).
So far it’s been no problem.
If possible, can you upload your driver’s source code onto here(related send function)?
Are you using the our firmware?
I hope to hear your prompt response.
thanks