Computing.Net > Forums > Solaris > Setting up DHCP client on Solaris 8

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Setting up DHCP client on Solaris 8

Reply to Message Icon

Name: greg
Date: June 15, 2001 at 06:48:24 Pacific
Comment:

Help! We have a netgear router that is our gateway/DHCP server. We are trying to set up DHCP client on solaris 8 and are have some problems. We are new at this so if anyone could help we would appreciate it. We tried to use dhcpconfig but it seemed to want to set up DHCP Server which is not what we want.



Sponsored Link
Ads by Google

Response Number 1
Name: joshbaptiste
Date: June 16, 2001 at 15:59:46 Pacific
Reply:

try ifconfig dhcp


0

Response Number 2
Name: joshbaptiste
Date: June 16, 2001 at 16:00:00 Pacific
Reply:

try ifconfig "interface" dhcp


0

Response Number 3
Name: Dave
Date: June 18, 2001 at 19:19:30 Pacific
Reply:

I too am setting up the same route on
Solaris 8. Red hat linux setup DHCP during
install. Solaris is more difficult. If I can
figure it out I will post what I did.


0

Response Number 4
Name: Bogdan
Date: June 20, 2001 at 14:46:22 Pacific
Reply:

This page explains it well...

http://www.rite-group.com/consulting/solaris_dhcp.html

but I still have not figured out how to get the name server to resolve address...hosts file does have the dns entry.


0

Response Number 5
Name: KeepGood
Date: August 11, 2001 at 11:51:37 Pacific
Reply:

Message to Bogdan

If you want to get the comp to resolve addresses, creat a file file in '/etc' called 'resolv.conf' and put the following info:

domain 'yourdomainname'
nameserver IP.IP.IP.IP #your ISP's DNS
nameserver IP.IP.IP.IP ISP's 2nd DNS


then open the file '/etc/nsswitch.conf' inside you will find a line that looks like:

hosts: files

Change this to:

hosts: files dns

and you comp will resolve names to addresses.

If your connection is setup via DHCP it should make these changes for you on startup but check the 'nsswitch.conf' file anyway.


0

Related Posts

See More



Response Number 6
Name: KeepGood
Date: August 11, 2001 at 11:58:42 Pacific
Reply:

Message to greg

If you only have one network card in the solaris comp, then you can run the command 'sys-unconfig' this will revert your system to a blank state with no network settings. Restart the comp and you will automatically be taken into the setup of your system, including the network. Its a very simple setup. Also if you need to setup the gateway, you might need to create a file in '/etc' called 'defaultrouter' in this file put the IP of your router.

I hope this helps, have fun :-)


0

Response Number 7
Name: tyler
Date: September 9, 2001 at 12:10:43 Pacific
Reply:

to keepgood:

thanks for the tip man... perfect....


0

Response Number 8
Name: jay
Date: March 4, 2002 at 21:29:28 Pacific
Reply:

Keepgood,

I have tried to do what you said, i ran sys-unconfig, system did got to blank state with no network setting and asked me to reenter ip and stuff, but as I am trying to setup my solaris8 as a DHCP client , it did not give me any choice for setting it up as a DHCP client , it only asks me for a static IP no other option, has no option fer setting it up as a DHCP client.
Need help........


0

Response Number 9
Name: Joe
Date: March 17, 2002 at 23:58:05 Pacific
Reply:

I did ifconfig hme0 dhcp and seemed to work... when I reboot, it stucks... I am trying to get an IP from a Windows 2000 Server running DHCP. Now that the Solaris box is stuck at the boot-up stage what can I do to get it back?

Joe
jcheng@alpha.ca


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: Setting up DHCP client on Solaris 8

Setting up FTP server on Solaris 8 www.computing.net/answers/solaris/setting-up-ftp-server-on-solaris-8/1155.html

Novell Client on Solaris 8 www.computing.net/answers/solaris/novell-client-on-solaris-8/155.html

DHCP problem on solaris 8 + sunray3 www.computing.net/answers/solaris/dhcp-problem-on-solaris-8-sunray3/4477.html