Hi Konstantinos,
The problem is happening, because data packet is addressed to 7:0:0:100 (IP address obtained from NAT on UE node). But EPC can not find any matching UE for this IP address. Hence the function SendToS1uSocket can not be executed. Hence data can not be sent to its respective eNB and then to UE and then to N1 node.
Let me know if there is any way to route a packet inside EPC, but with an IP address of any UE present inside.
Please refer the screenshot.
I am using below routing from N1 to RH
Ipv4StaticRoutingHelper ipv4RoutingHelper;
Ptr<Ipv4StaticRouting> sensor0StaticRouting = ipv4RoutingHelper.GetStaticRouting (sensorNodeContainer.Get (0)->GetObject<Ipv4> ());
sensor0StaticRouting->AddNetworkRouteTo (Ipv4Address ("1.0.0.0"), Ipv4Mask ("255.0.0.0"), csmaIpv4InterfaceContainer.GetAddress (0), 1);
Is there any way where I can use the reverse, like below (which does not do any data packet transmission so far. I just want to try this possibility as well)
Ipv4StaticRoutingHelper ipv4RoutingHelper;
Ptr<Ipv4StaticRouting> remoteHostStaticRouting = ipv4RoutingHelper.GetStaticRouting (remoteHost->GetObject<Ipv4> ());
remoteHostStaticRouting->AddNetworkRouteTo (Ipv4Address ("20.0.0.0"), Ipv4Mask ("255.0.0.0"),internetIpIfaces.GetAddress (0), 1);
I tried with all the possble hop, but nothing helped me.
Hoping for some kind of good news.
Cheers,
G4L