epc: open5gs: overwrite 99-open5gs.network

This commit is contained in:
Alexander Couzens 2024-02-19 17:08:39 +01:00
parent 76c96ed6f1
commit 73398e548a
2 changed files with 24 additions and 0 deletions

View File

@ -47,3 +47,8 @@
- name: configure open5gs
include_tasks: configure-open5gs.yml
- name: overwrite open5gs network configuration for upfd
template:
src: "99-open5gs.network"
dest: "/etc/systemd/network/99-open5gs.network"

View File

@ -0,0 +1,19 @@
[Match]
Name=ogstun
# old
#[Network]
#Address=10.45.0.1/16
#Address=2001:db8:cafe::1/48
[Route]
Gateway=0.0.0.0
Destination={{ epc_ue_network }}
# [Route]
# Gateway=::
# Destination=2001:db8:cafe::0/48
[Link]
MTUBytes=1400
RequiredForOnline=false