====== Change Ubiquiti EdgeRouter IP Address ====== The following steps can be followed to update the public (WAN) IP address and gateway on a Ubiquiti EdgeRouter that has already been configured for service. ===== Instructions ===== - Plug a computer in to port eth1, eth2, eth3, or eth4 on the front of the EdgeRouter and wait until you receive an IP address - **NOTE:** You should not be connected to any wireless networks as it may prevent you from accessing the EdgeRouter - The IP address you receive should be in the 192.168.50.x range - Open a web browser and go to https://192.168.50.1:8443. Accept any certificate errors and then log in with the username and password - Click ''System'' tab at the bottom of the page - Update the Gateway to the new Gateway address - Update the Name Servers to the new Name Server addresses - Leave 8.8.8.8 or 8.8.4.4 if those are listed. All other name server addresses should be updated or removed \\ {{:images:edgerouter-ip-1.png?direct&200|}} - Scroll down and click ''Save'' - Minimize the ''System'' tab if it is still visible so that you are back on the main page - Select the ''Actions'' dropdown next to interface ''eth0'' and click ''Config'' \\ {{:images:edgerouter-ip-2.png?direct&200|}} - Update the IP address to the new IP - **NOTE:** The IP address you enter must include the full IP, followed by a forward slash and then the CIDR notation for the subnet mask. Use the table below for examples and common CIDR notations. \\ {{:images:edgerouter-ip-3.png?direct&200|}} - Click ''Save''. Wait 60 seconds and then verify the internet is working as expected. ==== CIDR Notation ==== ^ Subnet Mask ^ CIDR Prefix ^ Example CIDR Notation ^ | 255.255.255.252 | /30 | 1.2.3.4/30 | | 255.255.255.248 | /29 | 1.2.3.4/29 | | 255.255.255.240 | /28 | 1.2.3.4/28 | | 255.255.255.224 | /27 | 1.2.3.4/27 |