User Manual

88
UniFi Controller User Guide
Ubiquiti Networks, Inc.
Chapter 10: UniFi Security Gateway Details
PPPoE Point-to-Point Protocol over Ethernet (PPPoE)
is a virtual private and secure connection between two
systems that enables encapsulated data transport. Enter
the following information:
- Username Enter the username used to connect to
the PPPoE server.
- Password Enter the password used to connect to the
PPPoE server.
- Preferred DNS Enter the IP address of the service
provider’s primary DNS server.
- Alternate DNS Enter the IP address of the service
provider’s secondary DNS server.
Disabled If you are not using the WAN 2 port, then
select Disabled.
Use VLAN ID To use a VLAN, select Use VLAN ID and
enter the VLAN ID number.
Load Balancing (Available for WAN 2 if Using DHCP, Static
IP, or PPPoE is enabled.) Set up basic load balancing with
two Internet connections from different Internet Service
Providers (ISPs).
Failover only Select this option if you want to use WAN
2 only if WAN 1 fails.
Weighted LB Select this option if you want the load
balanced between the two WAN ports. Then enter a
weight in the field provided; the default is 50.
Smart Queues The Smart Queue feature provides
FQ-CODEL (Fair Queuing with Controlled Delay) + HTB
(Hierarchical Token Bucket) function and supports
dynamic interfaces, even if the dynamic interfaces do
not exist yet (the policy will be applied later when the
interface comes up).
The HTB rate limiting is computation-intensive, so the rate
limiting will not work well (cannot achieve the specified
rate) above a certain threshold rate. The actual threshold
(applied to the sum of the upload and download rates)
depends on the specific Gateway model and conditions of
the actual environment.
It may require some testing to find the actual threshold
in a specific environment, depending on the actual setup,
traffic patterns, and other conditions. You can use the
Pre-Populate option as a starting point for the Up and
Down Rates. The actual rate limits will be set to 95% of
the specified value, so you can experiment with different
values if necessary.
The smart queue policy applies to a single interface. If you
are using more than one WAN interface, then you would
configure a separate smart queue policy for the WAN 2
port in the WAN 2 section.
Pre-Populate Click Pre-Populate to set the Up and
Down Rates to 80% of the last speed test results.
Up Rate Enter the bandwidth limit in Kbits/sec.
Down Rate Enter the bandwidth limit in Kbits/sec.
Pre-Populate Click Pre-Populate to set the Up and
Down Rates to 80% of the last speed test results.
Note: If you enable the Smart Queues option, then
you will not be able to use the DPI feature as traffic
will not be offloaded.