Skip to content

Commit

Permalink
Merge pull request #4318 from sskaje/T7089
Browse files Browse the repository at this point in the history
T7089: Fix static route when using PPPoE default route
  • Loading branch information
dmbaturin authored Jan 28, 2025
2 parents 6422c89 + 1b831d4 commit d0760a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/templates/frr/staticd.frr.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ vrf {{ vrf }}
{% if pppoe is vyos_defined %}
{% for interface, interface_config in pppoe.items() if interface_config.no_default_route is not vyos_defined %}
{{ ip_prefix }} route 0.0.0.0/0 {{ interface }} tag 210 {{ interface_config.default_route_distance if interface_config.default_route_distance is vyos_defined }}
{%- endfor %}
{% endfor %}
{% endif %}
{# IPv6 routing #}
{% if route6 is vyos_defined %}
{% for prefix, prefix_config in route6.items() %}
{{ static_routes(ipv6_prefix, prefix, prefix_config) }}
{# j2lint: disable=jinja-statements-delimeter #}
{%- endfor %}
{% endfor %}
{% endif %}
{% if vrf is vyos_defined %}
exit-vrf
Expand Down

0 comments on commit d0760a5

Please sign in to comment.