Raw모드로 icmp 사용시
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: Raw모드로 icmp 사용시
by hjjeon0608 ·
W5100 자체 ping 기능은 펌웨어 구현과 전혀 상관없이 동작합니다.
IP주소와 MAC 주소를 한번 체크해보세요.
RE: Raw모드로 icmp 사용시
by hjjeon0608 ·
또는 핑 세팅도 확인해보세요
RE: Raw모드로 icmp 사용시
by kds4715 ·
RAW-ICMP 모드를 해제하고 TCP모드로 바꾸면 ping 잘 됩니다.
RAW-ICMP 모드로 전환하면 안됩니다.
PC에서 Ping 하면 RAW-ICMP로 설정된 포트로 ping-request 데이터가 들어옵니다.
그래서 프로그램적으로 응답데이터를 보내서 처리하긴 했는데…
ping요청 데이터가 RAW-ICMP 포트로 들어와서 W5100 내부 Ping 처리기(?)가 핑 요청데이터를 놓치는거 아닌가? 생각해봅니다.
RE: Raw모드로 icmp 사용시
by hjjeon0608 ·
IP RAW모드로 소켓을 오픈한 건가요??
그렇다면 ping request는 모두 소프트웨어로 올라오게 됩니다.
그러므로 직접 처리해 줘야 합니다.
RE: Raw모드로 icmp 사용시
by suhwan ·
MR Register의 상위4번째 비트인 Ping Block Bit가 '1’로 설정되어 있으면
W5100의 내부 Ping reply로직이 Disable되어 Ping Request에 대한 Reply를 하지 않을 수 있습니다 .
이 로직은 MACRAW 사용유무에 상관없이 동작합니다.
감사합니다.