Subject: Rare project developers
List archive
- From: mc36 <>
- To: , , "" <>
- Subject: [rare-dev] about the 5g things...
- Date: Fri, 27 Jan 2023 12:21:54 +0100
hi,
so as stated during the vc, things are started but later abandoned...
i've following briefly the standards and when 5g came out it was a big win
that they kept the gtp-u to create the overlay...
what we have now is a full dataplane support (tofnio, dpdk, software mode)
for 3g, 4g, 5g, which are fully tested and interworks,
and a 3g control plane what needs to bumped to accept 4g and 5g tlvs and act
upon them properly...
https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/clnt/clntGtp.java
is emulating an sgsn to have clients...
https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/serv/servGtp.java
is the ggsn part who handles them...
https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/pack/packGtp.java
is what needs to be bumped with the new tlvs...
https://github.com/rare-freertr/freeRtr/blob/master/src/net/freertr/serv/servP4langConn.java#L2780
is where the tunnels are exported, good as is...
https://github.com/rare-freertr/freeRtr/blob/master/misc/p4bf/include/eg_ctl_nexthop.p4#L345
is where the encap to tower happens in tofino, good as is...
https://github.com/rare-freertr/freeRtr/blob/master/misc/native/p4emu_fwd.h#L394
the same but with dpdk, libpcap, udptap dataplanes...
we have several test cases covering all these one by one:
mc36@noti:~$ curl http://src.mchome.nop.hu/src/rtr.html| grep gtp
<tr><td><a
href="http://sources.freertr.org/cfg/conn-gtp01.tst">conn-gtp01.tst</a></td><td>success</td><td>ppp over
gtp</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/conn-gtp02.tst">conn-gtp02.tst</a></td><td>success</td><td>ipv4
over gtp</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/conn-gtp03.tst">conn-gtp03.tst</a></td><td>success</td><td>ipv6
over gtp</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/conn-gtp04.tst">conn-gtp04.tst</a></td><td>success</td><td>ipv4 and
ipv6 over gtp</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/conn-gtp05.tst">conn-gtp05.tst</a></td><td>success</td><td>gtp
tunnel</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-acl81.tst">p4lang-acl81.tst</a></td><td>success</td><td>p4lang:
ingress gtp access list</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-acl82.tst">p4lang-acl82.tst</a></td><td>success</td><td>p4lang:
egress gtp access list</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-rout186.tst">p4lang-rout186.tst</a></td><td>success</td><td>p4lang:
gtp server over ipv4</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-rout187.tst">p4lang-rout187.tst</a></td><td>success</td><td>p4lang:
gtp server over ipv6</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-rout188.tst">p4lang-rout188.tst</a></td><td>success</td><td>p4lang:
gtp server over ipv4 loopback</td></tr>
<tr><td><a
href="http://sources.freertr.org/cfg/p4lang-rout189.tst">p4lang-rout189.tst</a></td><td>success</td><td>p4lang:
gtp server over ipv6 loopback</td></tr>
mc36@noti:~$
as frederic mentioned, you can run these on your notebook easily:
wget freertr.org/rtr.zip
unzip rtr.zip
cd src
./c.sh
./tw.sh conn-gtp01
then you can access your routers by
telnet localhost 20001
telnet localhost 20002
br,
cs
- [rare-dev] about the 5g things..., mc36, 01/27/2023
- Re: [rare-dev] about the 5g things..., mc36, 01/27/2023
Archive powered by MHonArc 2.6.19.