Questo contenuto non è disponibile nella lingua selezionata.

5.4. Configuring IPv4 Settings


Configuring IPv4 Settings with control-center

Procedure
  1. 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”.
  2. Select the connection that you want to edit and click on the gear wheel icon. The Editing dialog appears.
  3. 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 Automatic (DHCP).
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
  1. Enter nm-connection-editor in a terminal.
  2. For an existing connection type, click the gear wheel icon.
    Editing a connection

    Figure 5.2. Editing a connection

  3. Click IPv4 Settings.
    Configuring 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
Automatic (DHCP) — Choose this option if the network you are connecting to uses a DHCP server to assign IP addresses. You do not need to fill in the DHCP client ID field.
Automatic (DHCP) addresses only — Choose this option if the network you are connecting to uses a DHCP server to assign IP addresses but you want to assign DNS servers manually.
Manual — Choose this option if you want to assign IP addresses manually.
Link-Local Only — Choose this option if the network you are connecting to does not have a DHCP server and you do not want to assign IP addresses manually. Random addresses will be assigned as per RFC 3927 with prefix 169.254/16.
Shared to other computers — Choose this option if the interface you are configuring is for sharing an Internet or WAN connection. The interface is assigned an address in the 10.42.x.1/24 range, a DHCP server and DNS server are started, and the interface is connected to the default network connection on the system with network address translation (NAT).
DisabledIPv4 is disabled for this connection.
Mobile Broadband Connection Methods
Automatic (PPP) — Choose this option if the network you are connecting to assigns your IP address and DNS servers automatically.
Automatic (PPP) addresses only — Choose this option if the network you are connecting to assigns your IP address automatically, but you want to manually specify DNS servers.
VPN Connection Methods
Automatic (VPN) — Choose this option if the network you are connecting to assigns your IP address and DNS servers automatically.
Automatic (VPN) addresses only — Choose this option if the network you are connecting to assigns your IP address automatically, but you want to manually specify DNS servers.
DSL Connection Methods
Automatic (PPPoE) — Choose this option if the network you are connecting to assigns your IP address and DNS servers automatically.
Automatic (PPPoE) addresses only — Choose this option if the network you are connecting to assigns your IP address automatically, but you want to manually specify DNS servers.
If you are using DHCP to obtain a dynamic IP address from a DHCP server, you can simply set Method to Automatic (DHCP).
If you need to configure static routes, click the Routes button and for more details on configuration options, see Section 4.3, “Configuring Static Routes with GUI”.
Red Hat logoGithubRedditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita ilBlog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

© 2024 Red Hat, Inc.