I installed DD-WRT mini image on my router. I have a board that gets rebooted a lot(development device). It is very frustrating that my board keeps getting different addresses every couple of reboots.

The network consists of my workstation, the router, and the development board. The board uses busybox udhcpc and ifupdown. I did not find any host specific settings in the web GUI.

  • 1
    Comment since I don't know the UI: Find a place in the UI where you can make assignments based on MAC address. The base firmware for Linksys (ahem, Cisco) devices has a page where they show the MAC addresses of the devices currently connected to the router, and you can force a long term mapping. Im sure DD-WRT has the same, I just never have used it so can not be specific. – Rich Homolka May 30 '13 at 15:22
  • For some reason, I could not find it in the UI, that's why I was asking the question. – Atilla Filiz May 31 '13 at 8:35

As @RickHomolka suggests:

  • You simply need to grab the MAC address of your development board network interface (either wireless or wired).
    • The easiest way to find this would be to check your DHCP lease table in DD-WRT
  • Create a DHCP reservation in DD-WRT based on that MAC address
    • If possible, assign an IP address that is in the subnet but out of the current DHCP pool of addresses.

Here's the writeup from dd-wrt on Static DHCP

enter image description here

  • 1
    Most router firmware should be able to show the MAC as the router sees it. IT would be easier to check the router UI first, then if it isn't shown there, then you can check your client (the board in this case). – Rich Homolka May 30 '13 at 15:37
  • Good call. Added that – Will May 30 '13 at 15:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.