# Network interface problem

**URL:** <https://community.unix.com/t/network-interface-problem/274983>\
**Category:** Solaris\
**Created:** [October 8, 2010, 8:54am UTC](https://community.unix.com/t/network-interface-problem/274983 "2010-10-08T08:54:25Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 8, 2010, 8:54am UTC](https://community.unix.com/t/network-interface-problem/274983/1 "2010-10-08T08:54:25Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![hergp](https://community.unix.com/letter_avatar/hergp/32/6_449c533f586939b6e5f246632a46421f.png) [@hergp](https://community.unix.com/u/hergp)\
**Post date:** [October 8, 2010, 9:17am UTC](https://community.unix.com/t/network-interface-problem/274983/2 "2010-10-08T09:17:41Z")

</div>

What does

```nohighlight
dladm show-dev

```

say?

---

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 12, 2010, 2:02am UTC](https://community.unix.com/t/network-interface-problem/274983/3 "2010-10-12T02:02:44Z")

</div>

> [@hergp](#):
>
> What does
> 
> ```plaintext
> dladm show-dev
> 
> ```
> 
> say?

when i use the following commands

dladm show-dev

bash: dladm: command not found

---

<div class="post-metadata">

**Author:** ![hergp](https://community.unix.com/letter_avatar/hergp/32/6_449c533f586939b6e5f246632a46421f.png) [@hergp](https://community.unix.com/u/hergp)\
**Post date:** [October 12, 2010, 3:20am UTC](https://community.unix.com/t/network-interface-problem/274983/4 "2010-10-12T03:20:44Z")

</div>

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

```nohighlight
# 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.

---

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 12, 2010, 3:24am UTC](https://community.unix.com/t/network-interface-problem/274983/5 "2010-10-12T03:24:49Z")

</div>

> [@hergp](#):
>
> dladm shoud be available as /usr/sbin/dladm. If you run the command as root, you'll get something like:
> 
> ```plaintext
> # 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

---

<div class="post-metadata">

**Author:** ![DukeNuke2](https://community.unix.com/user_avatar/community.unix.com/dukenuke2/32/407_2.png) [@DukeNuke2](https://community.unix.com/u/DukeNuke2)\
**Post date:** [October 12, 2010, 3:28am UTC](https://community.unix.com/t/network-interface-problem/274983/6 "2010-10-12T03:28:02Z")

</div>

what is the output of:

```nohighlight
uname -a
cat /etc/release

```

?

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

---

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 12, 2010, 3:36am UTC](https://community.unix.com/t/network-interface-problem/274983/7 "2010-10-12T03:36:48Z")

</div>

> [@dukenuke2](#):
>
> what is the output of:
> 
> ```plaintext
> uname -a
> cat /etc/release
> 
> ```
> 
> ?
> 
> to get rid of the elxl0 message, just delete or rename the file /etc/hostname.elxl0

```plaintext
 
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

```

---

<div class="post-metadata">

**Author:** ![DukeNuke2](https://community.unix.com/user_avatar/community.unix.com/dukenuke2/32/407_2.png) [@DukeNuke2](https://community.unix.com/u/DukeNuke2)\
**Post date:** [October 12, 2010, 3:48am UTC](https://community.unix.com/t/network-interface-problem/274983/8 "2010-10-12T03:48:41Z")

</div>

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

```nohighlight
ifconfig -a plumb

```

and post the output of "ifconfig -a"

---

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 12, 2010, 3:53am UTC](https://community.unix.com/t/network-interface-problem/274983/9 "2010-10-12T03:53:14Z")

</div>

> [@dukenuke2](#):
>
> ok, it's an old solaris 10 version which maybe don't have the dladm command. try the following:
> 
> ```plaintext
> ifconfig -a plumb
> 
> ```
> 
> and post the output of "ifconfig -a"

```plaintext
 
ifconfig -a plumb # don't show any result
 

```

```plaintext
 
ifconfig -a 
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPV4,VIRTUAL>mtu 8232 index 1
inet 127.0.0.1 netmask ff000000

```

---

<div class="post-metadata">

**Author:** ![DukeNuke2](https://community.unix.com/user_avatar/community.unix.com/dukenuke2/32/407_2.png) [@DukeNuke2](https://community.unix.com/u/DukeNuke2)\
**Post date:** [October 12, 2010, 3:56am UTC](https://community.unix.com/t/network-interface-problem/274983/10 "2010-10-12T03:56:11Z")

</div>

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

```nohighlight
# reboot -- -r

```

---

<div class="post-metadata">

**Author:** ![malikshahid85](https://community.unix.com/letter_avatar/malikshahid85/32/6_449c533f586939b6e5f246632a46421f.png) [@malikshahid85](https://community.unix.com/u/malikshahid85)\
**Post date:** [October 12, 2010, 4:02am UTC](https://community.unix.com/t/network-interface-problem/274983/11 "2010-10-12T04:02:33Z")

</div>

> [@dukenuke2](#):
>
> your network card is not recognized by solaris. you maybe need to install the drivers. also try a reconfigure reboot.
> 
> ```plaintext
> # reboot -- -r
> 
> ```

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

---

<div class="post-metadata">

**Author:** ![jlliagre](https://community.unix.com/letter_avatar/jlliagre/32/6_449c533f586939b6e5f246632a46421f.png) [@jlliagre](https://community.unix.com/u/jlliagre)\
**Post date:** [October 12, 2010, 4:07am UTC](https://community.unix.com/t/network-interface-problem/274983/12 "2010-10-12T04:07:18Z")

</div>

> [@malikshahid85](#):
>
> i have replace a NIC card

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