On Mon, 8 Mar 2004, Simon Schuetz wrote: > On Mon, 2004-03-08 at 16:55, Miika Komu wrote: > > On Mon, 8 Mar 2004, Simon Schuetz wrote: > > > > > Hi, > > > when I start an application (e.g. iperf) after executing "modprobe > > > hipmod" and "hipconf ...", only a base exchange is executed: > > > I1->R1->I2->R2. > > > After that 4 or 5 ESP packets are delivered, but nothing else. A > > > connection will only be established on the second connection attempt > > > (e.g. by restarting iperf). > > > Is this normal behaviour? > > > > Give me the options you gave to iperf on both ends and I will try it out > > too. And the version number of the HIPL software bundle. > > Server: > $ iperf -V -s > > Client > $ iperf -V -c <servername> > > <servername> is mapped to a hit in /etc/hip/hosts. > > I used hip patch 60. Sorry for the late response. I just haven't had the time to try this out earlier. I think you forgot to add the HIT-to-IPv6 address mapping on the client host. It has to be done manually because iperf is not linked to the HIP enabled resolver library (libinet6). And for that reason, you cannot use FQDN names either; use the HIT of the server directly in the client iperf. Below there is an example run using iperf. I ran it on virtual machines, so the performance is quite poor. *** EXAMPLE BEGIN *** oops:/home/mkomu/projects/hipl--main--1.0/linux# rmmod hipmod oops:/home/mkomu/projects/hipl--main--1.0/linux# modprobe hipmod oops:/home/mkomu/projects/hipl--main--1.0/linux# ../tools/hipconf add hi default oops:/home/mkomu/projects/hipl--main--1.0/linux# iperf -V -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ------------------------------------------------------------ [ 6] local 6e9b:be7:4441:2d15:697:86c5:6fb5:357 port 5001 connected with 4e09:74f:64d9:8ecd:673e:85f9:d474:6511 port 1034 [ ID] Interval Transfer Bandwidth [ 6] 0.0- 9.1 sec 2.30 MBytes 2.13 Mbits/sec crash:/home/mkomu/projects/hipl--main--1.0/test# rmmod hipmod crash:/home/mkomu/projects/hipl--main--1.0/test# modprobe hipmod crash:/home/mkomu/projects/hipl--main--1.0/test# ../tools/hipconf add hi default crash:/home/mkomu/projects/hipl--main--1.0/test# ../tools/hipconf add map 6e9b:0be7:4441:2d15:0697:86c5:6fb5:0357 3ffe::4 crash:/home/mkomu/projects/hipl--main--1.0/test# iperf -V -c 6e9b:0be7:4441:2d15:0697:86c5:6fb5:0357 ------------------------------------------------------------ Client connecting to 6e9b:0be7:4441:2d15:0697:86c5:6fb5:0357, TCP port 5001 TCP window size: 16.0 KByte (default) ------------------------------------------------------------ [ 5] local 4e09:74f:64d9:8ecd:673e:85f9:d474:6511 port 1034 connected with 6e9b:be7:4441:2d15:697:86c5:6fb5:357 port 5001 [ ID] Interval Transfer Bandwidth [ 5] 0.0-10.0 sec 2.30 MBytes 1.93 Mbits/sec *** EXAMPLE END *** -- Miika Komu miika@xxxxxx http://www.iki.fi/miika/