How to configure the network card

Answers were Sorted based on User's Feedback



How to configure the network card..

Answer / sbrahman75

# ifconfig hme0 plumb

# ifconfig hme0 192.9.200.10 netmask 255.255.255.0 up

# vi /etc/hosts ( update the ip address )

# vi /etc/hosts.hme0 ( update the ip address ) --> to bring
the interface along with the ipaddress during boot time.

.

Is This Answer Correct ?    5 Yes 1 No

How to configure the network card..

Answer / radhakrishna

To bring the interface along with the ipaddress during boot
time, it is /etc/hostname.<interface>


ls -l /etc/hostname.*
-rw-r--r-- 1 root root 10 Sep 12
2002 /etc/hostname.eri0
-rw-r--r-- 1 root other 7 Sep 12
2002 /etc/hostname.ge0
-rw-r--r-- 1 root other 11 Sep 12
2002 /etc/hostname.ge1
-rw-r--r-- 1 root other 11 Sep 12
2002 /etc/hostname.ge2
-rw-r--r-- 1 root other 10 Sep 12
2002 /etc/hostname.ge3
-rw-r--r-- 1 root root 10 Mar 9
2004 /etc/hostname.qfe0
-rw-r--r-- 1 root root 10 Mar 9
2004 /etc/hostname.qfe1

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris Commands Interview Questions

Difference between ufs and tar commnad

1 Answers  


If you have got a LUN, How to configure it, how to allocate LUN in linux/ solaris. What are the steps ?

2 Answers   Wipro,


how to find NIC card type. is there any command to display the card type when it not plumbed.

4 Answers   Thomson Reuters,


what is the diff between ufslog and vxfslog?

1 Answers  


how to add an user without using "useradd" command in solaris10?

4 Answers   HCL, HP,






Which file will take place while booting

1 Answers  


Were will be the configuration for metadevice

1 Answers  


How may will you find the process id and disk utilizations.

7 Answers  


How to start one node cluster.

5 Answers  


if /etc/system file file got deleted how you will regenerate from ok prompt ? in solaris and if and /etc/inittab file got deleted how you will regenerate from ok prompt and if both files got deleted how you will regenerate from ok prompt

3 Answers   Wipro,


What are the two types of service groups?

2 Answers  


I have only one plex and one subdisk and one volume , then plex is failed how can we recolect it?

4 Answers   IBM,


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)