Configure Solaris server as a DHCP client

Submitted by smsharif on Tue, 05/12/2009 - 22:19.
  1. To find out the interfaces on your system, type: ifconfig -a
  2. Lets assume your interface name is "pcn0"
  3. Run "ifconfig pcn0 plumb"
  4. Run "ifconfig pcn0 dhcp start" to bring the interface up and get a DHCP address (assuming you have a DHCP server for the subnet your host is on)
  5. Create empty files named /etc/hostname.pcn0 and /etc/dhcp.pcn0
  6. Reboot: shutdown -i6 -g0 -y
Posted in Submitted by smsharif on Tue, 05/12/2009 - 22:19.