Solaris enabling DHCP client

For the first time I configured dhcp client on Solaris.

Example: Interface name: nxge0

1. Remove existing manual configuration by deleting /etc/hostname.nxge0

2. touch /etc/dhcp.nxge0 (it’s empty file)

3. ifconfig nxge0 dhcp start

4. ifconfig nxge0 dhcp status (this will give lease details)