info_i_25x25.png See important information about Ubiquiti Devices and KRACK Vulnerability in this article. We will update this document as more information becomes available.

EdgeMax - configurar uma ligação de interface

Estes dois conjuntos de comandos configurar ligação de interface.
Roteador 1

Use os seguintes comandos no roteador 1:

configure
set interfaces bonding bond0 mac 00:00:00:00:02:02
set interfaces bonding bond0 address 5.0.0.2/24
commit
set interfaces ethernet eth1 bond-group bond0
set interfaces ethernet eth2 bond-group bond0
commit
exit
ROTEADOR2

Use os seguintes comandos no roteador 2:

configure
commit
set interfaces bonding bond0 mac 00:00:00:00:01:01
set interfaces bonding bond0 address 5.0.0.1/24
commit
set interfaces ethernet eth1 bond-group bond0
set interfaces ethernet eth2 bond-group bond0
commit
exit
Grupo de ligação

Para exibir informações de status para o grupo de ligação, use os seguintes comandos:

ubnt@ubnt:~$ show interfaces bonding 
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface    IP Address                        S/L  Description                 
---------    ----------                        ---  -----------                 
bond0        5.0.0.1/24                        u/u   
ubnt@ubnt:~$ show interfaces bonding detail  
bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP 
    link/ether 00:00:00:00:01:01 brd ff:ff:ff:ff:ff:ff
    inet 5.0.0.1/24 brd 5.0.0.255 scope global bond0
    inet6 fe80::200:ff:fe00:101/64 scope link 
       valid_lft forever preferred_lft forever

    RX:  bytes    packets     errors    dropped    overrun      mcast
        177813       1296          0          0          0        362
    TX:  bytes    packets     errors    dropped    carrier collisions
        113698       1413          0          0          0          0