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.
Server Settings
Name: Naresh Date: October 28, 2002 at 09:22:52 Pacific OS: Solaris CPU/Ram: 512 MB
Comment:
I am trying to assign a static IP to my Solaris server and set also its gateway and do not have a clue of how to do it. I am totally new to this field. Somone please Help!!!
Name: Mark M Date: October 28, 2002 at 10:06:43 Pacific
Reply:
The easiest and most painless way to do this is by typing su to log in as root, then typing
sys-unconfig
you'll be prompted for all this information. I suggest you choose no name service unless you're using NIS/NIS+ as it's easy to configure nsswitch.conf and resolv.conf by yourself should you need to.
0
Response Number 2
Name: vijai Date: October 31, 2002 at 13:49:52 Pacific
Reply:
Hi
Please create file called /etc/defaultrouter and enter the gateway IP address. or just do #echo 192.168.1.1 > /etc/defaultrouter Assumming 192.168.1.1 is your gateway dont forget to reboot
Summary: I assume you do not have a dhcp server setting these so my wild guess is.... "Modify the /etc/inet/netmasks file, if you are manually configuring network clients. Or, supply the netmask to the Solaris...
Summary: Did you check the variable settings in /etc/default/dhcpagent file? If the REQUEST_HOSTNAME=yes is uncommented, it will try to find hostname from /etc/hostname.xxx file. The name found in this file is...