Wednesday, February 1, 2012

Setting up a Solaris 10 DHCP client

Ref: http://solaris.reys.net/using-solaris-10-as-dhcp-client/

Here is the process of setting up a Solaris 10 DHCP client

1) Find you what network interface you are using

ifconifg -a

2) Create a /etc/dhcp.[network interface_name] file

ex:touch /etc/dhcp.e1000g0

3) Edit the /etc/hostname.[network_interface]

This should be one line either just host name if your NOT using
dynamic DNS update or "inet host name" if you are using dynamic DNS.

[host name]

or

inet [host name]

4) Create of edit the /etc/nodename file

This should have your host name

5) Edit the /etc/host file

This should NOT for your host name. DHCP will put an
entry in for you host.

6) If you are using dynamic DNS to with DHCP you have to edit the
/etc/default/dhcpagent file. Set

REQUEST_HOSTNAME=yes

7) Configure your network interface to use DHCP

ifconfig [network interface] dhcp start

8) reboot ?