Hi Didier, Could you tell me where the packet statistics for the tunnel tool compressor and decompressor are shown (from the print_decomp_stats and print_comp_stats methods)? The statistics aren't displayed when I run rohctunnel... how can the stats_comp and stats_decomp file contents be viewed? I've tried I/O redirection but that hasn't worked..
Thanks and regards, Josephine On 8/13/09, Didier Barvaux <[email protected]> wrote: > Josephine, > >> Just an update: I'm now able to ping machine B (10.0.0.2) from >> machine A (10.0.0.1) even over a switched network. The tunnel tool >> works fine. > > It's great. Thanks for the positive feedback. > > Didier > > >> On Wed, Aug 12, 2009 at 4:32 PM, Josephine Kakande >> <[email protected]>wrote: >> >> > >> > Didier, >> > >> > >> >> > > The route toward network 10.0.0.0/24 is not present. It should >> >> > > be setup when the rohc0 interface will become UP and RUNNING. >> >> > > Please check that the route is present after running the 'ip >> >> > > link set rohc0 up' command. >> >> > > >> >> > >> >> > Thanks, I set up the interface correctly, but still could not >> >> > ping - the output was: >> >> > >> >> > :~# ping 10.0.0.2 >> >> > PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data. >> >> > ping: sendmsg: No buffer space available >> >> > ping: sendmsg: No buffer space available >> >> >> >> Ok, that did not fix the problem. >> >> >> >> >> >> > > There is an additional thing that looks strange to me. The >> >> > > ping from machine A to machine B gets a TTL of 57. The ping >> >> > > from B to A gets a TTL of 63. Beside the fact they are >> >> > > different (is there different paths to go from one machine to >> >> > > the other in your network ?), it shows that you have at least >> >> > > one router between the 2 machines. They could be the root of >> >> > > the problem. Could you please test the tunnel tool with 2 >> >> > > machines on the same Ethernet link to see if it works ? >> >> > > >> >> > >> >> > I still couldn't ping even when they were directly connected: >> >> > >> >> > *Machine A:* >> >> > >> >> > [...] >> >> > >> >> > *Machine B:* >> >> > >> >> > [...] >> >> >> >> Your network setup seems fine now. There is probably a problem with >> >> rohctunnel. Could you setup the tunnel once again and send only one >> >> ICMP Echo Request in it with the following command on machine A : >> >> $ ping -c 1 10.0.0.2 >> >> >> >> It should failed. When the ping command returns, could you please >> >> send me all the traces printed by the 2 rohctunnel commands on >> >> machine A and machine B ? Put the logs as attachments to avoid >> >> line wrapping please. >> > >> > >> > It actually worked! I'm not sure why it was different this time, >> > but the ping was successful: >> > >> > *Machine A* >> > >> > # ip link set rohc0 up >> > # ip -4 addr add 10.0.0.1/24 dev rohc0 >> > # ip -6 addr add 2001:eeee::1/64 dev rohc0 >> > # ping -c 1 10.0.0.2 >> > PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data. >> > 64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=7.84 ms >> > >> > --- 10.0.0.2 ping statistics --- >> > 1 packets transmitted, 1 received, 0% packet loss, time 0ms >> > rtt min/avg/max/mdev = 7.843/7.843/7.843/0.000 ms >> > >> > >> > Please find the logs attached.. >> > >> > Many thanks. >> > >> > Regards, >> > Josephine >> > >> > > > _______________________________________________ > Mailing list: https://launchpad.net/~rohc > Post to : [email protected] > Unsubscribe : https://launchpad.net/~rohc > More help : https://help.launchpad.net/ListHelp > _______________________________________________ Mailing list: https://launchpad.net/~rohc Post to : [email protected] Unsubscribe : https://launchpad.net/~rohc More help : https://help.launchpad.net/ListHelp

