Search

5.4. Configuring IPv4 Settings

download PDF

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

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.