For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > dhcp client

dhcp client

Created by dave. Last edited by dave, 18 years and 64 days ago. Viewed 4,430 times. #3
[diff] [history] [edit] [rdf]

Solaris DHCP Client

Solaris can request IP address and other networking information dynamically with DHCP.

To permanently make an interface, for example hme0, obtain its IP address through DHCP, use the touch command to create the following two empty files as root:

touch /etc/dhcp.hme0
touch /etc/hostname.hme0
When you reboot, the interface will be dynamically configured. To bring up the interface using DHCP without rebooting, use the following command:
ifconfig hme0 dhcp start
The following commands can be used to display the DHCP lease information and release the DHCP lease, respectively:
ifconfig hme0 dhcp status
ifconfig hme0 dhcp release
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt