Solaris: Could not obtain address of AI server from DHCP server

Error:  Could not obtain address of AI server from DHCP server

When you are running an Oracle VM or Virtualbox you may encounter the error above.
As a work around you will need to assign a fixed address to this dhcp address.

 

Edit  the file /etc/inet/dhcpd4.conf  and add the line fixed-address.
Here is an example below:

host solaris3 {
  hardware ethernet 00:21:F6:D1:FD:B1;
  fixed-address 192.168.1.194;
  option host-name "solaris3";
  if option arch = 00:00 {
    filename "010021F6D1FDB1.bios";
  } else if option arch = 00:07 {
    filename "010021F6D1FDB1.uefi";
  }
}
 

Restart your dhcp service and reboot your virtual machine.

#svcadm restart svc:/network/dhcp/server:ipv4