Fabian Bläse
e07f6121cc
For some purposes (e.g. SNAT, vxlan) it might be necessary to have an additional address just for the router which is not attached to any interfaces. Addresses like this are typically added to the loopback interface. The new options "router_ip" and "router_ip6" are added to the gateway config to allow the user to configure such addresses. It is possible to both specify the address with or without a subnet size. The default configuration contains the IPv4 loopback address (127.0.0.1/8) explicitly, but this is not necessary. These addresses are configured automatically, even if they are not present in the configuration, so they can safely be removed, if present. The filters of our routing daemon babeld are adjusted accordingly, so the newly added addresses are announced correctly. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Christian Dresel <freifunk@dresel.systems> Reviewed-by: Johannes Kimmel <fff@bareminimum.eu> |
||
---|---|---|
.. | ||
files | ||
Makefile |