# Alanet, The **Ala**mode **Net**work

[[_TOC_]]

Alanet is a network that alamodians can connect to, host services on and experiment with.

## Properties

- _Address Space_: Alanet uses the address space `0200::/8` which was deprecated by [RFC4048](https://www.rfc-editor.org/rfc/rfc4048.html)
  in December, 2004. It's still reserved by IETF, but I'm not super worried about that.
  - All IPv6 addresses in Alanet start with the bytes `[0x00, 0x02]`.
- _ASN Range_: In true ohea spirit, the ASN range is `42069XXXXX`. ASNs are numbers that identitify entities in Alanet 
  and control allocated IPv6 _prefixes_. For example, `ASN4206900055` could control the prefix `23f::/16` and only 
  they are allowed to advertise that prefix.

## ASN Policy

You can choose any ASN decimal number as long as its prefix is `42069XXXXX`.

The first 10 ASNs are reserved: `4206900000 - 426900010`

> A valid ASN could be `4206900055`.

## IPv6 Address Allocation Policy

All new members can choose any unallocated `200::/16`. After half of that address space has been allocated, then we will
revisit this policy and most likely start allocating `/24` or `/32` prefixes. The maximum allocation is a `/8` and the 
minimum allocation is a `/32`.

- `200::/16` is reserved for special projects.
- `2ff::/16` is reserved for future multicast work.

> Choose any two hex digits X and Y and your assignment will be `2XY::/16`.

# OHEANA

OHEANA is the `OHEA Number Authority`. OHEANA keeps track of ASNs and IP addresses, and in the future, domain names and 
special Alanet protocols.

You will need to register with OHEANA your chosen ASN and prefix before joining and peering on the network.

> Pronunciation is up to the reader.

# Conclusion

OHEANA has setup a git repo registry here: [https://git.ohea.xyz/OHEANA/registry](https://git.ohea.xyz/OHEANA/registry)

Go and allocate your ASN and prefix! First come, first served!