[hipl-users] Re: Something is broken - Re: Re: Server HIp state loss recovery

  • From: Robert Moskowitz <rgm@xxxxxxxxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Wed, 3 Sep 2008 12:08:35 -0400

Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

you were using RVS and IPv6 for the conntest-client test? I get some trouble with that particular configuration too.

No RVS. Direct connection. Both systems having RA assigned global IPv6 addresses on the same subnet.


Nope...

Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

Miika Komu wrote:
Robert Moskowitz wrote:

Hi,

sorry it is actually "hipconf add hi default" currently.

And that did not work. Something is broken as even with this, I get the src address of the packet being the HIT rather than the IPv6 address of the client.

please type in exactly the following and report again. First, check your code version:

mkomu@halko:~/projects/hipl--userspace--2.6$ baz logs|tail -1
patch-1680

If you are using an older version, please "tla replay", recompile and reinstall.

On both systems I have done the replay, ./autogen.sh, make install (and on the client make rpm to build a new set of rpms).


Second, please start hipd and check the default HIT:

mkomu@halko:~/projects/hipl--userspace--2.6$ sudo hipd/hipd

mkomu@halko:~/projects/hipl--userspace--2.6$ ifconfig dummy0
dummy0 Link encap:Ethernet HWaddr b2:48:84:75:22:a3
inet6 addr: 2001:1c:9d:1d34:7d57:bd54:1d10:a393/28 Scope:Global

Different default HIT now. So I had to change me /etc/hip/hosts on the client.

but I try the conntest and am watching the client connect with the HIT, not the iPv6 address. So all I see are the I1 and I2 (I2 going off to LaLaland).

inet6 addr: fe80::b048:84ff:fe75:22a3/64 Scope:Link
UP BROADCAST RUNNING NOARP MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:210 (210.0 B)

Third, you can try that adding multiple HITs is working:

mkomu@halko:~/projects/hipl--userspace--2.6$ sudo tools/hipconf add hi default
[sudo] password for mkomu:
Using hostname: halko
No key file given, using default.
Using dsa (anon hi) filenamebase: /etc/hip/hip_host_dsa_key_anon
Using dsa (pub hi) filenamebase: /etc/hip/hip_host_dsa_key_pub
hit: 2001:001f:4c25:3ef2:ffdd:752c:f640:9b2c
hi is private dsa
DSA HIT: 2001:001f:4c25:3ef2:ffdd:752c:f640:9b2c
hit: 2001:0013:1163:8be6:6905:147a:12b2:4a79
hi is private dsa
DSA HIT: 2001:0013:1163:8be6:6905:147a:12b2:4a79
Waiting to receive daemon info.
Using hostname: halko
No key file given, using default.
Using RSA (anon HI) filenamebase: /etc/hip/hip_host_rsa_key_anon.
rsa_to_hip_endpoint called
hit: 2001:0019:6775:2d32:4da6:c2e8:b72e:fb3a
hi is private rsa
RSA HIT: 2001:0019:6775:2d32:4da6:c2e8:b72e:fb3a
Waiting to receive daemon info.
Using hostname: halko
No key file given, using default.
Using RSA (pub HI) filenamebase: /etc/hip/hip_host_rsa_key_pub
rsa_to_hip_endpoint called
hit: 2001:001c:009d:1d34:7d57:bd54:1d10:a393
hi is private rsa
RSA HIT: 2001:001c:009d:1d34:7d57:bd54:1d10:a393
Waiting to receive daemon info.
User message was sent successfully to the HIP daemon.
mkomu@halko:~/projects/hipl--userspace--2.6$ ifconfig dummy0
dummy0 Link encap:Ethernet HWaddr b2:48:84:75:22:a3
inet6 addr: 2001:19:6775:2d32:4da6:c2e8:b72e:fb3a/28 Scope:Global
inet6 addr: 2001:1c:9d:1d34:7d57:bd54:1d10:a393/28 Scope:Global
inet6 addr: fe80::b048:84ff:fe75:22a3/64 Scope:Link
inet6 addr: 2001:13:1163:8be6:6905:147a:12b2:4a79/28 Scope:Global
inet6 addr: 2001:1f:4c25:3ef2:ffdd:752c:f640:9b2c/28 Scope:Global
UP BROADCAST RUNNING NOARP MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:210 (210.0 B)


Other related posts: