On Saturday 15 November 2008 10:49:07 Jan Kiszka wrote: > Markos Chandras wrote: > > Good morning, > > > > I am having one PC with 4 NIC ( 8139 ) chipset. Since I dont have a > > second computer , is it possible to configure this node to be master and > > slave at the same time. One NIC for the Server purposes and another NIC > > for slave? Is there a "possible" rtnet.conf configuration ? > > Unless I'm forgetting some pitfall right now: Yes, this should work in > theory. You will have to write a custom startup script for one of the > two "nodes" (I would suggest focusing on the slave as it is easier). You > can derive it from the existing script, basically skipping the common > initialization phase of the RTnet stack. > > But keep in mind that running both nodes on the same host will make them > influence each other (/wrt IRQ and scheduling latencies and jitters). If > you don't care about this and just want to play with the functionality > RTnet provides, you could also fire up a whole virtual network within > KVM. Several NICs that RTnet supports are also emulated by KVM, and you > can interconnect multiple KVM instances via bridged tap devices. Works > nicely, already did this for basic tests (and it's far more comfortable > than running around, booting all the nodes manually :) ). QEMU works as > well, but is *much* slower. > > Jan Ah thats what I though. Boot the master "node" with ./rtnet start and then manually configure the second if to be in slave mode . Works fine here. Latencies and other I/O stuff doesnt concern me right now . It might be a problem later so I ll try KVM as you suggested. Many thanks :) -- Markos Chandras
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users