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 difference between g G while creating useradd?

1 Answers  


how to now the network speed, whether it is a full duplex or half duplex? and what is full duplex and half duplex

3 Answers   Thomson Reuters,


How to start llt and gab

1 Answers  


how many run level in solaris?

19 Answers   HP,


What is default permission of files and directory?

4 Answers  






How to add swap space in Sun Server?

6 Answers   ITC Infotech,


how to change boot disk

4 Answers  


How to remove the root mirror

2 Answers  


How to grow disk size in SDS

1 Answers  


How will you come to know wheather hme 0r eri or to configuring the network card.

3 Answers  


How to start / stop the nfs server

2 Answers  


I want to create a 30Gb of size in three different disks 10Gb,5Gb and 15Gb respectively in VxVm , how can we create it kindly explain step by step procedure.

4 Answers   ITC Infotech,


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)