[W5300] SOCK_UDP모드에서 IP충돌 시 ARP갱신 문제
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: [W5300] SOCK_UDP모드에서 IP충돌 시 ARP갱신 문제
by becky ·
안녕하세요
이해하신대로 W5300에서는 ARP를 전송한 이후 Sn_DIPR이 변경되지 않는 이상 ARP를 전송하지 않기때문에 해당 IP를 사용하는 장치가 변경되었다 하더라도 이를 알지 못합니다.
따라서 ARP를 강제로 전송해야하는 상황같습니다.
다른 칩의 경우 Force ARP라는 기능으로 ARP가 항상 전송되도록 설정할 수 있는 기능이 있지만, W5300에는 적용되지 않았습니다.
대체 방안으로 Sn_DIPR를 변경하여 다른 IP로 데이터를 전송하였다가 다시 본래 IP로 변경하면 될 것 같습니다.
다른 IP로 변경되었다가 다시 설정되면 ARP가 전송됩니다.