네트워크 케이블 언플러그드 시 dhcp 클라이언트 동작
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: 네트워크 케이블 언플러그드 시 dhcp 클라이언트 동작
by justinkim ·
안녕하세요
DHCP 통신은 다음과 같은 상황에 주로 일어납니다.
등등에서 일어납니다. 자세한 내용은 DHCP 프로토콜 스펙을 확인해주시기 바랍니다.
DHCP client측에서 케이블 언플러그가 되었을 때 타임아웃이 발생 후 다시 연결이 된다면 다시 DHCP Server에게 DICOVER 메세지를 보내서 IP를 할당받는 과정이 있으면 좋을것 같습니다. 타임아웃 발생 이전이라면 문제없이 통신이 계속 이루어질것입니다.
DHCP server측이 reboot 되었을시 역시 타임아웃이 발생할 것이고 다시 DISCOVER 메세지를 보낸다면 정상 동작할 것입니다.
즉 ip 할당 절차를 재수행하는게 안전할 것입니다.
TCP client와 내부적으로 연결되어있다면 sever인것을 찾을 수 있는… server만 응답하는 broadcast를 보내 server의 ip를 찾아 tcp 연결을 하는 방법도 있을 수 있겠네요… 마치 DHCP discover message 같은 것을 해당 TCP server에 설계해 client들이 server 주소를 찾아 connection을 맺는 부분을 설계하시면 될 것 같습니다.