Solved

set ip address on machine

Posted on 2002-07-08
4
274 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

733 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