LEBRETON, Julien wrote: > Hello Jan, > > I have a question about one application of RTnet routing. > I have a windows box which is connected to a hub. > I have a MPC8560 board with 4 NIC's. 3 interfaces are connected to the hub > and the fourth interface is connected to another host which has a network > analyser program. > > My goal is to route packets between my windows box to the analyser towards my > board. > > I have installed kernel 2.6.18 with xenomai 2.3.4 and RTnet 0.9.8. > > I have configured RTnet with --enable-routing and --enable-net-router > options. > My board configuration board is the following : > > insmod rt_8169.ko > insmod rt_gianfar.ko > rtifconfig rteth0 up 152.157.1.1 netmask 255.255.0.0 > rtifconfig rteth1 up 151.157.3.3 netmask 255.255.0.0 > rtroute add 151.157.1.128 00:0F:B4:44:72:4A dev rteth1 > rtroute add 152.157.1.2 00:01:02:03:04:05 dev rteth0 > rtroute add 151.157.0.0 netmask 255.255.0.0 gw 151.157.1.128 > rtroute add 152.157.0.0 netmask 255.255.0.0 gw 152.157.1.2 > > On windows box, I run some ping : > ping 151.157.3.3 ==> ok > ping 152.157.1.1 ==> Doesn't work (time wait delay exceeds) > ping 152.157.1.2 ==> Doesn't work (time wait delay exceeds) > > So RTnet is not routing my ping packets. > I'm new in RTnet so perhaps RTnet doesn't work with normal ping.
I does. > > Is there any solution to route packet from a network LAN to another network > LAN using RTnet ? > > I have red README.routing. And I understand that when a packet arrives on an > interface, RTnet looks at Host table (ARP table) if destination IP is in the > table. And send the data using gw IP.. But in my case..That does not work.. > Can anyone help me please? You could help us helping you by posting the output of rtroute, ie. the active routing tables after triggering those pings. And what IP & MAC does Windows use when pinging the targets? Additionally, you could try to analyze the incoming/outgoing packets using Wireshark, on the RTnet host (->README.rtcap) or on the network (attach an additional, passive sniffing box to that hub). 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 RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users