Changing router IP-Adress with 21.02.0

OpenWrt 21.02.0, r16279-5cc0535800
Zyxel Armor Z2

I assume the problem is the rollback-function.

I connect with a Notebook to the router and get via DHCP an ip-address from the'router. If I change the IP-address at "LAN", save it, and then save and apply I get a warning after 90s and then I assume the rollback starts and I get the old IP again Since the notebook has to get a new IP-address in the new network this can't work.

I found 2 files with 192.168.1.1

/etc/config/network: option ipaddr '192.168.1.1'
and /etc/ethers

I want to give the router 192.168.178.2

In earlier versions, it stopped working, I started the network again with my Linux PC and it worked,

If you want to do it in LuCI you can just temporarily add a second IP address to your PC interface, e.g:

# adapt it to your setup
ip a add 192.168.178.x/24 dev <interface>

Then switch to the new router IP address as soon as you apply changes.

1 Like

It is getting strange. See ZyXEL NBG6817 Armor Z2 not reachable, but nmap sees it

I can't acces the router anymore.

What I did:Using LUCI (GUI):
added a 2nd IP 192.168.178.2
Save at the configuration page
save at the overview page
save and apply at the overview page
everything fine
removed 192.168.1.1
same as before:
Save at the conifguration page
save at the overview page
save and apply at the overview page

This time I got "apply unchecked", which I did

waited a few minutes

started the network new with my linux pc.

router not reachable
network manager showed connected, by unknown IP-address.

Created a static IP-address for the linux pc (192.168.178.122)
starting network again.
ping the router, no response

I created a new thread ZyXEL NBG6817 Armor Z2 not reachable, but nmap sees it

I think it was bad luck.

I tried it as I did always, simple editing the IP-address and then save / save / save and apply

Device unreachable!

Could not regain access to the device after applying the configuration changes. You might need to reconnect if you modified network related settings such as the IP address or wireless security credentials.

I clicked "apply unchecked" and now I get:

root@OpenWrt:~# grep -r "192.168.178.2" /etc/
/etc/config/network:	option ipaddr '192.168.178.2'

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