Solved

set ip address on machine

Posted on 2002-07-08
4
275 Views
Last Modified: 2013-12-27
hello experts out there..

 my machine has 2 networks cards.
 but when i issue $ ifconfig -a
 i get;

 lo0:lags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4>
     mtu 8232 index 1 inet 127.0.0.1 netmask ff000000
 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4>
        mtu 1500 index 2
        inet 190.254.31.59 netmask ffffffe0 broadcast
         190.254.31.63 ether 8:0:20:9d:eb:47

 which shown that solaris only detect 1 network card.
 i didn't assign any IP address yet to the second card.
 my question is;

 1) how to detect/configure the second network card
    so that i can assign an IP address to it.

  any help greatly appreciated.

 tq
0
Comment
Question by:ismahwati
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
billwcc earned 20 total points
ID: 7139296
You have to plumb the interface before it will come up.

It goes something like:

#ifconfig hme1 plumb
#ifconfig hme1 190.254.61.XX netmask 255.255.255.0 \
broadcast 190.254.61.255

See man (1M) ifconfig.

0
 

Author Comment

by:ismahwati
ID: 7139381
what is the brodcast there
means ?

tq
0
 

Author Comment

by:ismahwati
ID: 7139409
ok it works..
anyway, first i need to create
hostname.hme1 in /etc.

then

#ifconfig hme1 plumb
#ifconfig hme1 190.254.61.XX netmask 255.255.255.0 \
broadcast 190.254.61.255
#ifconfig hme1 up


thanks
0
 
LVL 1

Expert Comment

by:billwcc
ID: 7140573
yep, and put your broadcast in /etc/netmasks too.
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question