A Diumenge 18 Març 2007 11:07, Jan Kiszka va escriure:
> Leopold Palomo-Avellaneda wrote:
> > A Dimarts 13 Març 2007 14:58, Emanuele Clerici va escriure:
> >> I suppose tha the matter is that in your routing table remote host
> >> record is not present
> >> for example
> >> 01      192.168.3.1     00:00:00:00:00:00       rtlo
> >> 01      127.0.0.1       00:00:00:00:00:00       rtlo
> >> 02      192.168.3.2     00:48:54:6D:73:51       rteth0   (this one is
> >> missing)
> >> 3F      192.168.3.255   FF:FF:FF:FF:FF:FF       rteth0
> >>
> >> you should add it with
> >> rtroute add 192.168.3.2  HWaddr dev rteth0
> >> replacing  HWaddr with the right value of remote net card
> >
> > yes!!!!
> >
> > thank's
> >
> > only adding a route to the other box.
> > rtroute add 192.168.3.2 dd:dd:dd:xX ..... dev rteth0
> >
> > and it wortks.
>
> Further hint: "rtroute solicit" makes it work without passing the MAC
> manually. For more detailed information about RTnet's routing see
>
> http://www.rts.uni-hannover.de/rtnet/lxr/source/Documentation/README.routin
>g
>
> And if you use RTmac/TDMA with RTnet, you don't have to bother about
> manual routing setup at all. Check the documentation (README, wiki,
> etc.) for a first howto.

Ok,

thanks for the answer. I have to addmitt that to me all the documentation is a 
bit confuse for someone that begins in this area. Although there are a lot 
documents, I'm a bit lost.

My configuration is a normal PIII 550 with a rtai + rtnet and two ethernet. 
One to our lab and another to a stäubli controller. Both have a 100Mb card 
and are connected with a cross cable.
 
If I unload the rtnet and I load the normal driver and I do a simple ping of 
200 bytes I obtain this values:

[EMAIL PROTECTED]:~$ ping -s 200 192.168.1.4
PING 192.168.1.4 (192.168.1.4) 200(228) bytes of data.
208 bytes from 192.168.1.4: icmp_seq=1 ttl=64 time=0.567 ms
....
....
208 bytes from 192.168.1.4: icmp_seq=48 ttl=64 time=0.523 ms
....
208 bytes from 192.168.1.4: icmp_seq=88 ttl=64 time=1.07 ms
......
208 bytes from 192.168.1.4: icmp_seq=101 ttl=64 time=0.529 ms
....
208 bytes from 192.168.1.4: icmp_seq=140 ttl=64 time=0.540 ms
.....

--- 192.168.1.4 ping statistics ---
158 packets transmitted, 158 received, 0% packet loss, time 157009ms
rtt min/avg/max/mdev = 0.488/0.598/1.159/0.169 ms

after ifdown, unload the module and loading the rtnet then:

ulises:/usr/local/rtnet# sbin/rtping -s 200 192.168.1.4
Real-time PING 192.168.1.4 200(228) bytes of data.
.....
208 bytes from 192.168.1.4: icmp_seq=9 time=2547.4 us
....
208 bytes from 192.168.1.4: icmp_seq=24 time=3415.0 us
....
208 bytes from 192.168.1.4: icmp_seq=38 time=4722.8 us
.....
208 bytes from 192.168.1.4: icmp_seq=45 time=5356.8 us

--- 192.168.1.4 rtping statistics ---
45 packets transmitted, 45 received, 0% packet loss
worst case rtt = 8016.3 us


could someone explain me this, because I understand that us are micro second 
(10^-6) so, this is worst in rt than in a normal net.

Regards,

Leo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to