09-03-2008
You can put stuff in modules.conf to force a particular order on the interfaces, but I understand it's not altogether deterministic if they are all the same model. The driver you use might also have options which influence which instance comes up on which interface number. Read its documentation.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
HI,
When I do 'service network restart' , I am getting the following error.
"3c501 device eth0 does not seem to be present, delaying initialization"
Can any one suggest me the cause/solution for this?
When I do 'lspci' it is showing the ehternet card as
" Ethernet controller"Marvell... (2 Replies)
Discussion started by: praveen_b744
2 Replies
2. UNIX for Dummies Questions & Answers
folks;
This might sounds stupid but i hope someone can give me an answer:
On my Linux SUSE boxes, i have 2 NIC cards NIC1 & NIC2. I always assumed that NIC1 is eth0 when i run "ifconfig" and NIC2 is eth1
but i noticed that's not always the case.
Is there a way or a command i can run to find... (1 Reply)
Discussion started by: Katkota
1 Replies
3. IP Networking
hi,
Could some one answer this please
we have a program with client socket declared which connect to a server
for the above program description we wont send an interface information ... let us suppose, I have two interfaces (eth0 , eth1) which are assigned some ip, which interface the... (1 Reply)
Discussion started by: Gopi Krishna P
1 Replies
4. IP Networking
Hi people,
I have a solaris OS system. I configured its interfaces. They are UP but not in RUNNING status except loopback interface. I made the interfaces DOWN and UP again. The other side of the interfaces (switch ports) are UP. Does anyone have any idea? What may cause this problem, How can I... (1 Reply)
Discussion started by: hubatuwang
1 Replies
5. Solaris
Hi Al,
In course of understanding networking in Solaris, I have these doubts on Interfaces. Please clarify me. I have done fair research in this site and others but could not be clarified.
1. In the "ifconfig -a" command, I see many interfaces and their configurations. But I see many... (1 Reply)
Discussion started by: satish51392111
1 Replies
6. Shell Programming and Scripting
I want to run dhcpclient for all the eth* which has no ip
for example
eth0 Link encap:Ethernet HWaddr 00:1E:67:3E:BA:EF
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0... (6 Replies)
Discussion started by: yanglei_fage
6 Replies
7. Red Hat
Hi,
I´ve given only this info to configure a network interface : "port 1 PCI 4"
I´ve been searching for any kind of relationship in the system which allow me to find the etc that must be configured...
Please, could anybody help me?
rhxx:#/root# lspci |grep -i "PCI BRIDGE"
00:01.0 PCI... (0 Replies)
Discussion started by: pabloli150
0 Replies
8. UNIX for Dummies Questions & Answers
hi guys
I have a server which has 2 nics eth0 and eth1
eth0 is used for our email traffic server. everything working fine
some time later a eth1 was added for backup purposes so this new nic sends data to another vlan for backup purposes
all of a sudden our mail server starts to fail... (3 Replies)
Discussion started by: karlochacon
3 Replies
9. Red Hat
Hi,
I am facing an issue with one of the 10G fiber link. After certain packets received. I am seeing errors in ifconfig eth* output.
MTU is set to 9000.
any idea? (1 Reply)
Discussion started by: snchaudhari2
1 Replies
10. UNIX for Advanced & Expert Users
Dear community,
I'm in trouble with Red Hat Server 5.8. After rebooting the server, I loose two interfaces used for bond2 (eth4 and eth5). I reboot twice the server but the result is always:
# service network restart
Shutting down interface bond0:
Shutting down... (1 Reply)
Discussion started by: Lord Spectre
1 Replies
LEARN ABOUT BSD
qassociate
qassociate(9F) Kernel Functions for Drivers qassociate(9F)
NAME
qassociate - associate STREAMS queue with driver instance
SYNOPSIS
#include <sys/types.h>
#include <sys/stream.h>
#include <sys/stropts.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
int qassociate(queue_t *q, int instance);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). This entry point is required for drivers which export cb_ops(9S) entry points.
PARAMETERS
queue_t *q
Pointer to a queue(9S) structure. Either the read or write queue can be used.
int instance
Driver instance number or -1.
DESCRIPTION
The qassociate() function associates the specified STREAMS queue with the specified instance of the bottom driver in the queue. Upon suc-
cessful return, the stream is associated with the instance with any prior association dissolved.
A DLPI style-2 driver calls qassociate() while processing the DL_ATTACH_REQ message. The driver is also expected to call this interface
while performing stream associations through other means, such as ndd(1M) ioctl commands.
If instance is -1, the stream is left unassociated with any hardware instance.
If the interface returns failure, the stream is not associated with the specified instance. Any prior association is left untouched.
The interface typically fails because of failure to locate and attach the device instance. The interface never fails if the specified
instance is -1.
CONTEXT
qassociate() can be called from the stream's put(9E) entry point.
RETURN VALUES
0
Success.
-1
Failure.
EXAMPLES
A Style-2 network driver's DL_ATTACH_REQ code would specify:
if (qassociate(q, instance) != 0)
goto fail;
The association prevents Dynamic Reconfiguration (DR) from detaching the instance.
A Style-2 network driver's DL_DETACH code would specify:
(void) qassociate(q, -1);
This dissolves the queue's association with any device instance.
A Style-2 network driver's open(9E) code must call:
qassociate(q, -1);
This informs the framework that this driver has been modified to be DDI-compliant.
SEE ALSO
dlpi(7P), open(9E), put(9E), ddi_no_info(9F), queue(9S)
SunOS 5.10 9 Jul 2002 qassociate(9F)