Saturday, August 6, 2016

Ubiquity EdgeRouter X Initial Configuration

Recently I brought a nifty little - but powerful - device from Ubiquiti called the EdgeRouter X (from online sources, at a cost from $50 to $60). It will become a perfect replacement for an old SonicWALL TZ150 I have on a small work network. With a single 'PoE' (Power over Ethernet) "pass-through" the EdgeRouter X replaces some components I have been using since my first article about PoE almost two years ago.

The EdgeRouter X is powered by a 12VDC supply, or can have a PoE source of 24VDC applied on the first port ('eth0'). Either source can then be passed to the last port ('eth4') for supplying power to a connected device. Most often that will be a Wireless Access Point (WAP), which is also true for the network I am putting the EdgeRouter X in.



At one time I had an "IP Camera" on that small subnet, and powered it from the same 12VDC PoE bridge shown above. With only one device (the WAP) needing a PoE supply I can remove the PoE bridge and the larger power supply (12VDC @ 8 amps) that it used. Beyond those changes, the EdgeRouter X will be configured from a wizard for the initial configuration leaving my DSL modem handling the small subnet for now. In later articles, I will expand the EdgeRouter X to also handle that subnet, and show how I lock down the networks, enable remote access, and assign "reserved" internal IP addresses.

We begin from the basics: If you run the configuration wizards, even after adding another administrator account, you are prompted to reset the unit to the out-of-box defaults (don't worry, the wizard guides you through the process). It was easiest for me to connect to the 'eth0' port with the EdgeRouter X powered conventionally with its 12VDC adapter. Set a static IP on the system you will be using to configure the network of 192.168.1.2, subnet mask of 255.255.255.0, and gateway address of 192.168.1.1 (you can leave the static DNS entries blank for now).

Pull up your favorite web browser to the address of 192.168.1.1, and log-in using the default username of "ubnt" and password "ubnt":


Click on the "Wizard" tab on the far right-hand side, and select the "WAN-2LAN2" wizard:


Initially, I am setting a static IP address for the subnet on my DSL modem with appropriate entries. Later (as we go into the EdgeRouter X managing that subnet) that will change. I'm also setting up an "Optional Secondary LAN port (eth1)" as a placeholder for that process later. The LAN ports 'eth2', 'eth3', and 'eth4' (the PoE pass-through port) will be used for the LAN (enabling the DHCP server functionality as well). Once you apply the settings the EdgeRouter X will prompt you to reboot:


After the reboot, change the 'eth0' to your WAN connection, and move the connection of your computer to 'eth2' or 'eth3'. Remove the static IP address from your configuring system. Re-navigate to the web address of 10.1.4.254 and log-in with the default credentials once again. You should have default access to the Internet from a LAN connection, next we will turn on PoE pass-through. From the 'Dashboard' select the 'Actions' button to the right of the 'eth4' listing.


Select "Configure", then click on the 'PoE' tab and turn on the PoE pass-through. The system will warn you about the PoE settings (my WAP is the same 12VDC input level) as you 'Save' your changes. After it is complete the WAP should power up if connected, and there will be Internet access through it.


As a final step, we are going to add a new administrative user, and remove the default "ubnt" account. Click on the 'Users' tab, then on the 'New User' button. Enter the credentials (making sure you can remember them) and 'Save'. Log out, then log back in under the new account. Re-navigate to the 'Users' tab and 'Delete' the "ubnt" account.



We have the initial configuration working properly. Next time we will reconfigure for the EdgeRouter X to manage the subnet, and enable remote access (both HTTPS and SSH). Stay tuned!


No comments:

Post a Comment