diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-12-13 20:04:09 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-12-15 12:08:47 +0100 |
commit | 6641994d8d84d013d0e3acfb9462579df57a4fd2 (patch) | |
tree | 3880f8322b4b3f81a4460b23a2df639220c20e80 /src/osmo_gsm_tester/templates | |
parent | c1b3278af89a02522eb2f474df7fcf80474e2a63 (diff) |
Set osmo-ggsn ipv6 link-local addr and enable ipv6 ctx activate test
osmo-ggsn requires a link-local IPv6 address to be added to the
tun interface, otherwise the apn will not be configured correctly and it
won't be able to allocate addresses from the ipv6 pool later on.
Some OS don't support autoconfiguring link-local IPv6 addresses when the
interface is brought up (some linux versions are known to fail at it).
This is the case for our Prod osmo-gsm-tester setup (running debian8
with kernel 3.16.51).
Make sure we configure correctly the interface by forcing osmo-ggsn to
set on the interface and use a specific IPv6 link-local address. This is
done by using the "ipv6 link-local" vty cmd in osmo-ggsn.
After this modification, we can re-enable ipv6 gprs context creation as
it will work in Prod setup.
Related: OS#2746
Change-Id: Ib291c02a3c57a4189f9c4b1b856109be97ad2a34
Diffstat (limited to 'src/osmo_gsm_tester/templates')
-rw-r--r-- | src/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl index 1ee19d1..1692db6 100644 --- a/src/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl +++ b/src/osmo_gsm_tester/templates/osmo-ggsn.cfg.tmpl @@ -56,6 +56,7 @@ ggsn ggsn0 ipv6 dns 0 2001:4860:4860::8888 ipv6 dns 1 2001:4860:4860::8844 ipv6 ifconfig fde4:8dba:82e1:2000:0:0:0:0/56 + ipv6 link-local fe80::1111:1111:1111:1111/64 no shutdown apn inet46 gtpu-mode tun @@ -69,6 +70,7 @@ ggsn ggsn0 ipv6 dns 0 2001:4860:4860::8888 ipv6 dns 1 2001:4860:4860::8844 ipv6 ifconfig fde4:8dba:82e1:2000:0:0:0:0/56 + ipv6 link-local fe80::1111:1111:1111:1112/64 no shutdown default-apn internet no shutdown ggsn |