RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1925123 - man nm-settings-ifcfg-rh does not mention NETMASK option
Summary: man nm-settings-ifcfg-rh does not mention NETMASK option
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: NetworkManager
Version: 8.2
Hardware: All
OS: All
unspecified
low
Target Milestone: rc
: 8.0
Assignee: Thomas Haller
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-04 12:50 UTC by Josef Kubin
Modified: 2024-03-25 18:07 UTC (History)
9 users (show)

Fixed In Version: NetworkManager-1.30.0-0.9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 13:32:37 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Josef Kubin 2021-02-04 12:50:10 UTC
Description of problem:

NETMASK is not mentioned in our documentation (RHEL8.2):
~~~
$ man nm-settings-ifcfg-rh 2>/dev/null | grep 'NETMASK\>'
~~~

Version-Release number of selected component (if applicable):
RHEL8.2

Actual results:

Only PREFIX is mentioned:
~~~
$ man nm-settings-ifcfg-rh 2>/dev/null | sed -n '/Simple ethernet configuration with static IP/,/^$/p' 
           Simple ethernet configuration with static IP:
           TYPE=Ethernet
           BOOTPROTO=none
           IPADDR=10.1.0.25
           PREFIX=24
           GATEWAY=10.1.0.1
           DEFROUTE=yes
           IPV4_FAILURE_FATAL=no
           IPV6INIT=yes
           IPV6_AUTOCONF=yes
           IPV6_DEFROUTE=yes
           IPV6_PEERDNS=yes
           IPV6_PEERROUTES=yes
           IPV6_FAILURE_FATAL=no
           NAME=ethernet-em2
           UUID=51bb3904-c0fc-4dfe-83b2-0a71e7928c13
           DEVICE=em2
           ONBOOT=yes

~~~

Expected results:
The NETMASK option should also be mentioned.

Comment 1 Josef Kubin 2021-02-05 07:50:42 UTC
Roughly my idea:

--- nm-settings-ifcfg-rh.5      2021-02-05 01:30:16.990194909 -0500
+++ new-nm-settings-ifcfg-rh.5  2021-02-05 01:30:08.190126502 -0500
@@ -242,6 +242,8 @@
 The UUID values in the config files must be unique\&. You can use
 \fIuuidgen\fR
 command line tool to generate such values\&. Alternatively, you can leave out UUID entirely\&. In that case NetworkManager will generate a UUID based on the file name\&.
+.br
+The PREFIX option (CIDR) can be replaced by the traditional NETMASK option\&.
 .SH "DIFFERENCES AGAINST INITSCRIPTS"
 .PP
 The main differences of NetworkManager ifcfg\-rh plugin and traditional initscripts are:

Comment 11 errata-xmlrpc 2021-05-18 13:32:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: NetworkManager and libnma security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:1574


Note You need to log in before you can comment on or make changes to this bug.