Ubiquiti EdgeRouter-X Initial Configuration

Buying enterprise grade network devices requires some configuration before you can start using it but to unleash the network device’s full potential, you will have to deep dive into each settings.

For this article, I will be walking you through my initial EdgeRouter-X configuration.

Hooking it all up

To access the management GUI for the first time, you will need to hook up your computer to the Eth0 interface. Simples.

EdgeRouter-X WAN interface
Initial access to EdgeRouter-X management GU

Before proceeding with configuring the router, I highly suggest that you do the following best practices:

1- Set one of the interface to use a different subnet in case you lock yourself out of the subnet that you are on.

Eth1 using different IP address as a backup method of accessing the router if you locked yourself out
Best Practice 1: Always have a backup method of accessing your network devices

I learnt it the hard way after locking myself out twice and having to perform a factory reset while fiddling around with subnets and firewall rules!

2- Update the EdgeRouter-X’s firmware before fully configuring it

EdgeRouter-X firmware download
Best Practice 2: Update the router’s firmware prior to fully configuring it

This is considered best practice in most enterprise as the version in which the router is shipped with are usually a couple of version behind!

Plus this is the reason why you got Ubiquiti in the first place right? Regular firmware updates from the vendor? =)

PPPoE Setup

As mentioned in my previous article, I have moved from iiNet to Exetel which means different authentication methods.

Exetel uses PPPoE (Point-to-point protocol over Ethernet) while iiNet uses IPoE (Internet Protocol over Ethernet) which is essentially plug & play.

Setting up your WAN connection on the EdgeRouter-X will no doubt be confusing but Ubiquiti has included Setup Wizards to make the setup process slightly easier.

Setup Wizard
Basic Setup Wizard

To setup PPPoE, all you need to do is to select PPPoE as your internet connection type through the Basic Setup Wizard.

Enter the Account name and Password supplied to you by your ISP. Leave the VLAN, Firewall and DHCPV6 PD options as default.

Once you have completed the Setup Wizard, the following are automatically configured:

  1. Firewall rules
  2. PPPoE interface
  3. Default route out to the internet
  4. Adds any subnets you have created as a VLAN into its’ routing table
  5. NAT

The pppoe0 interface that was created will automatically pick up the IP address assigned to you by your ISP. Any further PPPoE configuration will be done on the pppoe0 interface; NOT on the eth0 interface with the misleading description Internet (PPPoE).

DHCP and VLANs

For my configuration, I’ve set up 2 VLANs; one for wired traffic the other for wireless which would require 2 DHCP scopes.

The process of configuring VLANs and DHCP is similar to how you do it on a Cisco network device.

  1. Create the VLAN
  2. Specify the subnet IP address
  3. Create the DHCP scope for that VLAN
Adding VLAN interface
Add VLAN interface option
Manually defining IP address
Manually defining VLAN IP address

When creating a VLAN, you are actually creating a sub-interface of switch0. In my case, creating a second VLAN will result in sub-interface switch0.2 be created.

Creating DHCP server
Setting up DHCP for your VLAN subnet

While configuring the DHCP scope for your subnets, you have to specify a DNS server be it the default gateway of the subnet or an external DNS server like openDNS.

Thoughts

The initial configuration of the Ubiquiti EdgeRouter-X is pretty straightforward and you should be online in no time.

The real challenge would come when configuring the firewall and DNS forwarding.

I will be covering firewall and DNS forwarding in two separate posts so stay tune for updates!

One Reply to “Ubiquiti EdgeRouter-X Initial Configuration”

  1. daniel

    Hi, I have tried something similar to this, but when I enter my PPPOE details it does not pull through a ip address?

Leave a Reply

Your email address will not be published. Required fields are marked *