Set DHCP IPs to 10.0.0.1/24?

Simple question but I don't know network admin enough to figure it out. I want to have my internal IPs be 10.2.0.1 - 10.2.0.255.

https://openwrt.org/docs/guide-user/base-system/dhcp_configuration#dhcp_pool_for_a_large_network

I want to persist this on reboot. Can I do this in luci or should I set these commands to be run every reboot?

Also, when I tried to change the router IP in luci I couldn't seem to connect to the new IP afterwords. Do I need to clear my dns settings on the client or something?

The only thing you need to do, is to change the LAN IP of your router to 10.2.0.1. LAN DHCP address space is then automatically changed to the same subnet.

And yes, as the subnet changes, also your pc needs a new address from that subnet.
Note advice in https://openwrt.org/faq/change_lan_ip

3 Likes

ty.

luci, network, interfaces, lan, edit, ipv4 address

Save, and within the 90 second time limit, unplug and replug ethernet cable. In Win10 this was enough to get a new IP. (In Windows I ran ipconfig /release before unplugging, maybe that helped?) Then navigate in browser to the new IP that was set for the router, which stops the timer.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.