Author Topic: problem getting an ip address with DHCP ..  (Read 6727 times)

Offline neil

  • Sr. Member
  • ****
  • Posts: 438
    • View Profile
problem getting an ip address with DHCP ..
« on: March 21, 2011, 08:20:56 PM »
Hi Mark,
  I have a board setup with DHCP enabled, and it doesnt get an address from the server. Our client is running Windows Exchange 2003. I have attached the file from wireshark where you can see the board requesting for an IP address. But in wireshark it mentions that the source is 192.168.0.100 which is the default IP address, but when a button is pressed on the board, DHCP is enabled and after the board is restarted it is then the request is made

I had the default gateway set to 192.168.0.1 as well as the default ip as 192.168.0.1. I see also within the wireshark file that when the board requests an ip address, it says source 192.168.0.100 , and in the info field it mentions "who has 192.168.0.1? Tell 192.168.0.100". Do I have to set the default ip as 0.0.0.0(same as gateway)? What about the netmask, is there a default value to be set?

Regards
Neil
« Last Edit: March 21, 2011, 09:26:48 PM by neil »

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: problem getting an ip address with DHCP ..
« Reply #1 on: March 21, 2011, 11:12:20 PM »
Neil

I am not sure what the problem is at the moment but you can chose to start with an Ip address or 0.0.0.0. In the case of starting with an address the esequence is a bit different since the device will first try to get the old address again and usualyl then falls back to the 0.0.0.0 state when this is not accepted.

See section 5 of  http://www.utasker.com/docs/uTasker/uTaskerDHCP.PDF for a method of accelerating this.

I would however expect the DHCP server to answer - which I don't see.

Regards

Mark