This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DHCP (re) Discovery?

I have a situation where the DHCP server is not available until after my ARM device starts up. My understanding is the stack will fall back to a static configuration.

How can I make DHCP attempt discovery again without totally resetting my program? Calling init_TcpNet() again doesn't seem to do it.

Thanks
Dave

Parents
  • You can not restart DHCP. Once a lease is obtained, also an IP address expiration timeout is obtained from DHCP Server. TCPnet DHCP Client maintaines this timeout and when expired, it resends DHCP Renewal request to DHCP Server. This process runs indefinetly. It always tries to renew his IP address when the lease has expired.

    However you may always restart your application and DCHP Client will restart also.

    Franc

Reply
  • You can not restart DHCP. Once a lease is obtained, also an IP address expiration timeout is obtained from DHCP Server. TCPnet DHCP Client maintaines this timeout and when expired, it resends DHCP Renewal request to DHCP Server. This process runs indefinetly. It always tries to renew his IP address when the lease has expired.

    However you may always restart your application and DCHP Client will restart also.

    Franc

Children
No data