ttcn3-ggsn-test: Use IPv6 address of the tester as "DNS1"

We cannot rely on every test slave always having proper IPv6
conenctivity to a public DNS server, and that DNS server to respond
to ICMPv6 echo request.  We're testing half of the internet instead
of our GGSN.  Let's use the IPv6 address of the docker container
running the test sute, which is guaranteed to always exist.  We have
no problems with routing, as the ICMPv6 is hand-crafted and encapsulated
into GTP before it's sent to the kernel IP stack - so basically on the
transmit side, the kernel doesn't know anything about the destination
address of the encapsulated IPv6 packet.

Closes: OS#4713
Change-Id: I1377ffa2cc6980168297d5ff5c81fa5dad94d7a9
changes/72/19672/2
Harald Welte 2 years ago committed by Harald Welte
parent 5edd774edc
commit cc1620eac8
  1. 1
      ttcn3-ggsn-test/GGSN_Tests.cfg
  2. 4
      ttcn3-ggsn-test/osmo-ggsn.cfg

@ -17,6 +17,7 @@ GGSN_Tests.m_ggsn_ip_gtpc := "172.18.3.201"
GGSN_Tests.m_ggsn_ip_gtpu := "172.18.3.201"
# GGSN announced DNS address
GGSN_Tests.m_ggsn_ip4_dns1 := "172.18.3.201"
GGSN_Tests.m_ggsn_ip6_dns1 := "fd02:db8:3::201"
[EXECUTE]
GGSN_Tests.control

@ -58,7 +58,7 @@ ggsn ggsn0
tun-device tun6
type-support v6
ipv6 prefix dynamic 2001:780:44:2000:0:0:0:0/56
ipv6 dns 0 2001:4860:4860::8888
ipv6 dns 0 fd02:db8:3::201
ipv6 dns 1 2001:4860:4860::8844
ipv6 ifconfig 2001:780:44:2000:0:0:0:0/56
no shutdown
@ -71,7 +71,7 @@ ggsn ggsn0
ip dns 1 8.8.8.8
ip ifconfig 176.16.46.0/24
ipv6 prefix dynamic 2001:780:44:2100:0:0:0:0/56
ipv6 dns 0 2001:4860:4860::8888
ipv6 dns 0 fd02:db8:3::201
ipv6 dns 1 2001:4860:4860::8844
ipv6 ifconfig 2001:780:44:2100:0:0:0:0/56
no shutdown

Loading…
Cancel
Save