add docs to create static route
Signed-off-by: Marek Küthe <m.k@mk16.de>
This commit is contained in:
parent
a22e2b6350
commit
902bc69ae6
|
@ -106,3 +106,16 @@ The filter `redistribute local` filters routes which are imported by the kernel
|
|||
The `install` filter filters routes that are installed into the kernel.
|
||||
|
||||
By default, all filters are set to `allow`. So all routes are accepted.
|
||||
|
||||
### Setting up the static routes
|
||||
|
||||
In order for babeld to know and propagate your own prefix, it must be statically defined. In bird you can do this with the `protocol static`. babeld takes its routing information from the kernel routing table. Therefore there must be a static route to its own prefix in the kernel routing table.
|
||||
This can be created with the following command:
|
||||
```
|
||||
ip route add unreachable <OWNNET> proto static
|
||||
```
|
||||
This route does not survive a reboot (volatile).
|
||||
You can delete it with the following command:
|
||||
```
|
||||
ip route del <OWNNET>
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue