EdgeRouter - How to Configure an Interface


Readers will learn how to configure an interface manually on an EdgeRouter. An easier way to create interfaces would be by using the Setup Wizard in the EdgeRouter's WebUI.

Applicable to the latest EdgeOS firmware on all EdgeRouter models. Basic networking knowledge is required. 

Table of Contents

  1. Steps How to Configure an Interface
  2. Testing & Verification
  3. Related Articles

Steps: How to Configure an Interface

Back to Top

GUI: Access the Graphical User Interface (GUI).

1. Add a firewall rule that allows the HTTPS traffic to reach the UNMS server.

Dashboard > Actions (eth1) > Config

Description: LAN
Enable: checked
Address: Manually Define IP Address
MTU: 1500
Speed: Auto-Negotiation
Proxy ARP: unchecked


CLI: Access the command line interface (CLI). You can do this using the CLI button in the GUI or by using a program such as PuTTY.

1. Enter Configuration Mode 


2. Set IP Address

set interfaces ethernet eth1 address

3.  Set other interface parameters

Multiple configuration options are available. To view all options for an interface, enter "set interfaces ethernet eth<x> and press the ? key or tab key twice.

set interfaces ethernet eth1 ?
Possible completions:
  address       IP address
  bandwidth     Bandwidth parameters
  bond-group    Assign interface to bonding group
  bridge-group  Add this interface to a bridge group
  description   Description
  dhcp-options  DHCP client (IPv4) options
                DHCPv6 options
  dhcpv6-pd     DHCPv6 Prefix Delegation options
  disable       Disable interface
                Ignore link state changes
  duplex        Duplex mode
  firewall      Firewall options
  ip            IPv4 routing parameters
  ipv6          IPv6 routing parameters
  mac           Media Access Control (MAC) address
  mirror        Incoming packet mirroring destination
  mtu           Maximum Transmission Unit (MTU)
  poe           Power over Ethernet (PoE) settings
  pppoe         PPPOE unit number
  redirect      Incoming packet redirection destination
  speed         Link speed
                Traffic-policy for interface
  vif           Virtual Local Area Network (VLAN) ID
  vrrp          Virtual Router Redundancy Protocol (VRRP)

4. Commit and Save Changes

commit; save;                                                               

Testing & Verification

Back to Top 

In operational mode of the CLI you can use "show interfaces" to view the status of interfaces. This information will also show on the EdgeOS GUI Dashboard.

ubnt@router:~$ show interfaces                                                    
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down                    
Interface    IP Address                        S/L  Description                 
---------    ----------                        ---  -----------                 
eth0         -                                 u/u   Internet              
eth1                   u/u   LAN                              
eth2         -                                 u/D                              
eth3         -                                 u/D                              
eth4         -                                 u/D                              
eth5         -                                 u/D                              
eth6         -                                 u/D                              
lo                        u/u                              

Related Articles

Back to Top

EdgeRouter - Beginners Guide to EdgeRouter

We're sorry to hear that!