Determine Solaris box network interface?


 
Thread Tools Search this Thread
Operating Systems Solaris Determine Solaris box network interface?
# 1  
Old 03-01-2007
Determine Solaris box network interface?

Given a new Solaris box, with a fresh, unconfigured install on it, how does one figure out what kind of network interface it has (bge,le, hme, etc)?
# 2  
Old 03-01-2007
ifconfig -a

Smilie
# 3  
Old 03-01-2007
Quote:
Originally Posted by grial
ifconfig -a

Smilie
that only works for configured interfaces.

@akbar
if you are on a sol10 system you can use "dladm show-dev". on pre sol10 systems try a "grep -i net /etc/path_to_inst" but that doesn't work for all kind of interfaces.
# 4  
Old 03-01-2007
Code:
ifconfig -a plumb
ifconfig -a

# 5  
Old 03-03-2007
Quote:
Originally Posted by reborg
Code:
ifconfig -a plumb
ifconfig -a

Hi reborg,

This sort of works. It shows me one interface, "le0". I know that there are two interfaces in the box though. One is on-board, and the other is an SBUS card with both a SCSI and an ethernet interface. I have configured this "le0" device with proper networking, but cannot get it to contact the gateway by plugging into either port.

I don't know which card is the "le0", nor do I understand why there is just one shown logical when there are two physical.

When I go to OBP and do "show-sbus", I get the following:

<#2> ok show-sbus
SBus slot f SUNW,bpp ledma le espdma esp
SBus slot e SUNW,DBRIe
SBus slot 0 qec be
SBus slot 1
SBus slot 2 cgsix
SBus slot 3

Is there possibly a driver issue here? I did a "touch /reconfigure ; reboot", with no change.

Any ideas or suggestions you have are appreciated.

Last edited by akbar; 03-03-2007 at 05:19 AM..
# 6  
Old 03-03-2007
dladm show-link

to see all your physical interfaces

to get the other physical interface up, find out the interface name /w the cmd above and use ifconfig to bring it up.
# 7  
Old 03-03-2007
Quote:
Originally Posted by kungpow
dladm show-link

to see all your physical interfaces

to get the other physical interface up, find out the interface name /w the cmd above and use ifconfig to bring it up.
Hi kungpow,

dladm does not work on my solaris 9 box. According to a previous poster, it only works on 10. Unfortunately, 10 won't install on this box as it is only a sparc 20, and is not supported.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Network interface configuration - Solaris 11

Hi, I am new in Solaris 11. I can't even make the NIC work. Here is the issue: Any help will be greatly appreciated. (6 Replies)
Discussion started by: aixlover
6 Replies

2. Solaris

Network Interface -- Solaris

Dear All, I have a solaris Server in which I have 4 network interfaces , out of which only one is used . So all the applications are using this interface . The interface speed is 1000Mbps . I find no hardware issue or packets g being dropped. But i find that no of Input and Output... (4 Replies)
Discussion started by: jegaraman
4 Replies

3. Solaris

Configure network interface for Solaris 10

Hi, I have installed Solaris 10 on VMware7, When i used ifconfig -a to check network interface, it has shown lo0 as loopback interface. Please advise how to configure network interfaces using VMware. (1 Reply)
Discussion started by: ajhal04
1 Replies

4. Solaris

Getting Network Interface details in solaris

Hi, /sbin/ifconfig -a when i login as guest user , output like below, lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 eri0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet... (5 Replies)
Discussion started by: forumguest
5 Replies

5. HP-UX

How to determine network interface that will be used to send a packet for an IP

Hello, I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to add a functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will... (1 Reply)
Discussion started by: foxrafi
1 Replies

6. Solaris

What are the kernel parameter of network interface in Solaris?

Hi gurus Could anybody tell me that what are the kernal parameter of network interface in solaris Regards (3 Replies)
Discussion started by: girish.batra
3 Replies

7. Solaris

Route new network interface Solaris 8

Hi there, I'm trying to configure an additional network interface on Solaris 8 (eri0). The interface has been activated, but all the frames are still routed to the current default interface (ce0) I've tried following command (with various syntaxes...) unsuccessfully so far: # route add... (2 Replies)
Discussion started by: sreiniche
2 Replies

8. Solaris

Solaris 9 on x86- Can't detect network interface

Hi All, I recently installed Solaris 9 on my Compaq Presario V2000 Series (V2069CL) laptop. Everything is working fine except that Solaris is not able to detect the Network Interface after boot. While the system is booting, it shows that it has detected "Xircom Pocket Ethernet parallel port... (3 Replies)
Discussion started by: com2com
3 Replies

9. Solaris

network interface problem solaris 2.5

Hi guys, Hope somebody can help me on this. I have a Sun Sparc 20 workstation and it has a boot problem. During boot, an error message " ifconfig:socket: Bad File Number" come up and the workstation hang (cannot boot). I did boot -s and checked using ifconfig -a command but i got the same... (0 Replies)
Discussion started by: kroegand
0 Replies
Login or Register to Ask a Question