Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - ethernet loopback with multiple/different IP addresses on the same device/board: Page 1 of 10 (10 Items)
   
ethernet loopback with multiple/different IP addresses on the same device/board  
I have a board that uses the MPC8347 cpu. This board has three separate
IP addresses on it; en0, en1, en2. 
I am using en0 connected to my pc network for downloading files etc.  

I am trying to create a functional loopback test for en1 and en2 where I
connect them via a cross-over cable.  
I wrote two quick applications using UDP sockets to sendto and recvfrom
a command line address... 
When I run them, everything appears to work fine (send: packet =
"123456", recv: packet = "123456").  

The problem comes when I disconnect the loopback. The same messages
appear.  It appears QNX knows the  two IP addresses are on the same
machine and bypasses the external connection. I read up all about route
and ifconfig but must be missing something. Is this a limitation within
QNX, or do I have to configure something differently?

I am running io-net and it is setup with dhcp.clients. Also I ifconfig
each en# at boot up