Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DHCP Client

Status
Not open for further replies.

godhelp

IS-IT--Management
Jan 30, 2003
48
Hi Gurus,

Sus OS 5.8 is running on Intel PIV system, Any body knows how do I configure DHCP client on my system (my DHCP server is Windows OS).
 
The SUNWdhcsu and SUNWdhcsr software packages are required for DHCP support. Check this by running:

pkginfo | grep SUNWdhcs

Next, you must create a DHCP enable file for each network interface you want to configure with DHCP. The name of the DHCP enable file is /etc/dhcp.interface_name, where interface_name is the name of the network interface you want configured by DHCP.

For example, if you want to configure network interface hme1 using DHCP, you would create an empty file,
/etc/dhcp.hme1. If you have multiple network interfaces that you want to configure using DHCP, you must create a DHCP enable file for each interface.

Hope this helps,

jim
 
I have done everything and restart the system. Is there any way to enable DHCP config on the system or shall I execute ./dhcpconfig on root.

 
the dhcpconfig.sh script is sed to configure a dhcp server or relay - not a dhcp client. Is your Sun box on the same subnet as the dhcp server? What messages did you see when rebooting concerning the network interface?

-jim
 
dhcpconfig is used only if you are configuring a dhcp server - dhcp agent on solaris should not require this. You may need to unconfigure the interface you want dhcp to manage if it has already been manually configured.

i.e. if you have a file /etc/hostname.hme0, remove it and the associated IP address from your /etc/hosts file. Create instead an empty /etc/dhcp.hme0 as J1mbo suggests. On reboot it should use dhcp.

To get dhcp to run without rebooting call
ifconfig hme0 down - unless you're connected through it!!
ifconfig hme0 0.0.0.0
ifconfig hme0 dhcp up

check status using
ifconfig hme0 dhcp status
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top