You’ll need these two packages installed;
SUNWdhcs, SUNWdhcm
First ensure that the DHCP service is running. Go into the “services” gui and tick the box to enable the DHCP server.
now from commandline run…
dhcpmgr
- From edit menu choose “network wizard”, step through the wizard (defautls are o.k i you have a fixed IP already assigned to your opensolaris box)
- From edit menu choose “address wizard”
If you step through the wizard (the following is an example of what i have choosen)
- Choose Text files
- Leave default path of /var/dhcp
- Do not manage hosts records
- Default lease of 1 day (clients can renew their leases)
- DNS Domain “yourdomainname”, also add your DNS here
- Network Address & subnet (should be pre populated if you have fixed IP on your host)
- Network Type (LAN), Routing (leave as default)
- I have left NIS blank
- I have left NIS+ blank