Decentralized network 42 A real Clos Network
![dn42.png](https://steemitimages.com/DQmb6NSJD8Kde6tGtCRPztZU7rV6acYRi6mYrhjhLaDeBeL/dn42.png)
Decentralized network 42 (also known as dn42) is a decentralized peer-to-peer network built using VPNs and software / hardware BGP routers.
While other darknets try to establish anonymity for their participants, that is not or that suits for dn42. It is a network to explore the technologies used in the Internet and try to establish direct connections between the members.
The network is not totally mesh. Dn42 hardly uses the physical links between individual networks, but as virtual links.
These virtual links use to the Internet as transport, but are logically independent from dele, you can treat a virtual link more or less as a fiber or copper link. Everyone has a VPN connection for one or more participants. As conexões is linked to a public IP endereço. You can decide to use GRE ou SIT or diactc (Diac24 Tunnel Controller) to update or Address IP public end of connection point in IP changes. OpenVPN is capable of doing this without outside help. Through BGP VPN connection is used for the inter-AS route, by OSPF pad for intra AS routable, more participants can obviously use any protocol that understand for purposes of forwarding within their own address space.
The IPv4 network connection space consists of private sub-networks: 172.22.0.0/15 and the main sub-network. Note that other private data intervals can also be announced in DNS42, as a network and interlinked com Other similar objects .. More notably, ChaosVPN uses 172.31.0.0/16 e parts of 10.0.0.0/8.
For IPv6, both unique to local addresses (ULA) and globally routable addresses areused, as preferred by ULA
To use BGP, in a private environment, you need the autonomous system numbers. dn42 uses private or reserved numbers as faixas numbers, including 64,512-64,855 and 76,100 for 76199. June 2014, dn42 começaram to use a private range nova, 4242420000-4242429999 , part of maior particular range pela RFC 6996 defined
Equipment used no dn42 consists of routers, which are not always a cheap solution. There are basically four implementations for BGP on standard hardware. The most common is in dn42 Quagga, a fork of not maintained GNU Zebra, which runs on most Linux Unices more than * BSD to OpenSolaris. It was also used in dn42 and OpenBGPD that was executed not OpenBSD. There is also XORP "business class" or simplistic BIRD, for which are not very common in dn42. It also has some machines running JUNOS, or Juniper operational system, which is used with professional hardware
Connect hackerspaces
dn42 is also a great way to connect hacker spaces in a secure way, so that they can provide services to each other.
Have you ever wanted to SSH on your Raspberry Pi hosted at your local hacker space and had trouble doing so because of NAT? If your hacker space was using dn42, it could have been much easier.
Nowadays, most end-user networks use NAT to squeeze all those nifty computing devices behind a single public IPv4 address. This makes it difficult to provide services directly from a machine behind the NAT. Besides, you might want to provide some services to other hackerspaces, but not to anybody on the Internet.
dn42 solves this problem. By addressing your network in dn42, your devices can communicate with all other participants in a transparent way, without resorting to this ugly thing called NAT. Of course, this doesn't mean that you have to fully open your network to dn42: similarly to IPv6, you can still use a firewall (but you could, for instance, allow incoming TCP 22 and TCP 80 from dn42 by default).
If your hackerspace is actually using dn42 to provide some services, please let us know! (on this wiki or on the mailing list). It's very rewarding when the network is actually used for something :)
dn42 is a big dynamic VPN, which employs Internet technologies (BGP, whois database, DNS, etc). Participants connect to each other using network tunnels (GRE, OpenVPN, Tinc, IPsec) and exchange routes thanks to the Border Gateway Protocol. Network addresses are assigned in the 172.20.0.0/14 range and private AS numbers are used (see registry) as well as IPv6 addresses from the ULA-Range (fd00::/8) - see FAQ.
A number of services are provided on the network: see internal (only available from within dn42). Also, dn42 is interconnected with other networks, such as ChaosVPN or some Freifunk networks.