cancel
Showing results for 
Search instead for 
Did you mean: 
  • 1,055 Views

RHEL 9 - in nmcli command , ipv4.method manual or static are both option correct

Hi All,

When we use nmcli command to add or modify any NIC configuration, I have observed that 

ipv4.method option accecpted "manual" as well "static" to configure static ip address. Are both option correct and same purpose. As per latest document for RHEL9, there is no option mention as "ipv4.method static" but still it is working. Its strange for me. Is there backward compatibilty.

One more thing , when you press "TAB" kep after "ipv4.method" , you not get option as "static" but still when you type it , it will accept.

 nmcli con modify "Wired connection 1" autoconnect yes ipv4.method static
 nmcli con modify "Wired connection 1" autoconnect yes ipv4.method manual

 

Thaks in advance if any one clear my doubt.

 

 

 

 

0 Kudos
1 Reply
the_Shadowman
Mission Specialist
Mission Specialist
  • 976 Views

Seems to be made purely for our convenience, not even for backward compatibility.

0 Kudos
Join the discussion
You must log in to join this conversation.