Commit 9a5191b6 authored by Joanne Hugé's avatar Joanne Hugé

working IMS and MME config (see following lines, doesn't work out of the

box)

TODO, right now all this is needed:

- add ipv4 address on second tun
- run netcapdo with root
- launch IMS in root

SIM cards config needs to be modified:

- set correct impu and impi (001010000001312, 001010000001312@ims.mnc001.mcc001.3gppnetwork.org)
parent 58194470
...@@ -136,7 +136,7 @@ md5sum = 9dbd93036c15c87c6de74b88b34062b6 ...@@ -136,7 +136,7 @@ md5sum = 9dbd93036c15c87c6de74b88b34062b6
[mme.jinja2.cfg] [mme.jinja2.cfg]
filename = config/mme.jinja2.cfg filename = config/mme.jinja2.cfg
md5sum = 8d47179f1b739d20b8b0886cb350223c md5sum = cef33b6a8daa032738b6f1f1759c9164
[dnsmasq-core-network.jinja2.cfg] [dnsmasq-core-network.jinja2.cfg]
filename = config/dnsmasq-core-network.jinja2.cfg filename = config/dnsmasq-core-network.jinja2.cfg
...@@ -148,7 +148,7 @@ md5sum = 95f4f8fb85e0480eb3e9059b9db26540 ...@@ -148,7 +148,7 @@ md5sum = 95f4f8fb85e0480eb3e9059b9db26540
[ims.jinja2.cfg] [ims.jinja2.cfg]
filename = config/ims.jinja2.cfg filename = config/ims.jinja2.cfg
md5sum = 32fa740571358898793df77489d31355 md5sum = c60d9849e9f13b7932b8bb31161341ae
[ue.jinja2.cfg] [ue.jinja2.cfg]
filename = config/ue.jinja2.cfg filename = config/ue.jinja2.cfg
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
sip_addr: [ sip_addr: [
{addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 1) }}", bind_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 1) }}", port_min: 10000, port_max: 20000}, {addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 1) }}", bind_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 1) }}", port_min: 10000, port_max: 20000},
{#" slap_configuration['tun-ipv6-addr'] ",#} "{{ netaddr.IPAddress((tun_ipv6_start + tun_ipv6_end) // 2) }}",
], ],
mms_server_bind_addr: "{{ netaddr.IPAddress(tun_ipv4_start) }}:1111", mms_server_bind_addr: "{{ netaddr.IPAddress(tun_ipv4_start) }}:1111",
......
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
access_point_name: ["default", "internet", "sos"], access_point_name: ["default", "internet", "sos"],
{% if slap_configuration.get('tun-name', '') %} {% if slap_configuration.get('tun-name', '') %}
first_ip_addr: "{{ netaddr.IPAddress(tun_ipv4_start + 1) }}", first_ip_addr: "{{ netaddr.IPAddress(tun_ipv4_start + 1) }}",
last_ip_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 - 1) }}", last_ip_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 - 2) }}",
{% endif %} {% endif %}
erabs: [ erabs: [
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
first_ip_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 2) }}", first_ip_addr: "{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2 + 2) }}",
last_ip_addr: "{{ netaddr.IPAddress(tun_ipv4_end - 1) }}", last_ip_addr: "{{ netaddr.IPAddress(tun_ipv4_end - 1) }}",
{% endif %} {% endif %}
p_cscf_addr: ["{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2) + 1 }}"], p_cscf_addr: ["{{ netaddr.IPAddress((tun_ipv4_start + tun_ipv4_end) // 2) + 1 }}", "{{ netaddr.IPAddress((tun_ipv6_start + tun_ipv6_end) // 2) }}"],
erabs: [ erabs: [
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment