pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/upf-benchmark/+/39473?usp=email )
Change subject: gtplab-sysmo2025/tunmap: Small fixes in configure scripts ......................................................................
gtplab-sysmo2025/tunmap: Small fixes in configure scripts
Fixes from copy-paste from older gtpal-sysmo2017/tunmap setup, which doesn't appply to new TREx setuo anymore. Those CPF IP addresses are actually not used.
Change-Id: I8b8ce66c8642ebaa59bdf9e238cdba7e40071726 --- M testsuites/gtplab-sysmo2025/tunmap/cpf/configure.sh M testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh 2 files changed, 5 insertions(+), 14 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/73/39473/1
diff --git a/testsuites/gtplab-sysmo2025/tunmap/cpf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/cpf/configure.sh index 7f3c8af..2b24a65 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/cpf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/cpf/configure.sh @@ -1,10 +1 @@ #!/bin/bash -xe - -# Interface towards UPF: -IFACE_UPF="enp2s0f0np0" -NUM_ENB=50 - -# Set up IP addresses: -for i in $(seq "0" "$((NUM_ENB - 1))"); do - sudo ip addr add "$(printf "172.16.31.1%02u/24" $i)" dev $IFACE_UPF || true; -done diff --git a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh b/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh index 58792fe..825e59f 100755 --- a/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh +++ b/testsuites/gtplab-sysmo2025/tunmap/upf/configure.sh @@ -1,8 +1,8 @@ #!/bin/bash -xe
# Interface towards UPF: -IFACE_RAN="enp2s0f0np0" -IFACE_CN="enp2s0f1np1" +IFACE_RAN="enp2s0f1np1" +IFACE_CN="enp2s0f0np0"
# Disable ethernet flow control: sudo ethtool -A $IFACE_RAN autoneg off rx off tx off @@ -25,8 +25,8 @@ sudo sysctl -w net.core.netdev_budget=600
# Set up UPF address: -sudo ip addr add 172.16.31.2/24 dev $IFACE_RAN || true; -sudo ip addr add 172.16.32.1/24 dev $IFACE_CN || true; +sudo ip addr add 172.16.32.1/24 dev $IFACE_RAN || true; +sudo ip addr add 172.16.31.2/24 dev $IFACE_CN || true;
# TRex doesn't answer ARPs, so we need to set up the CN-side peer: -sudo ip neigh add 172.16.31.200 lladdr ec:0d:9a:8a:27:53 nud permanent dev $IFACE_RAN || true; +sudo ip neigh add 172.16.31.200 lladdr ec:0d:9a:8a:27:53 nud permanent dev $IFACE_CN || true;