firmware/src/packages/fff/fff-layer3-config/files/etc/layer3.d
Fabian Bläse e07f6121cc fff-layer3-config: add router_ip option
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>
2021-09-02 17:05:32 +02:00
..
01-version packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00
10-meta packages/fff: move config scripts to fff-layer3-config 2020-12-17 15:38:20 +01:00
20-vlan fff-network: add support for DSA switch configuration 2021-08-05 17:49:39 +02:00
30-network-client fff-network: add support for DSA switch configuration 2021-08-05 17:49:39 +02:00
30-network-routerip fff-layer3-config: add router_ip option 2021-09-02 17:05:32 +02:00
30-network-wan fff-layer3-config: Add script to set wan vlan/interface 2021-02-09 22:46:58 +01:00