LEBRETON, Julien wrote:
> Here is my output of rtroute on my board : 
> 
> # rtroute
> Host Routing Table
> Hash    Destination     HW Address              Device
> 00      151.157.1.128   00:0F:B5:42:73:4A       rteth1
> 02      152.157.1.2     00:01:02:03:04:05       rteth0
> 3F      151.157.255.255 FF:FF:FF:FF:FF:FF       rteth1
> 3F      152.157.255.255 FF:FF:FF:FF:FF:FF       rteth0

You are lacking loopback routes (because rtlo is not configured), and
thus the local "forwarding" from 152.157.3.3 to 152.157.1.1 fails. But
this appears to me like an artificial test case, likely not relevant for
the real application.

> 
> Network Routing Table
> Hash    Destination     Mask                    Gateway
> *       151.157.0.0     255.255.0.0             151.157.1.128
> *       152.157.0.0     255.255.0.0             152.157.1.2
> 
> 
> On my windows box, I have this configuration : 
> 
> ==> ipconfig
> Ethernet carte Connexion au réseau local :
> 
>         Suffixe DNS spéc. à la connexion. :
>         Adresse IP. . . . . . . . . . . . : 151.157.1.12
>         Masque de sous-réseau . . . . . . : 255.255.0.0
>         Passerelle par défaut . . . . . . : 151.157.3.3
> 
> ==>arp -a
> 
> Interface : 151.157.1.128 on Interface 0x1000004
>   Adresse Internet      Adresse physique      Type
>   151.157.3.3           00-14-6c-8c-36-d0     statique
>   151.157.3.4           00-e0-0c-00-00-fd     statique   =====> not use at 
> this time
>   152.157.1.1           00-14-6c-8c-33-fa     statique
>   152.157.1.2           00-01-02-03-04-05     statique

And here lies the second issue: You won't be able to ping 152.157.1.2
because its target MAC is obviously misconfigured if the RTnet host
shall act as a router between both network segments.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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

Reply via email to