mirror of https://codeberg.org/CRXN/docs.git
Updated navigation with new network configuration page
This commit is contained in:
parent
f5f2e55d85
commit
6eccb209ef
|
@ -0,0 +1,36 @@
|
||||||
|
Network configuration
|
||||||
|
=====================
|
||||||
|
|
||||||
|
Before we start configuring tunnels and routing we first need to make sure the network of the machine you wish to configure as a CRXN router is configured correctly.
|
||||||
|
|
||||||
|
## Assigning addresses and a subnet
|
||||||
|
|
||||||
|
TODO: Add subnet assignment
|
||||||
|
|
||||||
|
## Enabling forwarding
|
||||||
|
|
||||||
|
We will be setting up the machine that runs bird as a router so therefore
|
||||||
|
we need to make your Linux kernel's network stack not drop IPv6 packets
|
||||||
|
that it receives (addressed to it via Ethernet) but are not addressed to
|
||||||
|
it via IPv6 address - in other words it must try do something with these packets,
|
||||||
|
namely attempt to forward them one hop closer to their initial destination.
|
||||||
|
|
||||||
|
Enabling forwarding on all interfaces can be achieved as follows (you will need
|
||||||
|
to be root):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
echo 1 > /proc/sys/net/ipv6/conf/all/forwarding
|
||||||
|
```
|
||||||
|
|
||||||
|
However, after reboot it won't be saved and will go back to its defaults. Therefore
|
||||||
|
what you need to do is to enable forwarding on boot-up, this can be done by
|
||||||
|
adding an additional line to your `/etc/sysctl.conf` (which holds a bunch of
|
||||||
|
these statements), it should look like this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
net.ipv6.conf.all.forwarding=1
|
||||||
|
```
|
||||||
|
|
||||||
|
TODO: Weird experience with me, only doing `all` made it work
|
||||||
|
|
||||||
|
TODO: Forwarding settings should be placed here
|
|
@ -11,7 +11,6 @@ nav:
|
||||||
- Registering and adding your prefix to EntityDB: registration/entitydb.md
|
- Registering and adding your prefix to EntityDB: registration/entitydb.md
|
||||||
- Network configuration: network/setup.md
|
- Network configuration: network/setup.md
|
||||||
- Routing:
|
- Routing:
|
||||||
- IPV6 Forwarding: routing/bird/forwarding.md
|
|
||||||
- Setting up Bird: routing/bird/bird.md
|
- Setting up Bird: routing/bird/bird.md
|
||||||
- Bird configuration:
|
- Bird configuration:
|
||||||
- Tunneling:
|
- Tunneling:
|
||||||
|
|
Loading…
Reference in New Issue