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.
Can GetUeDefaultGatewayAddress () function be used instead to add a network route from the remote host to the PGW ?
remoteHostStaticRouting->AddNetworkRouteTo (epcHelper->GetUeDefaultGatewayAddress (), Ipv4Mask ("255.255.0.0"), 1);
Currently, we set this route in the remote host using a hardcoded network.
remoteHostStaticRouting->AddNetworkRouteTo (Ipv4Address ("126.96.36.199"), 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?