Return profile office to DHCP-style automatic IPv4 address, route, and DNS acquisition.
Which ipv4.method is appropriate?
ipv4.method auto enables automatic configuration such as DHCP; manual is static and disabled turns IPv4 off.
Detailed explanation
manualIncorrect. manual is for static addresses.
autoCorrect. auto enables automatic IPv4 configuration.
disabledIncorrect. disabled disables IPv4.
link-local-onlyIncorrect. This is not the standard NetworkManager method value.
Try it yourself
An example you can run in a temporary verification environment.
printf '%s
' 'ipv4.method=auto -> automatic IPv4 configuration'Expected result
ipv4.method=auto -> automatic IPv4 configurationKey points
- auto uses DHCP
- manual is static
- disabled stops IPv4
Notes
- Environment: property対応表の表示のみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.