OpenWrt Forum Archive

Topic: Change default IP

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

How can i change the default IP 192.168.1.1 to 192.168.2.2?

Can someone do it for me, of if already exists send me?

Thank!

From the command line:

uci set network.lan.ipaddr=192.168.2.2
uci commit network
ifup lan

In LuCI:
1) open http://192.168.1.1 in your browser
2) go to LuCI / Network Interfaces
3) click on the Edit button for the LAN network
4) in the General Setup tab enter 192.168.2.2 in the IPv4 address field
5) hit the Save & Apply botton at the end of the page

Done :-)

(Last edited by written_direcon on 17 Sep 2014, 16:52)

The discussion might have continued from here.