Sponsored Content
Operating Systems Solaris Determine Solaris box network interface? Post 302108809 by DukeNuke2 on Thursday 1st of March 2007 03:46:00 AM
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.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
SLATTACH(8)						    BSD System Manager's Manual 					       SLATTACH(8)

NAME
slattach -- attach serial lines as network interfaces SYNOPSIS
slattach [-Hhlmn] [-s baudrate] [-t ldisc] ttyname DESCRIPTION
slattach is used to assign a tty line to a network interface which uses asynchronous serial lines. Currently the slattach command is used to attach sl(4) or strip(4) interfaces. These interfaces have to be created using the ifconfig(8) create subcommand before the slattach command. The network source and destination addresses and other interface parameters are configured via ifconfig(8). The following operands are supported by slattach: -H Turn on DTR/CTS flow control. By default, no flow control is done. -h Turn on RTS/CTS flow control. By default, no flow control is done. -l Turn on the CLOCAL flag, making it possible to run SLIP on a cable without modem control signals (e.g. DTR, DSR, DCD). -m Maintain modem control signals after closing the line. Specifically, this disables HUPCL. -n Don't detach from invoking tty. -s baudrate Specifies the speed of the connection. If not specified, the default of 9600 is used. -t ldisc Specifies the line discipline to use for the tty. Supported line disciplines are ``slip'' (creates a sl(4) instance) and ``strip'' (creates a strip(4) instance). If this option is not specified, the default is ``slip''. ttyname Specifies the name of the tty device. ttyname should be a string of the form 'ttyXX', or '/dev/ttyXX'. Only the super-user may attach a network interface. To detach the interface, use ``ifconfig interface-name down'' after killing off the slattach process. Interface-name is the name that is shown by netstat(1). EXAMPLES
slattach ttyh8 slattach -s 4800 /dev/tty01 DIAGNOSTICS
Messages indicating that the specified interface is not configured or created, the requested address is unknown, or that the user is not privileged but tried to alter an interface's configuration. SEE ALSO
netstat(1), daemon(3), netintro(4), sl(4), strip(4), ifconfig(8), rc(8), sliplogin(8), slstats(8) HISTORY
The slattach command appeared in 4.3BSD. BUGS
There is no way to specify the interface name (sl%d etc.) to be attached by the slattach command. There is no way to see which interface is assigned to the specified tty by the slattach command, either. It would be better if the network interfaces were created by the slattach command rather than by using the ifconfig(8) create subcommand before the slattach command. BSD
July 8, 2006 BSD
All times are GMT -4. The time now is 01:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy