Changes between Version 46 and Version 47 of Tutorials/4G5G/amarisoft


Ignore:
Timestamp:
Nov 6, 2024, 5:34:08 PM (5 months ago)
Author:
prasanthi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/4G5G/amarisoft

    v46 v47  
    236236{{{#!shell
    237237root@srv2-lg1:~# ip netns list
    238 ue2 (id: 2)
    239 ue3 (id: 1)
    240 ue1 (id: 0)
     238ue3 (id: 2)
     239ue1 (id: 1)
     240ue2 (id: 0)
    241241root@srv2-lg1:~# ip netns exec ue1 ip addr
    2422421: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
     
    246246    inet6 ::1/128 scope host
    247247       valid_lft forever preferred_lft forever
    248 7: pdn0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
     24810: pdn0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
    249249    link/none
    250     inet 192.168.2.2/24 scope global pdn0
     250    inet 192.168.2.6/24 scope global pdn0
    251251       valid_lft forever preferred_lft forever
    252252root@srv2-lg1:~# ip netns exec ue1 ping 192.168.2.1
    253253PING 192.168.2.1 (192.168.2.1) 56(84) bytes of data.
    254 64 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=98.1 ms
    255 64 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=38.9 ms
    256 64 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=37.2 ms
    257 64 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=36.0 ms
    258 64 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=35.8 ms
    259 64 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=34.0 ms
    260 64 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=33.3 ms
    261 64 bytes from 192.168.2.1: icmp_seq=8 ttl=64 time=39.7 ms
    262 64 bytes from 192.168.2.1: icmp_seq=9 ttl=64 time=31.0 ms
    263 64 bytes from 192.168.2.1: icmp_seq=10 ttl=64 time=30.7 ms
    264 64 bytes from 192.168.2.1: icmp_seq=11 ttl=64 time=29.2 ms
    265 64 bytes from 192.168.2.1: icmp_seq=12 ttl=64 time=28.0 ms
    266 64 bytes from 192.168.2.1: icmp_seq=13 ttl=64 time=27.0 ms
    267 64 bytes from 192.168.2.1: icmp_seq=14 ttl=64 time=26.0 ms
    268 64 bytes from 192.168.2.1: icmp_seq=15 ttl=64 time=24.0 ms
    269 64 bytes from 192.168.2.1: icmp_seq=16 ttl=64 time=23.0 ms
    270 64 bytes from 192.168.2.1: icmp_seq=17 ttl=64 time=21.9 ms
    271 64 bytes from 192.168.2.1: icmp_seq=18 ttl=64 time=38.0 ms
    272 64 bytes from 192.168.2.1: icmp_seq=19 ttl=64 time=37.0 ms
    273 64 bytes from 192.168.2.1: icmp_seq=20 ttl=64 time=35.0 ms
     25464 bytes from 192.168.2.1: icmp_seq=1 ttl=64 time=90.1 ms
     25564 bytes from 192.168.2.1: icmp_seq=2 ttl=64 time=28.9 ms
     25664 bytes from 192.168.2.1: icmp_seq=3 ttl=64 time=56.8 ms
     25764 bytes from 192.168.2.1: icmp_seq=4 ttl=64 time=33.9 ms
     25864 bytes from 192.168.2.1: icmp_seq=5 ttl=64 time=23.9 ms
     25964 bytes from 192.168.2.1: icmp_seq=6 ttl=64 time=21.9 ms
     26064 bytes from 192.168.2.1: icmp_seq=7 ttl=64 time=19.9 ms
     26164 bytes from 192.168.2.1: icmp_seq=8 ttl=64 time=18.7 ms
     26264 bytes from 192.168.2.1: icmp_seq=9 ttl=64 time=18.0 ms
    274263^C
    275264--- 192.168.2.1 ping statistics ---
    276 20 packets transmitted, 20 received, 0% packet loss, time 19022ms
    277 rtt min/avg/max/mdev = 21.928/35.170/98.079/15.396 ms
    278 root@srv2-lg1:~#
     2659 packets transmitted, 9 received, 0% packet loss, time 8013ms
     266rtt min/avg/max/mdev = 17.963/34.683/90.140/22.691 ms
    279267
    280268}}}
    281269* Iperf server on the UE
    282270{{{#!shell
    283 root@srv2-lg1:~# ip netns exec ue1 iperf3 -s -B 192.168.2.2
     271root@srv2-lg1:~# ip netns exec ue1 iperf3 -s -B 192.168.2.6
    284272-----------------------------------------------------------
    285273Server listening on 5201
     
    289277* Iperf client on the base station
    290278{{{#!shell
    291 root@srv1-lg1:~# iperf3 -c 192.168.2.2 -b 0 -i 1
    292 Connecting to host 192.168.2.2, port 5201
    293 [  5] local 192.168.2.1 port 40848 connected to 192.168.2.2 port 5201
     279root@srv1-lg1:~# iperf3 -c 192.168.2.6 -b 0 -i 1 -t 100
     280Connecting to host 192.168.2.6, port 5201
     281[  5] local 192.168.2.1 port 57230 connected to 192.168.2.6 port 5201
    294282[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    295 [  5]   0.00-1.00   sec  6.92 MBytes  58.1 Mbits/sec    0    348 KBytes
    296 [  5]   1.00-2.00   sec  13.5 MBytes   113 Mbits/sec    0    977 KBytes
    297 [  5]   2.00-3.00   sec  13.8 MBytes   115 Mbits/sec    0   1.63 MBytes
    298 [  5]   3.00-4.00   sec  12.5 MBytes   105 Mbits/sec    0   2.30 MBytes
    299 [  5]   4.00-5.00   sec  13.8 MBytes   115 Mbits/sec    0   2.92 MBytes
    300 [  5]   5.00-6.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
    301 [  5]   6.00-7.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
    302 [  5]   7.00-8.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
    303 [  5]   8.00-9.00   sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
    304 [  5]   9.00-10.00  sec  13.8 MBytes   115 Mbits/sec    0   3.15 MBytes
     283[  5]   0.00-1.00   sec  4.04 MBytes  33.9 Mbits/sec    0    348 KBytes
     284[  5]   1.00-2.00   sec  3.42 MBytes  28.7 Mbits/sec    0    574 KBytes
     285[  5]   2.00-3.00   sec  3.75 MBytes  31.5 Mbits/sec    0    721 KBytes
     286[  5]   3.00-4.00   sec  3.75 MBytes  31.5 Mbits/sec    0    724 KBytes
     287[  5]   4.00-5.00   sec  5.00 MBytes  41.9 Mbits/sec    0    798 KBytes
     288[  5]   5.00-6.00   sec  5.00 MBytes  41.9 Mbits/sec    0    950 KBytes
     289[  5]   6.00-7.00   sec  5.00 MBytes  41.9 Mbits/sec    0    987 KBytes
     290[  5]   7.00-8.00   sec  5.00 MBytes  42.0 Mbits/sec    0   1.07 MBytes
     291[  5]   8.00-9.00   sec  6.25 MBytes  52.4 Mbits/sec    0    990 KBytes
     292[  5]   9.00-10.00  sec  3.75 MBytes  31.4 Mbits/sec    0    996 KBytes
     293[  5]  10.00-11.00  sec  6.25 MBytes  52.4 Mbits/sec    0   1.02 MBytes
     294[  5]  11.00-12.00  sec  2.50 MBytes  21.0 Mbits/sec    0   1.01 MBytes
     295[  5]  12.00-13.00  sec  3.75 MBytes  31.5 Mbits/sec    0    823 KBytes
     296[  5]  13.00-14.00  sec  5.00 MBytes  41.9 Mbits/sec    0    940 KBytes
     297[  5]  14.00-15.00  sec  6.25 MBytes  52.4 Mbits/sec    0   1.01 MBytes
     298[  5]  15.00-16.00  sec  5.00 MBytes  41.9 Mbits/sec    0    959 KBytes
     299^C[  5]  16.00-16.91  sec  5.00 MBytes  46.3 Mbits/sec    0    857 KBytes
    305300- - - - - - - - - - - - - - - - - - - - - - - - -
    306301[ ID] Interval           Transfer     Bitrate         Retr
    307 [  5]   0.00-10.00  sec   129 MBytes   108 Mbits/sec    0             sender
    308 [  5]   0.00-10.21  sec   129 MBytes   106 Mbits/sec                  receiver
    309 
    310 iperf Done.
     302[  5]   0.00-16.91  sec  78.7 MBytes  39.1 Mbits/sec    0             sender
     303[  5]   0.00-16.91  sec  0.00 Bytes  0.00 bits/sec                  receiver
     304iperf3: interrupt - the client has terminated
     305root@srv1-lg1:~#
    311306}}}
    312307