User's Manual

82 Using the RACADM Command Line Interface
Enabling or Disabling DHCP for the CMC Network Interface Address
When enabled, the CMC’s DHCP for NIC address feature requests and
obtains an IP address from the Dynamic Host Configuration Protocol
(DHCP) server automatically. This feature is enabled by default.
You can disable the DHCP for NIC address feature and specify a static
IP address, subnet mask, and gateway. For more information, see "Setting Up
Initial Access to the CMC" on page 78.
Enabling or Disabling DHCP for DNS IP Addresses
By default, the CMC’s DHCP for DNS address feature is disabled.
When enabled, this feature obtains the primary and secondary DNS server
addresses from the DHCP server. While using this feature, you do not have to
configure static DNS server IP addresses.
To disable the DHCP for DNS address feature and specify static preferred and
alternate DNS server addresses, type:
racadm config -g cfgLanNetworking -o
cfgDNSServersFromDHCP 0
To disable the DHCP for DNS address feature for IPv6 and specify static
preferred and alternate DNS server addresses, type:
racadm config -g cfgIPv6LanNetworking -o
cfgIPv6DNSServersFromDHCP6 0
Setting Static DNS IP addresses
NOTE: The Static DNS IP addresses settings are not valid unless the DCHP for DNS
address feature is disabled.
For IPv4, to set the preferred primary and secondary DNS IP server addresses,
type:
racadm config -g cfgLanNetworking -o cfgDNSServer1
<IP-address>
racadm config -g cfgLanNetworking -o cfgDNSServer2
<IPv4-address>