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

What is the difference between the VERITAS 3.0 and VERITAS 4.0?

2 Answers  


attributes of FS

1 Answers  


What is mean by paging & server average time.

1 Answers  


Options in ufsdump

1 Answers  


Syntax for useradd commad

4 Answers  






How will you ad new aliases name

1 Answers  


how we can create user in solaris?

6 Answers   Tech Mahindra,


How to enable and disable the dtlogin

1 Answers  


What is default permission of files and directory?

4 Answers  


What are the differences between the command line and graphical user interface?

0 Answers  


How to delete a service group

4 Answers  


How will see the kernel version

5 Answers  


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)