fff-layer3-config: Add routerip option #136

Closed
fbl wants to merge 1 commits from fbl:routerip into master
Owner

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 "routerip" and "routerip6" 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

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 "routerip" and "routerip6" 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>
fbl added this to the next-feature milestone 2021-03-03 19:31:26 +01:00
fbl added the
feature
layer3
labels 2021-03-03 19:31:26 +01:00
Member

Bei IPv4 muss die IP auch an die Peering Interfaces sonst kommt Babel nicht mit klar

Bei IPv4 muss die IP auch an die Peering Interfaces sonst kommt Babel nicht mit klar
Author
Owner

Dieser Pull Request sucht noch Reviewer.

Dieser Pull Request sucht noch Reviewer.
fbl force-pushed routerip from b7e82185c2 to 4549199029 2021-08-05 18:56:00 +02:00 Compare
Author
Owner

Changes:

  • Rebase onto current master
  • Rename option from routerip* to router_ip*
  • Also consider router_ip* for peering interfaces if no peer_ip* is set
  • Fix babeld uci syntax
  • Bump PKG_RELEASE
  • Fix commit message typo
Changes: - Rebase onto current master - Rename option from routerip* to router_ip* - Also consider router_ip* for peering interfaces if no peer_ip* is set - Fix babeld uci syntax - Bump PKG_RELEASE - Fix commit message typo
Member

Reviewed-by: Christian Dresel <freifunk@dresel.systems>

`Reviewed-by: Christian Dresel <freifunk@dresel.systems>`
Owner

Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>

`Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>`
jkimmel added a new dependency 2021-08-11 16:59:33 +02:00
jkimmel removed a dependency 2021-08-11 16:59:40 +02:00
jkimmel added a new dependency 2021-08-11 17:00:49 +02:00
Author
Owner

merged.

merged.
fbl closed this pull request 2021-09-02 18:29:38 +02:00
fbl removed this from the next-feature milestone 2023-02-21 23:58:13 +01:00
fbl added this to the 20211201-beta milestone 2023-02-21 23:58:16 +01:00

Pull request closed

Sign in to join this conversation.
No description provided.