routing over a LTE network

228 views
Skip to first unread message

ytxi...@gmail.com

unread,
Jun 21, 2021, 4:13:14 AM6/21/21
to ns-3-users
Hi all, 
I am trying to extend an LTE network, which has 1 ue, 1 enb and 1 pgw as follows:
 (LTE subnet):           7.0.0.2                    7.0.0.1
ghostLeft ----------------  UE ------- eNB ------ PGW ==== remotehost ----- ghostRight
192.168.0.1          192.168.0.2                                     192.168.1.1      192.168.1.2
And by now, my ghostRight node is able to ping the UE (i.e. ping 7.0.0.2), but not the ghsotLeft node (none of ping 192.168.0.1 or ping 192.168.0.2 works).
I am aware that the UE has a default gw to PGW and PGW does not know about the 192.168 network, so I add some routes with  AddNetworkRouteTo function. And the static routing table is as follows (original file attached where node 0 is pgw, 5 for UE and 3 for remote addr)

PGW:
Node: 0, Time: +0.5s, Local time: +0.5s, Ipv4StaticRouting table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
       127.0.0.0         0.0.0.0       255.0.0.0     U      0-      -   0
         7.0.0.0         0.0.0.0       255.0.0.0     U      0-      -   1
        14.0.0.4         0.0.0.0 255.255.255.252     U      0-      -   2
         1.0.0.0         0.0.0.0       255.0.0.0     U      0-      -   3
     192.168.1.0         1.0.0.2   255.255.255.0   UGS      0-      -   3
     192.168.0.0         7.0.0.2   255.255.255.0   UGS      0-      -   1

And my goal is to let the two ghost nodes communicate with each other, does anyone have any idea?

Nice day : )

ytxi...@gmail.com

unread,
Jun 21, 2021, 4:30:20 AM6/21/21
to ns-3-users
attached files

testlte.cc

ytxi...@gmail.com

unread,
Jun 21, 2021, 4:31:18 AM6/21/21
to ns-3-users
testlte-routes.txt
Reply all
Reply to author
Forward
0 new messages