You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Ntk_restricted_ip_classes 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. == NTK_RFC 0008 ==
  2. Subject: Private IP classes in restricted mode
  3. ----
  4. This text describes a change to the Npv7.
  5. It will be included in the final documentation, so feel free to correct it.
  6. But if you want to change the system here described, please contact us first.
  7. ----
  8. The user can decide to use, in restricted mode, a different private IP
  9. class from the default one ( 10.x.x.x ). This is useful if the 10.x.x.x class
  10. cannot be used, for example in Russia, it is very popular to provide Internet
  11. access through big LANs which use the 10.x.x.x class.
  12. The other available classes are:
  13. {{{
  14. 172.16.0.0 - 172.31.255.255 = 16*2^16 = 1048576 IPs
  15. 192.168.0.0 - 192.168.255.255 = 2^16 = 65536 IPs
  16. }}}
  17. The 192.168.x.x class cannot be used as an alternate restricted mode IP class
  18. because it is the default Netsukuku private class, thus the only alternative
  19. to 10.x.x.x is the "172.16.0.0 - 172.31.255.255" IP class.
  20. However it is adviced to always use the default class.
  21. == Netsukuku private classes ==
  22. It necessary to provide at least one private IP class inside Netsukuku to
  23. allow the creation of private LANs which are connected to Netsukuku with just
  24. one node.
  25. The default Netsukuku private class is 192.168.x.x.
  26. The random IPs choosen by the nodes will be never one of that class.
  27. The default private class is valid both in normal and restricted mode.
  28. Only in normal mode the "172.16.0.0 - 172.31.255.255" class becomes private.
  29. This class is assigned to very large private networks.
  30. The 10.x.x.x class IS NOT private since it is too big and it would be just a
  31. waste of IP addresses to use it as a private class.
  32. Note also that for each Netsukuku node you can have a private network,
  33. therefore with just 16 Netsukuku nodes you can form a private network of
  34. 16777216 nodes, which is equivalent to a 10.x.x.x class.
  35. == Notes on the restricted mode ==
  36. A node which runs in restricted mode cannot be compatible with normal mode
  37. nodes, for this reason a restricted node will drop any packets coming from a
  38. normal node.
  39. While in restricted mode the "172.16.0.0 - 172.31.255.255" class IS NOT
  40. private.
  41. In restricted mode, when two different networks which use different
  42. private classes (say 10.x.x.x and 192.168.x.x) are linked, nothing happens and
  43. they will not rehook, this is necessary because it's assumed that the specified
  44. private class is the only choice the user can utilize.
  45. This leds to some problems, consider this scenario:
  46. {{{
  47. 10.0.0.0 <-> 172.16.0.0
  48. }}}
  49. In this case the rehook isn't launched, so it is possible that there will be a
  50. lot of collision.