Installing Oracle® Solaris 11.2 Systems

Exit Print View

Updated: July 2014
 
 

Example DHCP Configuration Files To Support AI Clients

This section shows how installadm might add information to the DHCP configuration file for an ISC DHCP configuration. For more information about configuring ISC DHCP, see the Chapter 2, Administering the ISC DHCP Service, in Working With DHCP in Oracle Solaris 11.2 .

ISC DHCP Configuration for an Oracle Solaris 11.2 i386 Install Service

The following example shows how installadm might add the IP addresses specified using the –i and –c options to the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for the Oracle Solaris 11.2 i386 install service previously created:

subnet 10.80.239.0 netmask 25.255.255.0 {
  range 10.80.239.150 10.80.239.169;
  option broadcast-address  10.80.239.255;
  option routers 10.80.239.1;
  next-server 10.80.239.170;
}

The following example shows how installadm might set the default PXE boot files in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for the default-i386 Oracle Solaris 11.2 i386 install service previously created:

class "PXEBoot" {
  match if (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  if option arch = 00:00 {
    filename "default-i386/boot/grub/pxegrub2";
  } else if option arch = 00:07 {
    filename "default-i386/boot/grub/grub2netx64.efi";
  }
}

ISC DHCP Configuration for an Oracle Solaris 11 i386 Install Service

If you created an Oracle Solaris 11 i386 install service instead of an Oracle Solaris 11.2 service, you would see output similar to the following example:

If not already in place, the following should be added to the DHCP configuration:
        Boot server IP       : 10.134.125.136
        Boot file            : default-i386/boot/grub/pxegrub

The following example shows how installadm might set the default PXE boot file in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for an Oracle Solaris 11 i386 install service.

class "PXEBoot" {
  match if (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  if option arch = 00:00 {
    filename "default-i386/boot/grub/pxegrub";
  }
}

ISC DHCP Configuration for an Oracle Solaris 11.2 sparc Install Service

If you created a sparc install service instead of an i386 service, you would see output similar to the following example:

If not already in place, the following should be added to the DHCP configuration:
Boot file: http://10.80.238.5:5555/cgi-bin/wanboot-cgi

The following example shows how installadm might set the default boot file in the /etc/inet/dhcpd4.conf file for an ISC DHCP configuration for an Oracle Solaris 11.2 sparc install service:

class "SPARC" {
  match if not (substring(option vendor-class-identifier, 0, 9) = "PXEClient");
  filename "http://10.80.238.5:5555/cgi-bin/wanboot-cgi";
}