Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - how to change Ethernet interface on logical Lan 1 (en1) to en2!!!: (4 Items)
   
how to change Ethernet interface on logical Lan 1 (en1) to en2!!!  
I have two Ethernet interfaces,so in QNX system I have two logical Lan name,en1 and en2. but how can I change each other
. 
Re: how to change Ethernet interface on logical Lan 1 (en1) to en2!!!  
On Fri, Aug 14, 2009 at 08:51:04AM -0400, zhang shilei wrote:
> I have two Ethernet interfaces,so in QNX system I have two logical Lan name,en1 and en2. but how can I change each 
other. 

They're populated in the order they're specified or scanned.
If they're two different drivers (devnp-x, devnp-y), just
start them on the command line or mount them in the desired
order.  If they're chipsets handled by the same driver there
may be a driver specific arg to bind it to a particular
instance.  For example,

io-pkt -d devnp-x pci=0 -d devnp-x pci=1
io-pkt -d devnp-x did=x -d devnp-x did=y

You can also try the 'lan=x' option

io-pkt -d devnp-x did=x,lan=a -d devnp-x did=y,lan=b

Check the docs for the driver in question.

-seanb
Re: how to change Ethernet interface on logical Lan 1 (en1) to en2!!!  
Thanks very much! But I can't understand your means. Now I am using QNX4.25, please give me an example to explain how 
can I do.  
RE: how to change Ethernet interface on logical Lan 1 (en1) to en2!!!  
This should be in the QNX4 community news group.

You can start the network drivers with a '-l1' or '-l2' option. This
will determine which adapter is on network one or two.


-----Original Message-----
From: zhang shilei [mailto:community-noreply@qnx.com] 
Sent: Wednesday, August 19, 2009 10:36 PM
To: general-networking
Subject: Re: how to change Ethernet interface on logical Lan 1 (en1) to
en2!!!

Thanks very much! But I can't understand your means. Now I am using
QNX4.25, please give me an example to explain how can I do.  



_______________________________________________

General
http://community.qnx.com/sf/go/post36347