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 997952 - dhcp used even if yes answered to switch to manual after setting IP in nmcli
Summary: dhcp used even if yes answered to switch to manual after setting IP in nmcli
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: NetworkManager
Version: 7.0
Hardware: All
OS: Linux
low
low
Target Milestone: beta
: 7.0
Assignee: Jirka Klimes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-16 15:34 UTC by Vladimir Benes
Modified: 2013-09-02 15:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-02 15:26:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Vladimir Benes 2013-08-16 15:34:22 UTC
Description of problem:
I've just added ip to new ethernet connection, and was asked if I want to switch to manual, I answered yes, saved, quitted. When connection started, it was dhcp again. When I add static/manual manually everything works correctly.

Version-Release number of selected component (if applicable):
NetworkManager-0.9.9.0-9.git20130807.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1.add ethernet connection via nmcli connection add type ethernet...
2.edit that connection via nmcli connection edit id ..
3.submit set ipv4.address 192.168.122.253 for example
4.when asked if you want to switch to manual answer yes
5.start connection by nmcli connection up id..

Actual results:
dhcp used

Expected results:
ip set correctly

Additional info:
if I set yes or no it behaves the same

Comment 2 Jirka Klimes 2013-09-02 12:22:57 UTC
I can't reproduce this bug. When I set ipv4.address, I am asked "Do you also want to set 'ipv4.method' to 'manual'? [yes]:". When I answer "yes", the method is properly set to manual. And no DHCP is used while activating the connection.
Maybe, you answered "no" and method was left 'auto'.

Comment 3 Vladimir Benes 2013-09-02 12:33:42 UTC
(In reply to Jirka Klimes from comment #2)
> I can't reproduce this bug. When I set ipv4.address, I am asked "Do you also
> want to set 'ipv4.method' to 'manual'? [yes]:". When I answer "yes", the
> method is properly set to manual. And no DHCP is used while activating the
> connection.
> Maybe, you answered "no" and method was left 'auto'.

try IP w/o prefix.. and as description says: "Missing prefix is regarded as prefix of 32." it should work


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