Use the "dhcp" command to configure DHCP settings.
If you enable DHCP Option 204, you can simultaneously specify a number of the machine's network settings and printer settings. You can download the manual for DHCP Option 204 from manufacturer’s website.
View settings
The following command displays the current DHCP settings.
msh> dhcp
Configuration
You can configure DHCP.
msh> dhcp "interface_name" {on|off}
Specify "on" to enable dhcp. Specify "off" to disable DHCP.
If the DNS server address and domain name are obtained from DHCP, be sure to specify {on}.
wlan can be specified only when the IEEE 802.11 interface is installed.
Interface name |
Interface configured |
---|---|
ether |
Ethernet interface |
wlan |
IEEE 802.11 interface |
Current interface priority configuration display
msh> dhcp priority
Interface priority configuration
msh> dhcp priority "interface_name"
You can select which interface has DHCP parameter priority.
Priority settings are available when multiple interfaces are installed.
DNS server address selection
msh> dhcp dnsaddr {dhcp|static}
Specify whether to obtain the DNS server address from the DHCP server or use the address set by a user.
To obtain the DNS server address from the DHCP server, specify "dhcp". To use the address set by a user, specify "static".
Domain name selection
msh> dhcp "interface_name" domainname {dhcp|static}
Specify whether to obtain the domain name from the DNS server or use the domain name set by a user.
To obtain the domain name from the DHCP server, specify "dhcp". To use the domain name set by a user, specify "static".
DHCP Option 204 configuration and display
Use the following command to display the current setting.
msh> dhcp 204
Use the following command to configure DHCP Option 204.
msh> dhcp 204 {on|off}