Skip to content

Commit

Permalink
gateway: announce IPv4 default route into babel
Browse files Browse the repository at this point in the history
  • Loading branch information
spolack committed Dec 2, 2024
1 parent c812623 commit 9d1e017
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions roles/cfg_openwrt/templates/gateway/bird.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ protocol kernel kernel_v6_main {
protocol kernel kernel_v4_main {
ipv4 {
table v4_main;
import none;
import where net = 0.0.0.0/0; # Import Default Gateway from kernel
export none;
};
learn all;
}

protocol kernel kernel_v4_babel_ff {
Expand Down Expand Up @@ -97,7 +98,7 @@ protocol babel babel_mesh {
ipv4 {
table v4_main;
import all;
export where source = RTS_BABEL; # For now only advertise routes learned from babel
export where source = RTS_BABEL || net = 0.0.0.0/0; # Readvertise Babel routes and advertise default route
};

# Mesh interfaces
Expand Down

0 comments on commit 9d1e017

Please sign in to comment.