Ed Proulx

zero config in absence of DHCP server

Discussion created by Ed Proulx on Dec 15, 2009
Latest reply on Dec 16, 2009 by Ed Proulx

The DHCP client on my freescale system (MCF52258 based) works fine to obtain an IP address via the DHCP protocol. I'm using a linksys BESFR41 router for this purpose. When the router is not connected, the DHCP on my board simply times out and reverts to some hardcoded default IP. It was 0.0.0.0 but I now hard-code it to something else.

 

I wish to use "zero conf networking" protocol (as per RFC 3927) when DHCP times out. There is no such implementation in the freescale OS, and I have not seen it anywhere else on this forum. My application does not need access to the internet, but it does need an IP to operate correctly. Whether the IP is from DHCP or zero-conf does not matter.

 

So my question: does anyone have a zero conf functionality that I can port to my system?

 

Thanks.

 

Ed

Outcomes