Computing.Net > Forums > Solaris > solaris10 net config &dhcp issues

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

solaris10 net config &dhcp issues

Reply to Message Icon

Original Message
Name: creon
Date: May 18, 2005 at 09:11:18 Pacific
Subject: solaris10 net config &dhcp issues
OS: Solaris 10
CPU/Ram: 2048MHz or 2Gigs RAM
Comment:

hi!

good for you, you already set up an internet connection.

but i am not that fortunate yet.

my problem basically is that i installed solaris 10 on a server and allowed dhcp to be active.

it first worked because we had a dhcp server (not the same machine as with that of the recently installed solaris 10).
but then again, when we were made to transfer that server, having solaris 10 installed, to another building having no dhcp server.

there the problems began... i cannot connect now to the internet. next, i cannot even open/run the Solaris Management Console!

we then decided to change (hardcode) the network config via the command "ifconfig". however, we realized that this command is not persistent. meaning, the network config resets everytime we turn off the machine.

we then tried basically the same changes to the network config like as yours, and i quote:

"obviously make sure that your /etc/hosts and /etc/defaultgateway are set correctly
after that, you make your /etc/resolv.conf file, and add these 2 lines
nameserver (primary dns)
nameserver (secondary dns)

the 2 servers i use are 4.2.2.1 and 4.2.2.2
there are many other dns servers available for comcast, and you can find them through a simple google search but those two work fine for me.

then i did: cp /etc/nsswitch.dns /etc/nsswitch.conf
in order to set the nsswitch.conf file to use dns, you can just edit the .conf file, but i find this way a little easier..

that should be all now, so you can either restart your computer or do
/etc/init.d/inetsvc stop
/etc/init.d/inetsvc start"

but still, it does not work.

i mean, true enought that when we open the file (in a textpad), the new settng was ok, but when we do ping, or try to add router, the same message like "unreachable host" still persists.

i really am having difficulty with setting this server. it has taken me two weeks already...

also, is there by chance that i invoked the issue when i allowed dhcp to be active? if yes, how then can i terminate dhcp without reinstalling solaris 10?

any help would be highly appreciated.

thanks...


Report Offensive Message For Removal


Response Number 1
Name: David Perry
Date: May 18, 2005 at 12:21:37 Pacific
Reply:

As root issue the command

sys-unconfig

This will give you the option to reconfigure your network when you reboot.


Report Offensive Follow Up For Removal







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



Results for: solaris10 net config &dhcp issues

ip configuration / can't ping server
    Summary: I suggest you should check for the routing config of the ISP/DSL provider. Normally, whenever other hosts from the internet can connect to your server, 99 percent sure that there's nothing wrong with...
www.computing.net/answers/solaris/ip-configuration-cant-ping-server/580.html

X server cannot be started
    Summary: Possible keyboard issue. If Solaris cannot find the keyboard, it runs "headless" which means that it takes input from the serial device (even sends output to the serial if it can't find the monitor.)...
www.computing.net/answers/solaris/x-server-cannot-be-started/2985.html

Solaris 8 DHCP Connectivity Issues
    Summary: I've been left a Solaris 8 server to admin at a university, and have been having some issues. I've been able to fix most of them, but one is sticking around and I was hoping for some help. For whateve...
www.computing.net/answers/solaris/solaris-8-dhcp-connectivity-issues/4971.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History






Data Recovery Software