I check that there is no packet leaving rteth2 by looking at my NIC interface and the destination host. When I ping 152.157.1.2 my input NIC's receive data (data led is flashing) but the data led of my output NIC (rteth2) isn't flashing.. Ok it is not relevant. Another way to check is to look at the destination box. I have captured packet on his interface. But no packet arrived.
And I have noticed something odd.. On my windows box, I can ping any machine even those that do not exist.. ping 152.157.1.2 => I have a reply ping 152.157.1.56 => I have a reply (but no machine with this IP address) ping 153.156.25.24 => I have a reply.. this is very odd.. I change of subject. I try to develop my application of router/concentrator using socket API. Or rather RTnet API beacause I want to test latency on real time. I'm not sur that you are the good person who can answer me but perhaps someone on the mailing list can help me. I try to explain my step. On the windows box, I have a program wich send UDP packet on the network (I can specify address and one port). It was created with linux API socket (socket, bind, sendto...). for example, I can send packet to 151.157.3.3:15000 or 151.157.3.4:15000... So on my board, I try to develop an application for receiving these packets on the input interfaces and sending them to the destination host via the fourth interface. In my main() function, I have created 3 rt_dev_socket for each of my input interfaces. I have bound this socket with the respective address of the NIC and a port (I use the same port for each one). And then I have created and start a real time task with rt_task_create and rt_task_start (I pass a function round_trip to this function) In my round_trip() function, I have initialize a struct sockaddr_in for my destination box. after that, I get into an infinite while loop. In this loop, I have initialized an fd_set variable (with FD_SET) for all my input socket (I have created in main function). Then, I call select function, and test if my socket are readable with FD_ISSET. But if I send data from my windows box to 151.157.3.3:15000 => ok that works fine. If I send data from my windows box to 151.157.3.4:15000 => that does not work. In fact, my first socket (bound to 151.157.3.3) is all the time readable but never the other.. So I'm blocked. So, I hope I have been clear in my explanations.. If you have any suggestions or ideas.. I'm taker. The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, please notify Airbus immediately and delete this e-mail. Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately. All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free. ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users