[hipl-users] Re: HIP mobility testings : Bug report

  • From: Simon Schuetz <simon.schuetz@xxxxxxxxxxxxx>
  • To: HIPL Users <hipl-users@xxxxxxxxxxxxx>
  • Date: 10 Mar 2004 12:37:23 +0100

Hi,
till yesterday I used statically defined IPs and routes. That why I had
to use the workaround below.
To avoid the workaround and just use ifconfig up/down, I switched to an
"dynamic" approach.
R is now running radvd for router advertising (IPv6 autconfiguration).
S and C therefore dynamically change there IPs and routes when the
interfaces come up (although in reality each interface always gets the
same IP as before, cause the advertised prefix does not change).
If I shut down both interfaces on C, and bring up one of them lateron, C
crashes within a few seconds.
In /var/log/messages there is some binary data, is this some core dump
that could help for debugging?

For the first, I will now use the approach with static IPs.

Simon



On Mon, 2004-03-08 at 19:57, Simon Schuetz wrote:
> Got a workaround for the problem:
> The intention was to prevent any possible data delivery using the link
> local addresses, that's why I shut down the interfaces instead of just
> removing the IPs.
> What I now did is the following:
> - delete all routes using 2nd interface
> - delete the IP on 2nd interface
> - do a hipsetup and send data
> - then I deleted all routing table entries that use the first interface
> - then I delete the IP on first interface
> - then I setup the routes, that will be used if 2nd interface becomes
> available (this was not possible in the previous scenario, cause you
> can't setup routing table entries for an interface which down)
> - afterwards I added the new IP to the 2nd interface
> - HIP REA packets were transmitted immediately
> - data can flow
> 
> It's a workaround. But I don't think that - in reality - the routes are
> setup before the IP is available.
> 
> -----
> Simon
> 
> 
> 
> 
> On Mon, 2004-03-08 at 19:00, Simon Schuetz wrote:
> > Hi,
> > has anybody tested HIP Mobility in a different way than proposed in the
> > HOWTO?
> > I'm experiencing problems using the following setup:
> > 3 machines: Server (S), Router (R), and a Client (C).
> > S and R are connected via one ethernet cable, using static IP6
> > addresses.
> > C and R are connected via two ethernet cables, IP6 addresses are
> > configured such that each connection is a different network.
> > 
> > 1st scenario:
> > - shutting down one of C's interfaces
> > - completing a hipsetup
> > - connecting C with S via HITs
> > - send data
> > - shutting down C's active interface
> > - starting the other interface
> > - send data
> > 
> > 2nd scenario:
> > - shutting down one of C's interfaces
> > - completing a hipsetup
> > - connecting C with S via HITs
> > - send data
> > - unplug ethernet cable
> > - delete current IP
> > - add new IP
> > - plugin ethernet cable
> > - send data
> > 
> > Both testings did not work. The fact is, that no HIP REA packets arrive
> > at the server side. Either they are not sent when bringing up the
> > interfaces or they are sent before they can be routed to the correct
> > destination. The requests arrive at the server-side, but the server
> > responds to the old IP that is no longer valid.
> > 
> > Suggestions and ideas are welcome.
> > 
> > Thanks
> > Simon
> > 
> > 
> > 
> > 
> > 
> 
> 
> 


Other related posts: