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

To find the OBP environment variable

2 Answers  


How to bring the resource to online and offline

2 Answers  


How to stop the process in Solaris?

9 Answers   GAS, Wipro,


How to enable and disable the dtlogin

1 Answers  


How to change the default new user shell without mentioning -s /bin/sh in cmd useradd or usermod and which file we need to change? this is not for existing user

4 Answers   Tech Mahindra,






How to add a new LUN in exit disksets (metasets) in solaris please answer me step by step procedure?

0 Answers   IBM,


what is mean by system calls

1 Answers  


How to mirror and unmirror a disk?

1 Answers  


solaris network daemon

6 Answers   HP,


How to lock the user id in solaris?

4 Answers  


How can u find a file which is logged in last week?

0 Answers  


Disaster recovery steps if OS corrupted

3 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)