assigning ip to second interface

Hi,

I have just installed Sun Solaris 8 on my Sun Server Machine.
I have assigned a one ip to eri0 interface. i want to assign anohter ip to the another ethernet interface but i am not able to find it. can any body help me to assigning the second ip to the second inteface so that i can able to assign to ip to the server machine.

thanks.

please post the output of:

ifconfig -a
grep net /etc/path_to_inst

the output of ifconfig -a

lo0= flags=1000849 <UP, LoopBack, RUNNING, Multicast, IPV4> mtu8232 index 1 inet 127.0.0.1 netmask ff000000

eri0= flags= 1000843 <UP, Broadcast, Running multicast, IPV4> mtu 1500 index2, inet 168.10.20.22 netmask ffff0000 broadcast 168.10.255.255 ether 0:3:ba:16:eb:5d

and what is about the second command?

no output is shown

hmm, if no output is shown... do you know what interface you have? what kind of mashine is it (uname -a) an is it an internal interface or an extension card?

i run this command uname -a and it gives the following information.

SunOs hostname 5.8 Generic_108528-13 sun4u sparc SUNW, Sun-Fire-280R

It has all the default specifications.

but i do not know that what kind of card is attached and how to install the other card.

I also run the
grep net/etc/path_to_inst

it gives the following output.

/pci@8,700000/network@,1" 0 "eri"

I also run the following command
grep eri /etc/path_to_isnt

it gives the follwoing output

"/pci@8,700000/ebus@5/serial@1,400000" 0 "se"
"/pci@8,700000/networks@5,1"0 "eri "

grep qfe /etc/path_to_inst

then no output is shown

the r280 has only ONE internal ip interface? the card with a second nic is the "rsc" card and can not be used as nic from os! if there is NO networkcard in a pci slot you only have ONE nic! and this is eri0...

greets,
DN2

so what i should do now. Either I should installed a external inerface card to it or any other method to use any other slot as nic.

you can assign a second ip to your internal interface... or you have to install a new network card to add more interfaces to your mashine.