how to set ip address for a solaris machine

Answers were Sorted based on User's Feedback



how to set ip address for a solaris machine..

Answer / ramanji

ifconfig <interfacename> plumb 200.200.0.1 up

Is This Answer Correct ?    12 Yes 4 No

how to set ip address for a solaris machine..

Answer / arun

#ifconfig <interface name> plumb
It will enable the interface kernal
#ifconfig <interface name> <ipaddress> netmask <sub netmask> up
IT will set the ipaddress
#route add default <gateway address>
To add the default gateway.
#ifconfig -a
It will list the entire thing like ip , mac, ..

Is This Answer Correct ?    7 Yes 1 No

how to set ip address for a solaris machine..

Answer / len sumawang

#ifconfig <interface name> plumb <ip-address> netmask + broadcast +up

Is This Answer Correct ?    9 Yes 4 No

how to set ip address for a solaris machine..

Answer / sindu

first we up the ip address using ifconfig <interface name>
plumb <ip-address> netmask <> up

then after we perminent the Ip address in
etc/hostname.interface. why because once we reeboot the
system
it will change ,,, so that we permnent the ip address in
/etc/hostname.interface

Is This Answer Correct ?    5 Yes 1 No

how to set ip address for a solaris machine..

Answer / narayanamoorthy

#svcadm enable network/physical

ifconfig NIC card plumb
eg: #ifconfig hme0 plumb

ifconfig <NIC card> <IP address> netmask <netmask address>
up
eg: #ifconfig hme0 192.168.0.1 netmask 255.255.255.0 up

vi /etc/hosts
IPaddress hostname loghost
:wq!

vi /etc/hostname.<interface name eg:hme0>
hostname
:wq!

Is This Answer Correct ?    4 Yes 0 No

how to set ip address for a solaris machine..

Answer / venkat

#ifconfig <nic card> plumb------to interface nic card
#ifconfig <nic card name> <ip adress> up
to make it perminent you need to modify in 4 fields
/etc/hosts
/etc/nodename
/etc/hostname.rtls0<interface name>
/etc/inet/ipnodes

Is This Answer Correct ?    2 Yes 2 No

how to set ip address for a solaris machine..

Answer / baban

#ifconfig <interface name> plumb <ip-address> netmask <> up

do the appropriate changes in the following files
/etc/hosts & /etc/inet/hosts
/etc/hostname.xxn

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Solaris Commands Interview Questions

What are the service group dependence?

2 Answers  


How will you view the packages?

2 Answers  


How will you comment error line in /etc/system file

1 Answers   IBM,


What is the command to check the connectivity between 2 nodes

2 Answers   IBM,


Where do you get Alarm prompt?

0 Answers   IBM,






How to review all zones in solaris10?

3 Answers   Infosys,


Explain RAID0, RAID1, RAID3,

1 Answers  


Tell me some of the differences between Solaris and Sun OS?

8 Answers   Lucent,


How to delete a service group

4 Answers  


what is mount ? in that what will happen exactly ?

1 Answers  


Which file will take place while booting

1 Answers  


If you have forgotten the root password for a server, how do you get back in?

4 Answers   HP,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)