Go to main content

Installing Oracle® Solaris 11.3 Systems

Exit Print View

Updated: April 2019
 
 

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.3.

ISC DHCP Configuration for an Oracle Solaris 11.3 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.3 i386 install service previously created:

subnet 203.0.113.0 netmask 255.255.255.224 {
  range 203.0.113.2 203.0.113.20;
  option broadcast-address  203.0.113.2224;
  option routers 203.0.113.1;
  next-server 203.0.113.25;
}

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.3 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.3 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       : 203.0.113.25        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.3 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://203.0.113.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.3 sparc install service:

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