AllExperts > Experts 
Search      

Sun Operating System

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Sun Operating System Answers
Question Library

Ask a question about Sun Operating System
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Mario Bucsics
Expertise
Since 5 Yearīs iīm working with Unix Systems an Oracle Databases and now i am going to take the Solaris Certification. You can ask me any question about Oracle and Solaris ( especially Solaris 2.6 ) but please donīt ask me anything about Microsoft Products.

Experience

Past/Present clients
One of my biggest clientīs is the 2nd and best Telecommunication Company in Vienna ( max.mobil ). I was also involved in the startup phase at www.lion.cc which is the greatest e-commerce company in austria.

 
   

You are here:  Experts > Computing/Technology > Focus on PC Support > Sun Operating System > Solaris

Topic: Sun Operating System



Expert: Mario Bucsics
Date: 4/12/2004
Subject: Solaris

Question
Hi,

         I would like to know the  basic command on solaris to configure the network

Regards


Answer
Hello Selvan !

The Basic commands are:

ifconfig InterfaceName plumb   <-- to configure the interface

ifconfig InterfaceName IpAddress Netmask UP <-- configure the interface with an IP Address and sets the status to up.

route add Gateway <-- to set a static route to your network

configuration files: /etc/hosts

/etc/hostname.InterfaceName ( i.e.: hostname.eth0 )
write your hostname or IP Address in this file, if using hostname you have to add this hostname in /etc/hosts

/etc/defaultrouter
write the ip address of your defaultrout in here

/etc/networks

configure your subnets in this file

/etc/init.d/network   <-- start and stop script for your network which is executed at system startup and shutdown

hth

mario

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.