Este conteúdo não está disponível no idioma selecionado.
5.4. Configuring IPv4 Settings
Configuring IPv4 Settings with control-center
Procedure
- Press the Super key to enter the Activities Overview, type Settings and then press Enter. Then, select the
Network
tab on the left-hand side, and the Network settings tool appears. Proceed to the section called “Configuring New Connections with control-center”. - Select the connection that you want to edit and click on the gear wheel icon. The
Editing
dialog appears. - Click the IPv4 menu entry.
The IPv4 menu entry allows you to configure the method used to connect to a network, to enter
IP
address,DNS
and route information as required. The IPv4 menu entry is available when you create and modify one of the following connection types: wired, wireless, mobile broadband, VPN or DSL.
If you are using
DHCP
to obtain a dynamic IP
address from a DHCP
server, you can simply set Addresses to .
If you need to configure static routes, see Section 4.3, “Configuring Static Routes with GUI”.
Setting the Method for IPV4 Using nm-connection-editor
You can use the nm-connection-editor to edit and configure connection settings. This procedure describes how you can configure the
IPv4
settings:
Procedure
- Enter nm-connection-editor in a terminal.
- For an existing connection type, click the gear wheel icon.
Figure 5.2. Editing a connection
- Click IPv4 Settings.
Figure 5.3. Configuring IPv4 Settings
Available IPv4 Methods by Connection Type
When you click the Method drop-down menu, depending on the type of connection you are configuring, you are able to select one of the following
IPv4
connection methods. All of the methods are listed here according to which connection type, or types, they are associated with:
- Wired, Wireless and DSL Connection Methods
DHCP
server to assignIP
addresses. You do not need to fill in the DHCP client ID field.DHCP
server to assignIP
addresses but you want to assignDNS
servers manually.IP
addresses manually.DHCP
server and you do not want to assignIP
addresses manually. Random addresses will be assigned as per RFC 3927 with prefix169.254/16
.10.42.x.1/24
range, aDHCP
server andDNS
server are started, and the interface is connected to the default network connection on the system with network address translation (NAT).IPv4
is disabled for this connection.- Mobile Broadband Connection Methods
IP
address andDNS
servers automatically.IP
address automatically, but you want to manually specifyDNS
servers.- VPN Connection Methods
IP
address andDNS
servers automatically.IP
address automatically, but you want to manually specifyDNS
servers.- DSL Connection Methods
IP
address andDNS
servers automatically.IP
address automatically, but you want to manually specifyDNS
servers.
If you are using
DHCP
to obtain a dynamic IP
address from a DHCP
server, you can simply set Method to .
If you need to configure static routes, click the Section 4.3, “Configuring Static Routes with GUI”.
button and for more details on configuration options, see