This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/nextepc@lists.osmocom.org/.
[석찬] acetcom at gmail.comHi, Suman.
Let me try to explain how UE IP is configured in general.
o Read configuration.
- ./support/config/nextepc.conf.in:339
ue_pool:
- addr: 45.45.0.1/16
- addr: cafe::1/64
- src/pgw/pgw_context.c:739
subnet = pgw_subnet_add(ipstr, mask_or_numbits, apn, dev);
o Generate UE Pool
- src/pgw/pgw_init.c:32
rv = pgw_ue_pool_generate();
o If UE try to attach, new IP is allocated from the UE POOL.
- src/pgw/pgw_context.c:923
pgw_sess_t *pgw_sess_add(....)
{
...
}
- src/pgw/pgw_context.c:960
sess->ipv4 = pgw_ue_ip_alloc(AF_INET, apn);
And then, the UE IP is delivered to SGW/MME using GTPv2-C.
Finally, MME is sending the UE IP through NAS message(Activate default EPS
bearer context request.)
Let me know if you have more information.
Thanks!
2019년 3월 23일 (토) 오전 8:41, Suman Bhunia <sbhunia at tamu.edu>님이 작성:
> Hello!
>
> We just started using NextEPC at our lab and came across a few problems. I
> was wondering if anyone could provide me some guideline on how the EPC
> assigned IP address to the UEs. Any document or even pointing me to the
> correct section of code in the GitHub will be helpful.
>
> Thank you for your kind help.
>
> Thanks,
> Suman Bhunia
> Postdoctoral scholar
> Texas A&M University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/nextepc/attachments/20190323/cbdf3f2f/attachment.htm>