[hipl-users] Re: Question about routers' /etc/hosts and addresses

  • From: Mika Kousa <mkousa@xxxxxxxxx>
  • To: hipl-users@xxxxxxxxxxxxx
  • Date: Mon, 12 Sep 2005 18:16:17 +0300 (EEST)

On Mon, 12 Sep 2005, Väisänen Teemu wrote:

-> About routers:
-> Have I understood right: If for example oops moves for different
-> network and it gets new IP-address, I don't need every oops'
-> ip-address in routers /etc/hosts -file and only first one is needed?

Correct. In order to initiate a HIP connection, you need just one IP 
address for the kernel to send the packets.

-> Like when for example oops' IP-address is in startup 3ffe::4 and
-> crashs 2ffe::1, router who is between oops and crash needs in
-> /etc/hosts -file:
-> 127.0.0.1  localhost.localdomain   localhost
-> 2ffe::1      oops.something.fi      oops
-> 3ffe::4      crash.something.fi     crash

I think routers do not even need any addresses in its hosts file, because 
the purpose of a router is just to forward packets based on the 
destination IP address without knowing the actual contents or information 
on the connection.

This is similar to the current situation where you do not need to care 
about intermediate routers when browsing the net.

-> And also in oops' and/or hosts /etc/hosts -file only first (other
-> HIP-machines) IP-address needed?

Yes. When a host moves it informs all the other peer hosts about the new 
address(es). When a peer host has verified the new address(es), the peer 
adds the address(es) into its run-time allocated (in-memory) address 
table. Then the new addresses can be used when the kernel decides that 
some other address could be better than the current one.

-> Am I talking nonsense?

Nope. These things seem to be sometimes tricky at start.


-- 
 Computer Science is merely the post-Turing
 decline in formal systems theory.

Other related posts: