Bug 2999 - user doc uses nonexistent GetEpcIpv4NetworkAddress method of PointToPointEpcHelper
user doc uses nonexistent GetEpcIpv4NetworkAddress method of PointToPointEpcH...
Product: ns-3
Classification: Unclassified
Component: lte
All All
: P3 normal
Assigned To: Manuel Requena
Depends on:
  Show dependency treegraph
Reported: 2018-10-18 13:21 EDT by Manuel Requena
Modified: 2018-10-19 10:45 EDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Requena 2018-10-18 13:21:09 EDT
Parth Pratim reports in the ns-developers list an issue with the lte documentation.
Comment 1 Parth Pratim Chatterjee 2018-10-19 02:50:51 EDT
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 (""), 1);
Comment 2 Manuel Requena 2018-10-19 10:34:14 EDT
Currently, we set this route in the remote host using a hardcoded network.
See lena-simple-epc.cc: 

remoteHostStaticRouting->AddNetworkRouteTo (Ipv4Address (""), Ipv4Mask (""), 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));
Comment 3 Parth Pratim Chatterjee 2018-10-19 10:45:09 EDT
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?