How to configure IP in SUN Machine


 
Thread Tools Search this Thread
Operating Systems Solaris How to configure IP in SUN Machine
# 1  
Old 11-18-2008
How to configure IP in SUN Machine

Hi Experts,

I am new for solaris, i am using Solaris10,can you anyone assist me how to configure IP in my machine.

Thanks
# 2  
Old 11-18-2008
IP address

Quote:
Originally Posted by daya.pandit
Hi Experts,

I am new for solaris, i am using Solaris10,can you anyone assist me how to configure IP in my machine.

Thanks

Use ifconfig -a ( to check ip address)

To set ip address use,

ifconfig <interface name> < ip address> netmask <netmask>

ex: ifconfig hme0 10.40.44.2 netmask 255.255.255.0
# 3  
Old 11-18-2008
Locate you network interface i.e. qfe0.

Which can be located like below
Quote:
#prtdiag |grep net
Once you have identify the interface you have to plum it with the help of
Quote:
ifconfig <instance name > plumb
Once you have plumb check the interface with
Quote:
ifconfig –a
you will get some thing like below against the plumb interface

< interface name > flags=1000842<BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 0.0.0.0 netmask 0

Assign the required IP and netmask as below with ifconfig

Quote:
# ifconfig < instance name > < IP> netmask < netmask >
# ifconfig <instance name> up
Check the same with
Quote:
ifconfig –a
place the entry in /etc/hosts and /etc/hostname.<instance name>

Last edited by kumarmani; 11-18-2008 at 04:55 AM..
# 4  
Old 11-18-2008
Hi,

to make your network configuration permanent do the following:
put the hostname in /etc/hostname.<interfacename>
put ip-nr. and hostname in /etc/inet/hosts
put netmask in /etc/inet/netmasks

Have a look at Solaris 10 System Administrator Collection - Sun Microsystems

Good Luck
lowbyte
# 5  
Old 11-18-2008
Bug

Thanks all of you
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sun is not able to ssh another machine of sun

My one Sun machine is not able to ssh another machine of Sun. Although I have configured the ssh successfully ( SunOS sunbox2 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Blade-2500 ) ERROR bash-2.05# ssh sunbox2 /etc/ssh/ssh_config: line 34: Bad configuration option: PermitRootLogin... (0 Replies)
Discussion started by: z_haseeb
0 Replies

2. UNIX for Dummies Questions & Answers

Linux Tip: How to Configure PPP for dialup for a single machine?

I shall explain how to setup PPP on your Linux machine, so that you can connect to the Internet using an external modem and a Dialup connection. This article explains the setup for the superuser alone (Not normal users).My Setup : My external modem (56kbps) is connected to the Serial Port :... (0 Replies)
Discussion started by: EliteHussar
0 Replies

3. Solaris

Configure Sun Cluster

Hi, I am configuring the sun cluster between two nodes. It is asking me to create a filesystem called globaldevices in root and mount it permanently. I created a new slice c0t0d0s3 and created a filesytem /globaldevices. How can I mount it permanently. I know we have to do it /etc/vfstab, but... (3 Replies)
Discussion started by: gunnervarma
3 Replies

4. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

5. UNIX for Dummies Questions & Answers

how configure printer in sun solaris

Hi, I am working in sun solaris server.I have Kyocera FS-1030D KX printer in my network .I have configured this printer for windows.I want to configure same printer to sun solaris.Is this possible.Give me some ideas. (2 Replies)
Discussion started by: arulkumar
2 Replies

6. Linux

how to configure nfs with in the same machine

Hi All, I installed the Linux on VMWare. Now i want to configure the NFS. is that possible to configure NFS ? because i am having only one Machine. Please give me the details ASAP. Thanks in advance... Regards, Sridhar. (3 Replies)
Discussion started by: sridhusha
3 Replies

7. Solaris

Configure second NIC on Sun E450

I wanted to configure a second NIC card on a different IP on my Sun E450 server. Currently, I have hme0. when I ran the command : ifconfig hme1 <ip address> netmask <subnet mask> broadcast + up I got the following error message: ifconfig: SIOCGIFFLAGS: hme1: no such interface Any idea... (3 Replies)
Discussion started by: Remi
3 Replies

8. Solaris

How to configure NIS in sun 10

Hi...., I'm having two intel system.both the system i installed sun sol 10.now i wan't to configure NIS .Pls tell me step by step configuration for server and client.pls Help me any body......... :mad: Rgds, Jay (4 Replies)
Discussion started by: rjay.com
4 Replies

9. Solaris

How can i Configure TCP Keepalive on sun solaris 9 machine?

I've installed sun solaris 9 and i need to know how can i enable TCP Keepalive to ping socket connections every 300 seconds? Thanks, Mohammed Amin (1 Reply)
Discussion started by: m_amin
1 Replies

10. UNIX for Advanced & Expert Users

How to configure tape drive on SUN

I am trying to configure DAT Tape drive on SUN E220 system but I don't have SUN keyboard. I am using a tty terminal k/b. What are my alternavtives? Is there any way to send interupts to the system on OK prompt using tty kb for probe SCSI. Thanks in advance. (2 Replies)
Discussion started by: s_aamir
2 Replies
Login or Register to Ask a Question