Red Hat Bugzilla – Bug 997952
dhcp used even if yes answered to switch to manual after setting IP in nmcli
Last modified: 2013-09-02 11:26:19 EDT
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):
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..
ip set correctly
if I set yes or no it behaves the same
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'.
(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
> 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