Skip to main content
Visitor II
September 5, 2020
Solved

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

  • September 5, 2020
  • 3 replies
  • 1153 views

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

    This topic has been closed for replies.
    Best answer by TDK

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

    Static IP can be easier to set up.

    3 replies

    TDKAnswer
    Super User
    September 6, 2020

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

    Static IP can be easier to set up.

    Lpadd.1Author
    Visitor II
    September 6, 2020

    @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?

    Super User
    September 6, 2020

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