Hello Tim et al,
I am still trying to implement the emulated 5g network using a tap bridge (just one for now).
However, I am stuck on what I believe to be a routing issue.

I am able to ping the ueNode0 from my local system (ping -I mytap 10.1.1.2).
I am also able to send pings withing the emulation (from ue0 to ue1, from remoteHost to ue0, etc.)
I am just not able to ping from my local system to ueNode1, remoteHost. I cannot ping anything past the other end of the csma link.
Below is my routing configuration:
GhostNode0
Interfaces:
0: 127.0.0.1 (Loopback)
1: 10.1.1.1
Routes:
127.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 0)
10.1.1.0 (255.255.255.0) --> 0.0.0.0 (interface 1)
UeNode0
Interfaces:
0: 127.0.0.1 (Loopback)
1: 7.0.0.2
2: 10.1.1.2
Routes:
127.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 0)
7.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 1)
0.0.0.0 (0.0.0.0) --> 7.0.0.1 (interface 1)
10.1.1.0 (255.255.255.0) --> 0.0.0.0 (interface 2)
UeNode1
Interfaces:
0: 127.0.0.1 (Loopback)
1: 7.0.0.3
Routes:
127.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 0)
7.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 1)
0.0.0.0 (0.0.0.0) --> 7.0.0.1 (interface 1)
10.1.1.1 (255.255.255.255) --> 7.0.0.2 (interface 1)
RemoteHost
Interfaces:
0: 127.0.0.1 (Loopback)
1: 1.0.0.2
Routes:
127.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 0)
1.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 1)
7.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 1)
10.1.1.1 (255.255.255.255) --> 7.0.0.2 (interface 1)
EnbNode0
Interfaces:
0: 127.0.0.1 (Loopback)
1: 10.0.0.5
Routes:
127.0.0.0 (255.0.0.0) --> 0.0.0.0 (interface 0)
10.0.0.4 (255.255.255.252) --> 0.0.0.0 (interface 1)
I add the following routes on my local system after starting the emulation:
sudo ip route add 7.0.0.0/24 via 10.1.1.2 dev mytap sudo ip route add 1.0.0.0/24 via 10.1.1.2 dev mytap
I have attached my code if anybody wants to have a look. It should be placed in the scratch folder and can be started with the following command:
NS_LOG="5gEmu=level_all|prefix_level" ./ns3 run scratch/new
I am thankful for any help or hints, since I have been stuck at this point for a while now.
Kind regards,
Bruno