[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solaris and dhcp



Hi all,

To set a Solaris box as a dhcp client (assuming the ethernet device is
hme0), there are two ways:

  1) Create an empty /etc/hostname.hme0 and /etc/dhcp.hme0

  2) # ifconfig hme0 plumb
     # ifconfig hme0 dhcp start

However, this sets the hostname to unknown unless you specify something
like the following in the dhcp server config.

  host netra {
    hardware ethernet 08:00:20:da:63:96;
    option host-name "netra";
  }

Thanks,
Brad
-- 
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
|Brad Marshall                    |           Plugged In Software|
|Senior Systems Administrator     |     http://www.pisoftware.com|
|mailto:bmarshal@pisoftware.com   |  GPG Key Id: 47951BD0 / 1024b|
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
 Fingerprint:  BAE3 4794 E627 2EAF 7EC0  4763 7884 4BE8 4795 1BD0