Re-enabling DHCP and NetBios

Hi all,

In my system, I am using a static IP address, but also searching for a DHCP server every 10 seconds or so by re-enabling the DHCP client for a bout half a second. This works a treat, but it seems that once the ARM reconfigures its IP address I can no longer use the host name to log ping the device or log on to its web page.

I guess there are probably good reasons for this, but I wondered if any one knows why or of a work around as its very useful to type the host name when you don't know the device's IP address!!

I'm using TcpNet

Parents
  • Try enabling the Send Notification on Address changes in the Net_Config.c file. When your TCPnet system changes the IP address, it sends a Gratuitous ARP notification. This might help the PC to register the new IP address.

    However Win-XP seems to ignore it and still caches the old IP address. So if you want to access the board after the IP address of the board has changed, you need to flush the ARP/IP cache on your PC. For the Win-XP, click on Repair for the Local Area Connection.

Reply
  • Try enabling the Send Notification on Address changes in the Net_Config.c file. When your TCPnet system changes the IP address, it sends a Gratuitous ARP notification. This might help the PC to register the new IP address.

    However Win-XP seems to ignore it and still caches the old IP address. So if you want to access the board after the IP address of the board has changed, you need to flush the ARP/IP cache on your PC. For the Win-XP, click on Repair for the Local Area Connection.

Children
More questions in this forum