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.
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