User Tools

Site Tools


ubnt:change_subnet_ip

Change Subnet IP

This guide explains how to change the IP of the LAN subnet, most of this also applies to any changes that benefit from editing the config file directly.

Enter the router CLI, either from the GUI or a ssh client

configure
save /tmp/config_copy.boot
vi /tmp/config_copy.boot
  • Change all instances of the subnet IP address to the desired subnet
  • Use x to delete characters and i to add the new ip address
  • Save and exit with esc :x
  • Load and compare the new and old configs to check that the desired changes have been successfully edited
load /tmp/config_copy.boot
compare
  • If correct, commit the changes, which will most likely force a disconnect
  • Reconnect and save the changes so they are applied on boot
configure
save
exit
ubnt/change_subnet_ip.txt · Last modified: 2018/12/09 08:27 by derek