linux configure the network many ways, I introduced the following network configurations from four directions. From simple to difficult
a graphical interface permanent
permanent dummy GUI of
3 temporarily applied command line
4 profile permanent manner
graphical interface
using the command nm-connection-editor GUI opening
Delete card system
to add a new card, select the Ethernet
select eht0 physical network card, change the card name eht0
Set ip, netmask, gateway, select save
Add card success
Queries eth0 network card ip
Nmtui pseudo-graphical interface
using the command nmtui into the pseudo-graphical interface
to delete the card system
to add a new card, select the Ethernet
manual setting
Add setting ip
set ip, netmask, gateway, select ok
Add card successfully, select Quit
query eth0 network card ip
Command line
using the ipconfig command to add the card can only be a temporary test, no permanent
Add card to use ip addr command, can only be temporary test, not permanent
Profiles way
into the card configuration file directory
vim editor ifcfg-eth0 NIC configuration
settings ip, netmask, gateway to complete the save and exit
reboot the network, see eth0ip