Skip navigation.
Home
The QNX Community Portal

View topic - How can I configure two network cards.

How can I configure two network cards.

This forum links to the openqnx mailing list hosted on sourceforge. It is primarily for discussion of the ports done by the openqnx project. The forum is set to read-only. Please subscribe to the mailing list http://lists.sourceforge.net/lists/list ... -developer if you want to post.

How can I configure two network cards.

Postby Prajith » Wed Aug 04, 2004 5:17 am

Hi,

I am using 2 RTL 8139 network cards in my QNX system.

To configure those two cards I am using the following commands :

Net -v &
Net.rtl -I0 -I1 -vv &
Tcpip -d forward node1 &
ifconfig en1 172.16.10.1 up

but I am not able to assign the IP address to the other interface ie. en0

while trying the command 'ifconfig en2 172.16.11.2 up' it shows the error message
"ifconfig : SIOCGIFFLAGS en0 : no such device or address".

I hope some one can help me on this.

Thanks in advance
Prajith.

«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«..........Prajith P.K..............»
«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·»
GlobalEdge Software Ltd.
Bangalore 560003
Cell : 9886171652
Prajith
 

Re: How can I configure two network cards.

Postby G. Frank Liu » Thu Aug 05, 2004 5:31 am

you have to run "Net.rtl" twice.
Net.rtl -I0 -l 1 &
Net.rtl -I1 -I 2 &

On Wed, 4 Aug 2004, Prajith wrote:

Hi,

I am using 2 RTL 8139 network cards in my QNX system.

To configure those two cards I am using the following commands :

Net -v &
Net.rtl -I0 -I1 -vv &
Tcpip -d forward node1 &
ifconfig en1 172.16.10.1 up

but I am not able to assign the IP address to the other interface ie. en0

while trying the command 'ifconfig en2 172.16.11.2 up' it shows the error message
"ifconfig : SIOCGIFFLAGS en0 : no such device or address".

I hope some one can help me on this.

Thanks in advance
Prajith.

«·´`·.(*·.¸(`·.¸ ¸.·´)¸.·*).·´`·»
«..........Prajith P.K..............»
«·´`·.(¸.·*(¸.·´ `·.¸)*·.¸).·´`·»
GlobalEdge Software Ltd.
Bangalore 560003
Cell : 9886171652



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
G. Frank Liu
 


Return to OpenQNX Developers Mailing List

Who is online

Users browsing this forum: No registered users and 2 guests