How can I configure two network cards.

bridged with openqnx-developer mailing list
Locked
Prajith

How can I configure two network cards.

Post by 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

G. Frank Liu

Re: How can I configure two network cards.

Post by 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

Locked

Return to “openqnx.developer”