linux configure the network Quick Start

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

linux configure the network Quick Start
Delete card system
linux configure the network Quick Start
to add a new card, select the Ethernet
linux configure the network Quick Start
select eht0 physical network card, change the card name eht0

linux configure the network Quick Start
Set ip, netmask, gateway, select save

linux configure the network Quick Start
Add card success

linux configure the network Quick Start
Queries eth0 network card ip
linux configure the network Quick Start

Nmtui pseudo-graphical interface
using the command nmtui into the pseudo-graphical interface
linux configure the network Quick Start
to delete the card system
linux configure the network Quick Start
to add a new card, select the Ethernet
linux configure the network Quick Start
manual setting
linux configure the network Quick Start
Add setting ip
linux configure the network Quick Start
set ip, netmask, gateway, select ok

linux configure the network Quick Start
Add card successfully, select Quit
linux configure the network Quick Start
query eth0 network card ip
linux configure the network Quick Start

Command line
using the ipconfig command to add the card can only be a temporary test, no permanent
linux configure the network Quick Start
Add card to use ip addr command, can only be temporary test, not permanent
linux configure the network Quick Start

Profiles way
into the card configuration file directory
linux configure the network Quick Start
vim editor ifcfg-eth0 NIC configuration
linux configure the network Quick Start
settings ip, netmask, gateway to complete the save and exit
linux configure the network Quick Start
reboot the network, see eth0ip
linux configure the network Quick Start

Guess you like

Origin blog.51cto.com/14190777/2422631