Dear Jan, thanks for your prompt and very helpful response.

The machine we are using has two identical Realtek 8169-based NICs. How can we configure them properly in order to assign different IP addresses to them? I am doing some trial-and-error test on the rtnet.conf file, and I think that the RT_DRIVER_OPTIONS field should do the trick. Is this correct?

Thanks a lot again

Giammarco


On 10/23/06, Jan Kiszka <[EMAIL PROTECTED]> wrote:
Giammarco Zacheo wrote:
> Dear all,
>
> we are trying to do some simple testing in order to verify RtNET
> performances over a wired network. Right now we are working on a single
> machine with two network adapters and Rtnet over a Xenomai 2.2 installation
> (the system is a x86-based machine with Debian Sarge 3.1r3). The adapters
> are connected with a patch cable, and our goal is to make them communicate
> avoding the local routing (i.e. using the patch cable, as they were
> installed on different machines). We already did this with the standard
> TCP/IP stack by patching the kernel with the send2self patch (available at
> http://www.ssi.bg/~ja/ ). Is it possible to do the same thing under Rtnet
> (with or without patching the kernel)? We will start our testing as soon as
> possible, in the while we wait for an answer.

No need for patches with RTnet, it already comes with explicit routing
(see also Documentation/README.routing). First, there will be no local
loopback at all when rt_loopback is not loaded. Second, the routing
decision of RTnet is straightforward: look at the table (=>rtroute),
apply the first rule that matches and transmit on the given device to
the given MAC.

I've done such "wired" loopback test before as well, works as expected.

But keep in mind for your test that the worst-case result is slightly
better then a real transmission from A to B. Because B is now A, so the
code of A's network stack may still be present in the cache when the
packet is delivered, giving an advantage over B which may first need to
reload it.

Jan




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to