Transfer IPs based on MAC address onto another Openwrt install


Moving from a LinkSys wrt3200acm w/OpenWrt install to a Belkin RT3200 w/OpenWrt. The majority of my device IPs are determined by MAC address. What is easiest way to transfer this to the Belkin router? I am hoping UCI commands could be used.


The easiest way (assuming you use the same IP ranges) is to just copy /etc/config/dhcp over.

1 Like

Grab winscp.

Connect to old router. copy over the etc/config/dhcp file. edit it to pull the mac reservations. Save that to separate file.

Setup new router. Copy in the reservations you snipped out and insert them to the bottom of the etc/config/dhcp file on the new router.

Open beer and chill :slight_smile: