Network interface problem

Hi

i have replace a NIC card on solaris 10 when i give the following command
ifconfig -a
it just show the lo0 (only loop back with inet 127.0.0.1)

when i give the following command to config the interface,
ifconfig elxl0 plumb
ifconfig: plumb: elxl0: no such interface

please help me to solve the issue

What does

dladm show-dev

say?

when i use the following commands

dladm show-dev

bash: dladm: command not found

dladm shoud be available as /usr/sbin/dladm. If you run the command as root, you'll get something like:

# dladm show-dev
bge0            link: up        speed: 100   Mbps       duplex: full
bge1            link: unknown   speed: 0     Mbps       duplex: unknown

The output shows you all network interfaces recognized by the operating system, no matter if they are plumbed or not.

no it don't exist in /usr/sbin/dladm in my OS. One more thing when i reboot the system. it give the following error,
failed to configure IPv4 interface(s); elxl0

what is the output of:

uname -a
cat /etc/release

?

to get rid of the elxl0 message, just delete or rename the file /etc/hostname.elxl0

 
uname -a
SunOS grsoft 5.10 Generic i86pc i386 i86pc
 
cat /etc/release
Solaris 10 3/05 s10_74L2a X86
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms
Assembled 22 January 2005

ok, it's an old solaris 10 version which maybe don't have the dladm command. try the following:

ifconfig -a plumb

and post the output of "ifconfig -a"

 
ifconfig -a plumb # don't show any result
 
 
ifconfig -a 
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>mtu 8232 index 1
inet 127.0.0.1 netmask ff000000

your network card is not recognized by solaris. you maybe need to install the drivers. also try a reconfigure reboot.

# reboot -- -r

thanks to all i am going to reinstall solaris let you know about it

Why did you replace it ?
What brand/models of NICs are the old and the new ones ?