Skip to main content
Lpadd.1
Associate
Sep 5, 2020 5:25 PM UTC
Solved

Is it needed for host pc to use static ip when working with LwIP ethernet?

Is it needed for host pc to use static ip when working with LwIP ethernet?

This topic has been closed for replies.
TDK
TDKBest answer
Sep 6, 2020 3:54 AM UTC

LwIP can use DHCP, provided you have a DHCP server somewhere.

Static IP can be easier to set up.

"If you feel a post has answered your question, please click ""Accept as Solution""."

3 replies

TDK
TDKBest answer
Sep 6, 2020 3:54 AM UTC

LwIP can use DHCP, provided you have a DHCP server somewhere.

Static IP can be easier to set up.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Lpadd.1
Lpadd.1Author
Associate
Sep 6, 2020 11:03 AM UTC

@TDK​ If I use a static ip on my host pc and a static ip on the stm32, do they have to be set differently or do they need to be the same?

TDK
Sep 6, 2020 2:07 PM UTC

They should be different. Two devices on a network should never have the same IP.

"If you feel a post has answered your question, please click ""Accept as Solution""."