User Tools

Site Tools


ubnt:change_subnet_ip

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

ubnt:change_subnet_ip [2018/12/09 08:27] (current)
derek created
Line 1: Line 1:
 +=====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
 +
 +<code>
 +configure
 +save /tmp/config_copy.boot
 +vi /tmp/config_copy.boot
 +</code>
 +  * 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
 +<code>
 +load /tmp/config_copy.boot
 +compare
 +</code>
 +
 +  * If correct, ''commit'' the changes, which will most likely force a disconnect
 +  * Reconnect and save the changes so they are applied on boot
 +<code>
 +configure
 +save
 +exit
 +</code>
ubnt/change_subnet_ip.txt · Last modified: 2018/12/09 08:27 by derek