View network information and network status
nmcli connection show
Using con-name parameter specifies the name of the company the company using the network session, and then washed with ifname parameter specifies the name of the card machine.
Provided with automatic network session autoconnect no default parameter is not automatically activated, and specify the IP address of a network and ip4 gw4 parameters manually.
nmcli connection add con-name company ifname xxx atuoconnection no type ethernet ip4 192.168.10.1/24 gw4 192.168.10.1
Open and close the session connection
nmcli connection up xxx
nmcli connection down xxx
Add two LAN equipment, need to ensure that the same type of two networks.
mode0: two cards are usually work, and automatic backup, but the ports to the polymerization technique to support binding in the switch device and a server connected to the local network card.
mode1: usually only one working card, and after it is replaced with another fail-card.
mode6: usually two network cards are working, and automatic backup, the need to provide assistance and support exchange equipment.
SHH protection:
Password-based authentication
The key-based authentication