스위칭허브와 W5500 연결

W5500과 STM으로 TCP 통신을 하기 위해 개발을 진행 중입니다.

테스트 환경은 하나의 공유기에 PC 두대가 각각 포트에 연결되고, 다른 포트에는 제작된 제품을 연결하였고, 하나의 PC는 서버로 세팅하고, 나머지 PC와 보드는 클라이언트로 세팅하여 통신이 됨을 확인하였습니다.

그런데 실제 환경은 공유기가 아니고 스위칭 허브인데, 이렇게 연결하면 PC끼리는 통신이 되는데, W5500은 IP 할당도 안되고, 연결도 되지를 않네요.

이런 환경에서는 어떤식으로 펌웨어를 해줘야 하는지요?

이미지로 표현하면 이런형태입니다.

W5500 must obtain IP address using DHCP first, or you should hardcode/somehow configure valid IP address into the chip (each chip on the network should have unique IP address, as well as MAC address).

DCHP로 구동되고 있습니다.
공유기에 물려 있을때는 IP가 할당이 되는데, 스위칭 허브에서는 할당이 안되네요
이유를 모르겠습니다

Ok, this is different story. In this situation, even if router does not display the device host name (provided through option 12) it must show the IP address assigned to the device. If it does not, then something is misconfigured, and router blocks the messaging. First of all, check MAC address you have chosen for the W5500 to be valid.