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.
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.
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
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? =)
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.
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:
- Firewall rules
- PPPoE interface
- Default route out to the internet
- Adds any subnets you have created as a VLAN into its’ routing table
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.
- Create the VLAN
- Specify the subnet IP address
- Create the DHCP scope for that VLAN
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.
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.
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!