Configuring Netwrok Interfaces Flashcards
RHEL based configuration files stored?
/etc/sysconfig/network-scripts
Debian based network config files stored?
/etc/network/interfaces
For many linux distros networkmanager is the main utility to control network on host
What is a command line interface for NetWorkManager>
nmcli
What command is used to show status of all network interfaces?
nmcli dev status
What command is used to list all connections?
nmcli con show
What command is used to show current settings for the connection name
nmcli con show name
What command is used to add a new connection named name
nmcli con add con-name
What command is used to modify a connection?
nmcli con mod name
What command is used to reload the network config files?
ncmli con reload
What command is used to activate or deactivate a connection?
ncmli con up name | nmcli con down name
What command is used to deactivate and disconnect the current connection?
nmcli dev dis dev
What n