Bugzilla – Bug 2999
user doc uses nonexistent GetEpcIpv4NetworkAddress method of PointToPointEpcHelper
Last modified: 2018-10-19 10:45:09 EDT
Parth Pratim reports in the ns-developers list an issue with the lte documentation. https://mailman.isi.edu/pipermail/ns-developers/2018-October/014574.html
Can GetUeDefaultGatewayAddress () function be used instead to add a network route from the remote host to the PGW ? Something Like: remoteHostStaticRouting->AddNetworkRouteTo (epcHelper->GetUeDefaultGatewayAddress (), Ipv4Mask ("255.255.0.0"), 1);
Currently, we set this route in the remote host using a hardcoded network. See lena-simple-epc.cc: remoteHostStaticRouting->AddNetworkRouteTo (Ipv4Address ("7.0.0.0"), Ipv4Mask ("255.0.0.0"), 1); This network is set in the constructor of the PointToPointEpcHelper. The PGW gets one IP address from this network in the PointToPointEpcHelper and the UEs get one IP address from this network in the simulation program with: ueIpIface = epcHelper->AssignUeIpv4Address (NetDeviceContainer (ueLteDevs));
Okay, that looks good. So this means in the current implementation we would have to define it explicitly just as it is done in lena-simple-epc.cc?