| 250 | [[CollapsibleStart(Iperf test)]] |
| 251 | * Network name space and tunnels for each UE. |
| 252 | {{{#!shell |
| 253 | root@srv2-lg1:~# ip netns exec ue1 ip addr |
| 254 | 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 |
| 255 | link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 |
| 256 | inet 127.0.0.1/8 scope host lo |
| 257 | valid_lft forever preferred_lft forever |
| 258 | inet6 ::1/128 scope host |
| 259 | valid_lft forever preferred_lft forever |
| 260 | 10: pdn0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500 |
| 261 | link/none |
| 262 | inet 192.168.2.18/24 scope global pdn0 |
| 263 | valid_lft forever preferred_lft forever |
| 264 | root@srv2-lg1:~# ip netns exec ue1 ping 192.168.2.1 |
| 265 | PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data. |
| 266 | 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=104 ms |
| 267 | 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=41.9 ms |
| 268 | 64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=33.9 ms |
| 269 | 64 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=40.6 ms |
| 270 | 64 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=42.9 ms |
| 271 | 64 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=40.9 ms |
| 272 | 64 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=32.9 ms |
| 273 | 64 bytes from 192.168.2.1: icmp_seq=8 ttl=64 time=30.8 ms |
| 274 | 64 bytes from 192.168.2.1: icmp_seq=9 ttl=64 time=28.8 ms |
| 275 | 64 bytes from 192.168.2.1: icmp_seq=10 ttl=64 time=26.8 ms |
| 276 | ^C |
| 277 | --- 192.168.2.1 ping statistics --- |
| 278 | 10 packets transmitted, 10 received, 0% packet loss, time 9015ms |
| 279 | rtt min/avg/max/mdev = 26.891/42.475/104.831/21.496 ms |
| 280 | |
| 281 | }}} |
| 282 | * Iperf server on the UE |
| 283 | {{{#!shell |
| 284 | root@srv2-lg1:~# ip netns exec ue1 iperf3 -s -B 192.168.2.18 |
| 285 | ----------------------------------------------------------- |
| 286 | Server listening on 5201 |
| 287 | ----------------------------------------------------------- |
| 288 | |
| 289 | }}} |
| 290 | * Iperf client on the base station |
| 291 | {{{#!shell |
| 292 | root@srv1-lg1:~# iperf3 -c 192.168.2.18 -b 0 -i 1 |
| 293 | Connecting to host 192.168.2.18, port 5201 |
| 294 | [ 4] local 192.168.2.1 port 50836 connected to 192.168.2.18 port 5201 |
| 295 | [ ID] Interval Transfer Bandwidth Retr Cwnd |
| 296 | [ 4] 0.00-1.00 sec 7.31 MBytes 61.3 Mbits/sec 0 925 KBytes |
| 297 | [ 4] 1.00-2.00 sec 6.09 MBytes 51.1 Mbits/sec 0 1004 KBytes |
| 298 | [ 4] 2.00-3.00 sec 5.78 MBytes 48.5 Mbits/sec 0 916 KBytes |
| 299 | [ 4] 3.00-4.00 sec 6.09 MBytes 51.1 Mbits/sec 0 829 KBytes |
| 300 | [ 4] 4.00-5.00 sec 5.78 MBytes 48.5 Mbits/sec 0 687 KBytes |
| 301 | [ 4] 5.00-6.00 sec 5.65 MBytes 47.4 Mbits/sec 0 648 KBytes |
| 302 | [ 4] 6.00-7.00 sec 6.15 MBytes 51.6 Mbits/sec 0 679 KBytes |
| 303 | [ 4] 7.00-8.00 sec 6.09 MBytes 51.1 Mbits/sec 0 707 KBytes |
| 304 | [ 4] 8.00-9.00 sec 6.03 MBytes 50.6 Mbits/sec 0 1.02 MBytes |
| 305 | [ 4] 9.00-10.00 sec 6.34 MBytes 53.2 Mbits/sec 0 950 KBytes |
| 306 | - - - - - - - - - - - - - - - - - - - - - - - - - |
| 307 | [ ID] Interval Transfer Bandwidth Retr |
| 308 | [ 4] 0.00-10.00 sec 61.3 MBytes 51.4 Mbits/sec 0 sender |
| 309 | [ 4] 0.00-10.00 sec 57.8 MBytes 48.5 Mbits/sec receiver |
| 310 | |
| 311 | iperf Done. |
| 312 | }}} |
| 313 | |
| 314 | [[CollapsibleEnd]] |
| 315 | |