Updating a Set of DHCP Options
On Compute Cloud@Customer, you can change DHCP options.
To update the DHCP options for the instances in a subnet, do one of the following:
-
Update the DHCP Options object that's assigned to that subnet as described in this section.
-
Update the subnet to assign a different DHCP Options object as described in Editing a Subnet.
-
In the Compute Cloud@Customer Console navigation menu, click Networking, then click Virtual Cloud Networks.
- At the top of the page, select the compartment that contains the VCN.
-
Click the name of the VCN for the DHCP options that you want to edit.
-
Under Resources, click DHCP Options.
The list of DHCP options sets is displayed.
- Click the Actions menu (
) for the set of options you want to change, then click Edit.
- Change options.
-
Click Save Changes.
-
Use the oci network dhcp-options update command and required parameters to update the specified set of DHCP options. You can update the display name or the options themselves.
Important
The options object you provide replaces the entire existing set of options.oci network dhcp-options update --dhcp-id <dhcp_OCID> <options_to_update> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the UpdateDhcpOptoins operation to update the specified set of DHCP options. You can update the display name or the options themselves. Avoid entering confidential information.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.