LEBRETON, Julien wrote:
Hello Jan, thank you for your answer..I have inserted rt_loopback module. That's ok. After that, on my windows box, I can ping : 151.157.3.3 (which is my default gateway) 151.157.3.4 152.157.1.1 152.157.1.2 But there is a problem.. In fact, when I ping 152.157.1.2, my board responds but not the destination host.. ping request are never sent to the destination box.. So how can I do for forwarding packets to the destination box?
How did you check that there is no packet leaving rteth2? Does RTnet report something to the kernel console?
Have you got any idea about my problem? My configuration is the following : # rtrouteHost Routing Table Hash Destination HW Address Device 00 0.0.0.0 00:00:00:00:00:00 rtlo 00 151.157.1.128 00:0F:B5:42:73:4A rteth0 =====> input interface 1 01 127.0.0.1 00:00:00:00:00:00 rtlo 01 152.157.1.1 00:00:00:00:00:00 rtlo02 152.157.1.2 00:30:64:02:DC:1A rteth2 ====> output interface
That looks OK (if rteth2 is interface 4 in the figure below).
03 151.157.3.3 00:00:00:00:00:00 rtlo
04 151.157.3.4 00:00:00:00:00:00 rtlo
3F 152.157.255.255 FF:FF:FF:FF:FF:FF rteth2
3F 151.157.255.255 FF:FF:FF:FF:FF:FF rteth1 ======> input interface 2
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
# rtifconfig
rteth0 Medium: Ethernet Hardware address: 00:14:6C:8C:33:FA
IP address: 151.157.3.3 Broadcast address: 151.157.255.255
UP BROADCAST RUNNING MTU: 1500
rteth1 Medium: Ethernet Hardware address: 00:14:6C:8C:36:D0
IP address: 151.157.3.4 Broadcast address: 151.157.255.255
UP BROADCAST RUNNING MTU: 1500
rteth2 Medium: Ethernet Hardware address: 00:E0:0C:00:00:FD
IP address: 152.157.1.1 Broadcast address: 152.157.255.255
UP BROADCAST RUNNING MTU: 1500
rtlo Medium: Local Loopback
IP address: 127.0.0.1
UP LOOPBACK RUNNING MTU: 1500
Here is the diagram of the test :
_ _ _ _ _ _ _ _ _
| | | |
| | =======> 1|MPC 8560 |
Windows box ===> |hub | =======> 2| ADS |4 ======> Destination host
(non-rt) | | |(rtnet) |
|_ _ _ _| |_ _ _ _ _|
Sorry, no idea right now except that you should try to answer my questions above, maybe they will point you to the reason.
Jan
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 [email protected] https://lists.sourceforge.net/lists/listinfo/rtnet-users

