
A P P E N D I X
F
Configuring Network Access on CentOS 7.3 Using
nmcli
This appendix contains the following section:
•
Configuring Network Access on CentOS 7.3 Using nmcli, page 67
Configuring Network Access on CentOS 7.3 Using nmcli
The
NetworkManager
command-line tool (
nmcli
) provides a command line way to configure networking
by controlling NetworkManager. This section provides only an overview with some examples to help you
learn how to use nmcli to configure network access on the virtual appliance.
In a departure from previous approaches to network interface configuration, NetworkManager deals with both
connections and interfaces (also known as devices). Connections are configured with IP addresses, gateways,
DNS servers, and then applied to interfaces (devices). This is a critical change from the past way of configuring
network access on CentOS Linux.
First, there are two nmcli commands that are of general usefulness:
•
The
nmcli d
command lists all available network interfaces (devices).
•
The
nmcli c
command lists all available configurations.
Use the above two commands frequently as you are learning to use nmcli.
Follow the steps below to configure an IP address for an interface on your virtual appliance. Typically these
commands are typed directly into the console of the virtual appliance. If you are already connected through
the network (for example, by
ssh
), then making changes to the network interface configuration can be
problematic, as you may also lose network connectivity (and thereby your ability to issue nmcli commands)
at any point in the process.
Step 1
Make sure that the interface does not block nmcli. The
nmcli d
command lists the existing interfaces. If the interface
you want to configure is listed as
unmanaged
, then NetworkManager has been explicitly blocked from configuring this
interface. Until you remove this blockage, no
nmcli
command will have any effect on this interface. Note that you may
Cisco Prime Network Registrar 9.1 Installation Guide
67
Содержание SH060
Страница 12: ...Cisco Prime Network Registrar 9 1 Installation Guide 6 Configuration Options Three Machine DNS Configuration ...
Страница 72: ...Cisco Prime Network Registrar 9 1 Installation Guide 66 Hardening Guidelines Hardening Guidelines ...
Страница 82: ...Cisco Prime Network Registrar 9 1 Installation Guide IN 4 Index ...