|
Bugzilla – Full Text Bug Listing |
| Summary: | user doc uses nonexistent GetEpcIpv4NetworkAddress method of PointToPointEpcHelper | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Manuel Requena <manuel.requena> |
| Component: | lte | Assignee: | Manuel Requena <manuel.requena> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | ns-bugs, tomh, www.ppc007logs |
| Priority: | P3 | ||
| Version: | ns-3-dev | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Manuel Requena
2018-10-18 13:21:09 UTC
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? |