grub: net_dhcp

 
 16.4.8 net_dhcp
 ---------------
 
  -- Command: net_dhcp [CARD]
      Perform configuration of CARD using DHCP protocol.  If no card name
      is specified, try to configure all existing cards.  Falls back to
      the BOOTP protocol, if needed.  If configuration was successful,
      interface with name CARD':dhcp' and configured address is added to
      CARD.  Additionally the following DHCP options are recognized and
      processed:
 
      '1 (Subnet Mask)'
           Used to calculate network local routing entry for interface
           CARD':dhcp'.
      '3 (Router)'
           Adds default route entry with the name CARD':dhcp:default' via
           gateway from DHCP option.  Note that only option with single
           route is accepted.
      '6 (Domain Name Server)'
           Adds all servers from option value to the list of servers used
           during name resolution.
      '12 (Host Name)'
           Sets environment variable 'net_'<CARD>'_dhcp_hostname' (⇒
           net_<INTERFACE>_hostname) to the value of option.
      '15 (Domain Name)'
           Sets environment variable 'net_'<CARD>'_dhcp_domain' (⇒
           net_<INTERFACE>_domain) to the value of option.
      '17 (Root Path)'
           Sets environment variable 'net_'<CARD>'_dhcp_rootpath' (⇒
           net_<INTERFACE>_rootpath) to the value of option.
      '18 (Extensions Path)'
           Sets environment variable 'net_'<CARD>'_dhcp_extensionspath'
           (⇒net_<INTERFACE>_extensionspath) to the value of
           option.
      '66 (TFTP Server Name)'
           Sets environment variable 'net_'<CARD>'_dhcp_server_name'
           (⇒net_<INTERFACE>_dhcp_server_name) to the value of
           option.
      '67 (Filename)'
           Sets environment variable 'net_'<CARD>'_boot_file' (⇒
           net_<INTERFACE>_boot_file) to the value of option.