Sun Ethernet Fabric Operating System DHCP Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure a Domain Name Option

You can use this option to set the domain name in the DHCP server configuration parameters. The no form of the command deletes the domain name from the DHCP server configuration parameters. This pool-specific configuration parameter is offered to DHCP clients in the pool only when there is no host-specific option for the client. If this option is not configured and there is no host option, the global option is used.

In this example, the domain name for the network is "future."

  1. Create the address pool.
    SEFOS# configure terminal
    SEFOS(config)# ip dhcp pool 1
    
  2. Specify the domain name for the network.
    SEFOS(dhcp-config)# domain-name future
    SEFOS(dhcp-config)# end
    
  3. Ensure that the domain name option has been configured.
    SEFOS# show ip dhcp server pools
    

    The output in switch 1 is:

    Pool Id                         : 1
    -------------------------------------------
    Subnet                          : 12.0.0.0
    Subnet Mask                     : 255.0.0.0
    Lease time                      : 95400 secs
    Utilization threshold           : 50%
    Start Ip                        : 12.0.0.1
    End Ip                          : 12.0.0.100
    Exclude Address Start IP        : 12.0.0.1
    Exclude Address End IP          : 12.0.0.10
     
    Subnet Options
    --------------
    Code       :     1, Value      : 255.0.0.0
    Code       :    15, Value      : future